How to upgrade XenServer 6.5 to 7.0 using Rolling Pool Upgrade

How to upgrade XenServer

Table of Contents

Reading Time: 5 minutes

A while ago I did an XenServer 6.5 Upgrade to 7.0. Check it out here. I thought now let’s create a Citrix XenServer 6.5 pool, and do the automated upgrade using Rolling Pool Upgrade in Citrix XenCenter.

What’s new in Citrix XenServer 7.0:

  • Intel Iris Pro Graphics GPU support
  • NVIDIA GRID vGPU support for Linux Applications
  • Up to 128 vm’s per host with the NVIDIA vGPU M6/M60 graphics card
  • Windows Update integration for XenTools

These are a few things I like. There are far more new features, take a look at the Citrix XenServer site here.

Requirements for the upgrade:

  • Citrix XenServer 6.5 with SP1 and all the latest hotfixes
  • Citrix XenServer 7.0 ISO (www.citrix.com)
  • FTP Server with extracted Citrix XenServer 7 ISO
  • Citrix XenCenter 7.0

My homelab setup

Since I don’t have additional hardware to run XenServer, I installed it as a virtual machine on Hyper-V 2012 R2. This is fine for testing purposes. Just make sure you create the virtual machine als a Generation 1 vm and add the Legacy Network Adapter.

Caution

During the upgrade process you will have the choice to upgrade the partition scheme of the Local Storage Repository (Local SR). The new partition scheme in Citrix XenServer 7.0 is beter for especially log files. But altering the partitions means that you have to move all the virtual machines to a safe place. The upgrade process will delete everything on the Local SR when re-partitioning during the upgrade process!

So let’s start.

Prepare the Local SR for re-partitioning

Before we start the upgrade using the Rolling Pool Upgrade method in XenCenter, we have tell the upgrade process that it is safe to re-partition the Local SR. This has to be done from the command line. I have tried to upgrade without entering this command, and sometimes re-partitioning failed on one of my XenServer hosts. This behaviour was random.

So just to make sure everything goes smooth, enter the following command in the the console of every XenServer host:

touch /var/preserve/safe2upgrade

rolling_pool_upg_6-5_to_7_002

Let’s start.

Upgrade XenServer

Make sure you have patched your XenServer 6.5 hosts completely.

rolling_pool_upg_6-5_to_7_003

Check that the hosts in your XenServer pool are version 6.5.

rolling_pool_upg_6-5_to_7_004

Go to Tools and select Rolling Pool Upgrade.

rolling_pool_upg_6-5_to_7_005

Click on Next.

rolling_pool_upg_6-5_to_7_006

Select the pool. You can click on the plus (+) sign to see all the hosts in the pool and the version number of XenServer. Click on Next.

rolling_pool_upg_6-5_to_7_007

Now I want XenCenter to do all the heavy lifting so I choose Automatic Mode. If you go for the manual mode you will have to mount the Citrix XenServer 7.0 ISO manually and do the upgrade steps by hand in the upgrade console. Click on Run Prechecks.

rolling_pool_upg_6-5_to_7_008

When starting the upgrade, I made sure that my XenServer 6.5. hosts were fully patched and updated. But as you can see above I was still missing a critical hotfix according to the upgrade wizard. Click on Apply hotfix for all the hosts listed in your pool.

rolling_pool_upg_6-5_to_7_009

After the missing hotfix is applied to all the XenServer hosts in the pool, the precheck will run again. We should be good to go now. Click on Next.

rolling_pool_upg_6-5_to_7_010

The wizard will prompt you to enter the path for the installation files for XenServer 7.0. I downloaded the ISO and extracted it beforehand and made it available to XenCenter using FTP. Make sure you click in Test after entering the information for your setup. If everything is ok you should see the green checkmark next to the Test button. Click on Start Upgrade.

rolling_pool_upg_6-5_to_7_011

Now it is time to sit back and relax. It can take a while for all the hosts to upgrade and reboot. The wizard will start with the pool master. Just keep an eye on the Overal progress.

rolling_pool_upg_6-5_to_7_012

After the pool master is finished, it continues to the next host in the pool.

rolling_pool_upg_6-5_to_7_013

When all is done, click on Finish.

rolling_pool_upg_6-5_to_7_014

Check in XenCenter that everything is ok and the XenServer version is 7.0. Now that the upgrade is done, let’s do some updating. Always good to have that covered.

Update Citrix XenServer 7.0 using XenCenter

rolling_pool_upg_6-5_to_7_016

After the actual upgrade to XenServer 7.0, XenCenter will display one update. Select Download and install from the drop-down menu.

rolling_pool_upg_6-5_to_7_017

Select your XenServer pool. Click on Next.

rolling_pool_upg_6-5_to_7_018

It will show you when the update is uploaded to all the XenServer hosts. Click on Next.

rolling_pool_upg_6-5_to_7_019

Click on Next to start updating.

rolling_pool_upg_6-5_to_7_020

Leave here at default. Again, let’s let XenCenter do the heavy lifting. Click on Install update.

rolling_pool_upg_6-5_to_7_021

After XenCenter has updated all the hosts, click on Finish.

rolling_pool_upg_6-5_to_7_022

Now there will be more updates for Citrix XenServer 7.0. This is normal. Just apply them using the same method I just described.

So that’s it.

This concludes this tutorial. Feel free to contact me of you have any questions or comments. You can also follow me on twitter or add the rss feed from the blog and you will be notified when I add new posts.

(Visited 6,676 times, 1 visits today)

About Vikash Jhagroe

Equipped with more than 15 years of experience working on applications and systems, Vikash is a master at connecting businesses with the tech that is right for them. He is passionate about computers and computer systems, and he is committed to serving his clients well. He is a tech-wizard.

View all posts by Vikash Jhagroe

4 Comments on “How to upgrade XenServer 6.5 to 7.0 using Rolling Pool Upgrade”

    1. Hi Hafiz. The vm’s running on the host you are upgrading will be moved to other XenServer hosts in the same pool. If you don’t have spare hosts running in the pool then you should manually shutdown all the vm’s running before starting the host upgrade. Good luck!

  1. Hi Vikas,
    could you please help me to how upgrade site from 7.15 cu1 to 7.15 cu5 . in my environment having sql always on cluseter , 3 ddc ,3pvs server, 3 storefront in group ,35 vda server ,1 license server 11.14. any dcoument if you have please share with me. or guide .

    1. Hi,
      According to what you write you have all the major components redundant :). That is a very good thing. I would say just start with updating your license server and from there on move to the several Citrix components. Do your SQL cluster when all the Citrix components are updated. Good luck!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.