Install a Patch on a Citrix XenServer 6.2 Host Using the xe Command Line
Edited by Inukshuk, Dougie, Eng, Anonymous
One of the limitations of using the free version of Citrix XenServer 6.2 is that you cannot use the XenCenter interface to install patches on your hosts. The idea is that you'll pay Citrix for a support contract to get the full version of XenCenter that lets you do a lot of the advanced work without having to learn the command-line steps. Fortunately, installing update patches on a host is relatively simple and straight-forward using the xe command.
Even though you can't install them, XenCenter does tell you that updates are available when you connect to a server (see top right corner for "System Alerts"). When you click on the System Alerts link, it will give you a popup with more details, in this image, update XS62ESP1014 is available for server "b2".
Important: If your XenServer hosts are part of a pool, you need to install the patch on the pool master first.
Install the XenServer 6.2 Update Using the xe Command
Download and Install the Update on the XenServer Host
Remember: If your host is part of a pool, these steps need to be run on the pool master only. The master will push the updates to all the other servers that are part of the pool automatically, they will only need to be rebooted afterwards to take effect (still reboot the master first).
- 1SSH to your XenServer host using root or a root-capable account.
- 5If host is not part of a pool:Apply the patch using the "xe patch-apply" command with the uuid and host-uuid parameters. The uuid will be the output from the xe patch-upload command. The easiest way to get the host-uuid is to simply press the Tab key after typing "host-uuid=" - this will automatically populate the field with the local host's uuid - otherwise, you'll need to get the output of the xe host-list command as well. Note: The patch-apply may take several seconds to run.
If host is the pool master:
Apply the patch using the "xe patch-pool-apply" command with the uuid parameter output from the xe patch-upload command. Note: The patch-pool-apply may take up to a couple of minutes to run, as it has to apply the patch to all hosts in the pool.
- 7The host likely needs to be rebooted for the patch to be fully applied.This, you can do using XenCenter.Advertisement
Questions and Answers
Is there any difference in the procedure if using XenServer 6.5?
Want to know if installing patch on version 6.5 is the same as 6.2. I'm now using XenServer 6.5 instead of 6.2 when the article was written. I have tried: I haven't tried anything yet. Thought I'd ask before going through the steps. I think it was caused by: Don't know if there is a problem. Just asking because of the version change.
VisiHow QnA. This section is not written yet. Want to join in? Click EDIT to write this answer.
- If you have problems with any of these steps, ask a question for more help, or post in the comments section below.
Categories : Software
Recent edits by: Eng, Dougie, Inukshuk