Citrix Systems 6.1.0 manual Upgrading XenServer Hosts Using the xe CLI

Page 31

7.Once the upgrade begins, the Rolling Pool Upgrade wizard guides you through any actions you need to take to upgrade each host. Follow the instructions until you have upgraded all hosts in the pool(s).

Once the upgrade completes, the wizard prints a summary. Click Finish to close the wizard.

7.1.2. Upgrading XenServer Hosts Using the xe CLI

Important:

Performing a rolling pool upgrade using the xe CLI requires extremely careful planning. Be sure to read the following section with care before you begin.

7.1.2.1. Planning an Upgrade Path

As you plan your upgrade, it is very important to be aware of the following:

You can only migrate VMs from a XenServer host running an older version of XenServer to one running the same version or higher (for example, from version 5.6 to version 5.6 or from version 5.6 to version 6.1.0). You cannot migrate VMs from an upgraded host to one running an older version of XenServer (for example, from version 6.1.0 to version 5.6). Be sure to allow for space on your XenServer hosts accordingly.

Citrix strongly advises against running a mixed-mode pool (one with multiple versions of XenServer co- existing) for longer than necessary, as the pool operates in a degraded state during upgrade.

Key control operations are not available during upgrade and should not be attempted. Though VMs continue to function as normal, VM actions other than migrate may not be available (for example, shut down, copy and export). In particular, it is not safe to perform storage-related operations such as adding, removing or resizing virtual disks.

Always upgrade the master host first. Do not place the host into maintenance mode using XenCenter before performing the upgrade as this will cause a new master to be designated.

Citrix strongly recommends that you take a backup of the state of your existing pool using the pool-dump- database xe CLI command (see the XenServer Administrator's Guide). This allows you to revert a partially complete rolling upgrade back to its original state without losing any VM data. Because it is not possible to migrate a VM from an upgraded XenServer host to a XenServer host running an older version of XenServer, it may be necessary to shut down VMs if you need to revert the rolling upgrade for any reason.

Before you begin your rolling pool upgrade:

If you are using XenCenter, upgrade XenCenter to the latest version. The newer version of XenCenter will correctly control older versions of XenServer hosts.

Empty the CD/DVD drives of the VMs in the pool. For details and instructions, see Section 7.2.1, “Before You Upgrade a Single XenServer Host”.

Disable HA.

Disable WLB.

7.1.2.2. Performing Rolling Pool Upgrades Using the xe CLI

To upgrade a pool of XenServer hosts using the xe CLI:

1.Start with the pool master. Disable the master by using the host-disablecommand. This prevents any new VMs from starting on the specified host.

2.Ensure that no VMs are running on the master. Shut down, suspend or migrate VMs to other hosts in the pool.

To migrate specified VMs to specified hosts, use the vm-migratecommand. By using the vm-migratecommand, you will have full control over the distribution of migrated VMs to other hosts in the pool.

To live migrate all VMs to other hosts in the pool, use the host-evacuatecommand. By using the host- evacuate command, you leave the distribution of migrated VMs to XenServer.

3.Shut down the pool master.

26

Image 31
Contents Citrix XenServer 6.1.0 Installation Guide Trademarks Contents Using Scvmm and Scom with XenServer Boot From SAN Environments About This Document Benefits of Using XenServerAdministering XenServer WelcomeXenServer Editions New Features in XenServerGuest Enhancements XenServer DocumentationReferences System Requirements System RequirementsXenServer Host System Requirements Supported Guest Operating Systems XenCenter System RequirementsInstallation Media and Methods Installing XenServer and XenCenterTo install or upgrade the XenServer host Installing the XenServer HostPage To install XenCenter Installing XenCenterHost Partition Format To connect XenCenter to the XenServer host Connecting XenCenter to the XenServer HostBasic hardware requirements Installation and Deployment ScenariosHigh-level procedure XenServer Hosts with Local StorageXenServer Hosts with Shared NFS Storage Pools of XenServer Hosts with Shared StorageXenServer Hosts with Shared iSCSI Storage Configuring your iSCSI storageConfiguring an iSCSI IQN for each XenServer host Xe pool-param-set uuid=pooluuid default-SR=iscsisharedsruuid XenServer and IntelliCache Enabling on Host InstallationIntelliCache Deployment Converting an Existing Host to Use Thin Provisioning To enable local caching, enter the following commandsImplementation Details and Troubleshooting VM Boot BehaviorXe sr-list params=local-cache-sr,uuid,name-label How to install the Integration Suite Supplemental Pack Using Scvmm and Scom with XenServerIntegration Requirements for Scvmm Integration Requirements for Scom Upgrading XenServer Rolling Pool UpgradesPage Before You Upgrade Before you begin your rolling pool upgrade Upgrading XenServer Hosts Using the xe CLITo upgrade a pool of XenServer hosts using the xe CLI Before You Upgrade a Single XenServer Host Upgrading a Single XenServer Host Using the xe CLITo empty the CD/DVD drive of a VM using the xe CLI Upgrading a Single XenServer Host Using the xe CLITo upgrade a single XenServer host using the xe CLI Page Upgrading LVM Storage from XenServer 5.0 or Earlier Upgrading LVM-based SRs using the xe CLIBefore You Apply an Update or Hotfix Applying Updates and Hotfixes to XenServerBefore you begin updating To update individual hosts using the xe CLI To update individual hosts using XenCenterUpdating Individual XenServer Hosts Updating a Pool of XenServer Hosts To update a pool of hosts using XenCenterTo update a pool of XenServer hosts using the xe CLI Activating a Free XenServer Product Licensing XenServerTo activate a free XenServer product To license XenServer Advanced editions and higher Licensing XenServer EditionsTo configure licensing for XenServer hosts using the xe CLI To configure licensing for XenServer hosts using XenCenterAdditional Licensing Information Grace Period To capture and save the log file Appendix A. TroubleshootingAppendix B. Boot From SAN Environments Configuring your PXE Environment for XenServer Installation Appendix C. PXE Boot InstallationsTo configure your Tftp server Preparing the destination system Creating an answer file for unattended PXE installationElement Description Required? Element Description Required? Element Proto dhcp or static