Re: [PVE-User] Upgrade 3.2 to 3.3
I think is pretty smoothly... Just maka a backup to externa HD, make new installation and make a restore! Just like that! 2014-09-15 10:51 GMT-03:00 Joerg Hanebuth jo...@im-www.biz: Hello all, some hints howto upgrade a productive system without installing new? Found Upgrade from 2.3 to 3.0 in wiki but I guess the required script won't work. Gruesse / Regards Joerg Hanebuth -- IT-Services - Hamburg e.K. Heinsonweg 59b, 22359, Hamburg Tel. +494079100220 FAX. +494079100223 jo...@im-www.biz http://www.im-www.biz Sitz / Amtsgericht: Hamburg HRA 112575 Inhaber: Joerg Hanebuth Diese E-mail enthält VERTRAULICHE UND PERSÖNLICHE INFORMATIONEN und/oder PRIVILEGIERTE UND VERTRAULICHE MITTEILUNGEN, die ausschließlich für die angesprochenen Empfänger bestimmt sind. Ohne ausdrückliche schriftliche Zustimmung des Absenders dürfen diese Informationen und Mitteilungen nicht an irgendeinen Dritten außerhalb der Organisation des Empfängers weitergeleitet oder zur Kenntnis gebracht werden. Wenn Sie diese E-mail versehentlich empfangen haben, teilen Sie dies bitte dem Absender umgehend telefonisch oder durch Rücksendung dieser E-mail mit, und zerstören Sie die Mail sowie Ihre evtl. Rückmail bitte anschließend, ohne eine Kopie zu erstellen. IT-Services Hamburg e.K. übernimmt keinerlei Verantwortung für mögliche Verluste oder Beschädigungen, resultierend aus virus-infizierten E-mails bzw. Viren in Anhängen. This e-mail may contain CONFIDENTIAL AND PROPRIETARY INFORMATION and/or PRIVILEGED AND CONFIDENTIAL COMMUNICATION intended solely for the recipient and, therefore, may not be retransmitted to any party outside of the recipient's organization without the prior written consent of the sender. If you have received this e-mail in error please notify the sender immediately by telephone or reply e-mail and destroy the original message without making a copy. IT-Services Hamburg e.K. accepts no liability for any losses or damages resulting from infected e-mail transmissions and viruses in e-mail attachment. ___ pve-user mailing list pve-user@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user -- Obrigado Cordialmente Gilberto Ferreira Konnecta TI Tecnologia - Sistemas de Virtualização, Soluções de Armazenamento de Dados, Criação de SAN/NAS, Zimbra Mail Server, Implantação de Linux e Windows server. Fundação Softville Rua Otto Boehm, 48 (47) 9676-7530 Skype: gilberto.nunes36 www.konnectati.com.br blog.konnectati.com.br ___ pve-user mailing list pve-user@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
Re: [PVE-User] Upgrade 3.2 to 3.3
Don't know how many systems you have and how big ur systems are, but I got a hand full of running proxmox-systems to upgrade. Most of them are stand-alone, all are productive systems. Hours of downtime and backing up tb's of data is not possible for my customers and me! Gruesse / Regards Joerg Hanebuth -- IT-Services - Hamburg e.K. Heinsonweg 59b, 22359, Hamburg Tel. +494079100220 FAX. +494079100223 jo...@im-www.bizmailto:jo...@im-www.biz http://www.im-www.biz Sitz / Amtsgericht: Hamburg HRA 112575 Inhaber: Joerg Hanebuth Von: Gilberto Nunes [mailto:gilberto.nune...@gmail.com] Gesendet: Montag, 15. September 2014 15:54 An: Joerg Hanebuth Cc: pve-user@pve.proxmox.com Betreff: Re: [PVE-User] Upgrade 3.2 to 3.3 I think is pretty smoothly... Just maka a backup to externa HD, make new installation and make a restore! Just like that! 2014-09-15 10:51 GMT-03:00 Joerg Hanebuth jo...@im-www.bizmailto:jo...@im-www.biz: Hello all, some hints howto upgrade a productive system without installing new? Found Upgrade from 2.3 to 3.0 in wiki but I guess the required script won't work. Gruesse / Regards Joerg Hanebuth -- IT-Services - Hamburg e.K. Heinsonweg 59b, 22359, Hamburg Tel. +494079100220tel:%2B494079100220 FAX. +494079100223tel:%2B494079100223 jo...@im-www.bizmailto:jo...@im-www.biz http://www.im-www.biz Sitz / Amtsgericht: Hamburg HRA 112575 Inhaber: Joerg Hanebuth Diese E-mail enthält VERTRAULICHE UND PERSÖNLICHE INFORMATIONEN und/oder PRIVILEGIERTE UND VERTRAULICHE MITTEILUNGEN, die ausschließlich für die angesprochenen Empfänger bestimmt sind. Ohne ausdrückliche schriftliche Zustimmung des Absenders dürfen diese Informationen und Mitteilungen nicht an irgendeinen Dritten außerhalb der Organisation des Empfängers weitergeleitet oder zur Kenntnis gebracht werden. Wenn Sie diese E-mail versehentlich empfangen haben, teilen Sie dies bitte dem Absender umgehend telefonisch oder durch Rücksendung dieser E-mail mit, und zerstören Sie die Mail sowie Ihre evtl. Rückmail bitte anschließend, ohne eine Kopie zu erstellen. IT-Services Hamburg e.K. übernimmt keinerlei Verantwortung für mögliche Verluste oder Beschädigungen, resultierend aus virus-infizierten E-mails bzw. Viren in Anhängen. This e-mail may contain CONFIDENTIAL AND PROPRIETARY INFORMATION and/or PRIVILEGED AND CONFIDENTIAL COMMUNICATION intended solely for the recipient and, therefore, may not be retransmitted to any party outside of the recipient's organization without the prior written consent of the sender. If you have received this e-mail in error please notify the sender immediately by telephone or reply e-mail and destroy the original message without making a copy. IT-Services Hamburg e.K. accepts no liability for any losses or damages resulting from infected e-mail transmissions and viruses in e-mail attachment. ___ pve-user mailing list pve-user@pve.proxmox.commailto:pve-user@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user -- Obrigado Cordialmente Gilberto Ferreira [https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcQh4Erzr4UMa0fHj33krlB24nJaqXvjEKtJVBebkpuLPh5HcWigtw] Konnecta TI Tecnologia - Sistemas de Virtualização, Soluções de Armazenamento de Dados, Criação de SAN/NAS, Zimbra Mail Server, Implantação de Linux e Windows server. Fundação Softville Rua Otto Boehm, 48 (47) 9676-7530 Skype: gilberto.nunes36 www.konnectati.com.brhttp://www.konnectati.com.br/ blog.konnectati.com.brhttp://blog.konnectati.com.br/ Diese E-mail enthält VERTRAULICHE UND PERSÖNLICHE INFORMATIONEN und/oder PRIVILEGIERTE UND VERTRAULICHE MITTEILUNGEN, die ausschließlich für die angesprochenen Empfänger bestimmt sind. Ohne ausdrückliche schriftliche Zustimmung des Absenders dürfen diese Informationen und Mitteilungen nicht an irgendeinen Dritten außerhalb der Organisation des Empfängers weitergeleitet oder zur Kenntnis gebracht werden. Wenn Sie diese E-mail versehentlich empfangen haben, teilen Sie dies bitte dem Absender umgehend telefonisch oder durch Rücksendung dieser E-mail mit, und zerstören Sie die Mail sowie Ihre evtl. Rückmail bitte anschließend, ohne eine Kopie zu erstellen. IT-Services Hamburg e.K. übernimmt keinerlei Verantwortung für mögliche Verluste oder Beschädigungen, resultierend aus virus-infizierten E-mails bzw. Viren in Anhängen. This e-mail may contain CONFIDENTIAL AND PROPRIETARY INFORMATION and/or PRIVILEGED AND CONFIDENTIAL COMMUNICATION intended solely for the recipient and, therefore, may not be retransmitted to any party outside of the recipient's organization without the prior written consent of the sender. If you have received this e-mail in error please notify the sender immediately by telephone or reply e-mail and destroy the original message without making a copy
Re: [PVE-User] Upgrade 3.2 to 3.3
Le 15/09/2014 15:51, Joerg Hanebuth a écrit : Hello all, some hints howto upgrade a productive system without installing new? Found Upgrade from 2.3 to 3.0 in wiki but I guess the required script won't work. Stop the VMs, or move them away from the host you want to upgrade, backup the config (/etc as a whole if you don't want to look for specifics), apt-get update apt-get upgrade then reboot, tadaaa Cheers Gilou Gruesse / Regards Joerg Hanebuth -- IT-Services - Hamburg e.K. Heinsonweg 59b, 22359, Hamburg Tel. +494079100220 FAX. +494079100223 jo...@im-www.biz mailto:jo...@im-www.biz http://www.im-www.biz Sitz / Amtsgericht: Hamburg HRA 112575 Inhaber: Joerg Hanebuth Diese E-mail enthält VERTRAULICHE UND PERSÖNLICHE INFORMATIONEN und/oder PRIVILEGIERTE UND VERTRAULICHE MITTEILUNGEN, die ausschließlich für die angesprochenen Empfänger bestimmt sind. Ohne ausdrückliche schriftliche Zustimmung des Absenders dürfen diese Informationen und Mitteilungen nicht an irgendeinen Dritten außerhalb der Organisation des Empfängers weitergeleitet oder zur Kenntnis gebracht werden. Wenn Sie diese E-mail versehentlich empfangen haben, teilen Sie dies bitte dem Absender umgehend telefonisch oder durch Rücksendung dieser E-mail mit, und zerstören Sie die Mail sowie Ihre evtl. Rückmail bitte anschließend, ohne eine Kopie zu erstellen. IT-Services Hamburg e.K. übernimmt keinerlei Verantwortung für mögliche Verluste oder Beschädigungen, resultierend aus virus-infizierten E-mails bzw. Viren in Anhängen. This e-mail may contain CONFIDENTIAL AND PROPRIETARY INFORMATION and/or PRIVILEGED AND CONFIDENTIAL COMMUNICATION intended solely for the recipient and, therefore, may not be retransmitted to any party outside of the recipient's organization without the prior written consent of the sender. If you have received this e-mail in error please notify the sender immediately by telephone or reply e-mail and destroy the original message without making a copy. IT-Services Hamburg e.K. accepts no liability for any losses or damages resulting from infected e-mail transmissions and viruses in e-mail attachment. ___ pve-user mailing list pve-user@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user ___ pve-user mailing list pve-user@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
Re: [PVE-User] Upgrade 3.2 to 3.3
Ty hector, ill give a try tonight ;) posting about the results afterwards! Gruesse / Regards Joerg Hanebuth -- IT-Services - Hamburg e.K. Heinsonweg 59b, 22359, Hamburg Tel. +494079100220 FAX. +494079100223 jo...@im-www.bizmailto:jo...@im-www.biz http://www.im-www.biz Sitz / Amtsgericht: Hamburg HRA 112575 Inhaber: Joerg Hanebuth Von: pve-user [mailto:pve-user-boun...@pve.proxmox.com] Im Auftrag von Hector Suarez Planas Gesendet: Montag, 15. September 2014 16:19 An: Proxmox Users List Betreff: Re: [PVE-User] Upgrade 3.2 to 3.3 Hi, Joerg. I made a litle manual of upgrading Proxmox from instalation CD. Sorry for my bad English. Manual to update Proxmox from the installation CD. 1.- First of all, make sure the dpkg-dev package is installed on the FTP server, if not, install it using the command: # apt-get install dpkg-dev 2.- Install CD in a folder as a loop device: # mount -t loop File Location/proxmox-ve_3.2-5a885216-5.iso /media/cdrom 3.- Create a similar structure of Proxmox repo: # mkdir -p /srv/ftp/linux/distros/proxmox/debian/dists/wheezy/pve-cd/binary-amd64/ 4.- Copy the contents of the proxmox/packages folder into the root of the installation CD to the destination above created: # cp /media/cdrom/proxmox/packages/* /srv/ftp/linux/distros/proxmox/debian/dists/wheezy/pve-cd/binary-amd64/ 5.- Copy the GPG key file on the local Proxmox repo: If you have an Internet connection, the file is downloaded to a local folder # cd /srv/ftp/linux/distros/proxmox/debian # wget -O- http://download.proxmox.com/debian/key.asc; Otherwise, if you do not have an Internet connection, then the key file is copied to a local folder # cp File Location/key.asc /srv/ftp/linux/distros/proxmox/debian/ 6.- Remove the CD: # umount /media/cdrom 7.- Be located in the folder /srv/ftp/linux/distros/proxmox/debian/ : cd /srv/ftp/linux/distros/proxmox/debian/ 8.- Create the list of packages to be readable and downloadable by APT: dpkg-scanpackages dists/wheezy/pve-cd/binary-amd64/ /dev/null | gzip dists/wheezy/pve-cd/binary-amd64/Packages.gz The resulting file, Packages.gz, will finally be inside the folder /srv/ftp/linux/distros/proxmox/debian/dists/wheezy/pve-cd/binary-amd64/ At the end, the local repo remain ready for use. 9.- On Proxmox VE Server, I modify the PVE Enterprise file pve-enterprise.list into the folder /etc/apt/sources.list.d. this is the new content: deb http://FTPhttp://%3cFTP server/linux/distros/proxmox/debian wheezy pve-cd If you want to use the PVE test repo, you can add the following line deb http://FTPhttp://%3cFTP server/linux/distros/proxmox/debian wheezy pvetest I this case, my local repo of PVE Test. NOTE: Well, it worked for me. This work fine for me with this ISO file: proxmox-ve_3.2-5a885216-5.iso. I don't dowload the latest ISO yet. Diese E-mail enth?lt VERTRAULICHE UND PERS?NLICHE INFORMATIONEN und/oder PRIVILEGIERTE UND VERTRAULICHE MITTEILUNGEN, die ausschlie?lich f?r die angesprochenen Empf?nger bestimmt sind. Ohne ausdr?ckliche schriftliche Zustimmung des Absenders d?rfen diese Informationen und Mitteilungen nicht an irgendeinen Dritten au?erhalb der Organisation des Empf?ngers weitergeleitet oder zur Kenntnis gebracht werden. Wenn Sie diese E-mail versehentlich empfangen haben, teilen Sie dies bitte dem Absender umgehend telefonisch oder durch R?cksendung dieser E-mail mit, und zerst?ren Sie die Mail sowie Ihre evtl. R?ckmail bitte anschlie?end, ohne eine Kopie zu erstellen. IT-Services Hamburg e.K. ?bernimmt keinerlei Verantwortung f?r m?gliche Verluste oder Besch?digungen, resultierend aus virus-infizierten E-mails bzw. Viren in Anh?ngen. This e-mail may contain CONFIDENTIAL AND PROPRIETARY INFORMATION and/or PRIVILEGED AND CONFIDENTIAL COMMUNICATION intended solely for the recipient and, therefore, may not be retransmitted to any party outside of the recipient's organization without the prior written consent of the sender. If you have received this e-mail in error please notify the sender immediately by telephone or reply e-mail and destroy the original message without making a copy. IT-Services Hamburg e.K. accepts no liability for any losses or damages resulting from infected e-mail transmissions and viruses in e-mail attachment. ___ pve-user mailing list pve-user@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
Re: [PVE-User] Upgrade 3.2 to 3.3
On Mon, 15 Sep 2014 14:27:22 + Joerg Hanebuth jo...@im-www.biz wrote: Ty hector, ill give a try tonight ;) If you need a quick way to migrate all running VMs and CTs away from a node I have made this little script to do just that. Run without options to see help. # cat maintainance_mode.sh #!/bin/bash if [ -z $1 ] ; then echo usage: $0 target-node [offline] echoMigrate all running CTs and VMs on local node to target node. echoOnline- (Live-)migration is default. echoIn case live migration fails, please try offline mode. exit fi if [ ! -d /etc/pve/nodes/$1 ] ; then echo Target node $1 does not exist! exit 1 fi ping -c 2 -W 2 $1 /dev/null 21 if [ $? != 0 ] ; then echo node $1 is not reachable. exit 1 fi if [ x$2 == xoffline ] ; then OPT= else OPT=-online fi for OVZ in $(pvectl list|grep running|awk '{print $1}'); do echo Migrating OVZ: $OVZ to $1... pvectl migrate $OVZ $1 $OPT echo $OVZ done. done for KVM in $(qm list|grep running|awk '{print $1}'); do echo Migrating KVM: $KVM to $1... qm migrate $KVM $1 $OPT echo $KVM done. done -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael at rasmussen dot cc http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD3C9A00E mir at datanom dot net http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE501F51C mir at miras dot org http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE3E80917 -- /usr/games/fortune -es says: knghtbrd it's too bad most ancient unices are y2k compliant |Rain| too bad? |Rain| why, because people won't upgrade until 2038? pgpY7GcWvuAVZ.pgp Description: OpenPGP digital signature ___ pve-user mailing list pve-user@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user