Install a Patch on a Citrix XenServer 6.2 Host Using the xe Command Line
Edited by Inukshuk, Dougie, Eng, Nuance and 2 others
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 straightforward 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 the 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".
Install The Xenserver 6.2 Update Using The Xe Command
Important: If your XenServer hosts are part of a pool, you need to install the patch on the pool master first.
Get The Link To The Zip File That You'll Download To The Server
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. Then they'll only need to be rebooted afterward to take effect (still reboot the master first).
- 1SSH to your XenServer host using root or a root-capable account.
- 5If the 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 a 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: SEYD RAHAUL, Nuance, Eng