Sunday, June 5, 2016

Upgrade to XenServer 7 [feedly]



----
Upgrade to XenServer 7
// Xen Orchestra

Now XenServer 7 is here, you'll probably wonder how to upgrade your existing hosts.

That's a big release, so upgrading will be a bit more complicated than from 6.2 to 6.5, due to the new partition scheme.

Before upgrading

Download

You can find XenServer 7 ISO here: http://downloadns.citrix.com.edgesuite.net/10175/XenServer-7.0.0-xenserver.org-install-cd.iso

Install XenServer 7 from an USB drive

Despite you can burn a CD with the ISO, using an USB drive is far easier. On a Linux distro, it's one command:

dd if=XenServer-7.0.0-main.iso of=/dev/sdX

On Windows, you can use any USB drive creator program.

Upgrade order

Always upgrade your pool master first, and then other hosts.

You can live migrate VMs from older versions of XenServer to newer host. But the opposite is not possible.

Migration without downtime

  1. Live migrate your VMs from the pool master to other hosts
  2. Upgrade your pool master
  3. Live migrate VMs from a another host to your pool master
  4. Upgrade this host
  5. Repeat until everything is updated!

New partition scheme

XenServer 7 has a new (better) partition scheme:

  • / (root) 18GB
  • /boot/efi 512M
  • /var/log 4GB
  • Swap 1GB

Against the 4GB of XenServer 6, for everything. This time, if your logs grows, it won't affect your system.

So what about your current partition scheme on XenServer 6 during the upgrade?

2 possibilities:

  • you can keep the old partitions
  • or you can "upgrade" it to the new scheme

I strongly recommend to upgrade with the new partition scheme. The condition needed to do that is to have your local SR (created during the install of previous XS version) to be empty. This way, the XenServer 7 install could use this space for re-partinioning the whole drive in a proper way.

You can live migrate your VDIs from this local SR to another one. If you don't have any other SR available, a solution would be to migrate VMs to another host before upgrading. In last resort, you could export your VM to re-import it later.


----

Shared via my feedly newsfeed


Sent from my iPhone