Citrix distributes patches or hotfixes of XenServer on a regular basis, for fixing bugs or updating security features. A given XenServer patch may have dependency on other fixes, in which case you will fail to install the patch without applying all dependent fixes first. If you would like to apply a patch on your XenServer host, you can use either XenCenter client software or XenServer command line interface (CLI).
In this tutorial, I will explain how to install XenServer patches by using XenServer CLI.
I assume that you have already downloaded a patch from Citrix website (e.g., XS602E001.zip). Upload it on any XenServer host and upzip it.
The extracted zip file will contain XS602E001.xsupdate. Using XenServer CLI, upload this patch to the destination XenServer host where the patch is to be applied as follows.
You can omit "-s 172.16.244.154 -u root -pw [root-password]" parameters in the above if the destination XenServer host is the local host.
Once patch is successfully uploaded, the above command will return the UUID (xxxx-xxx-xxx-xxx-xxxxxx) of the uploaded patch. Make a note of the UUID since it is needed to apply the patch.
Confirm that the patch has been uploaded successfully as follows. The output should display the uploaded patch.
Finally, apply the uploaded path using the UUID obtained above.
Once you have installed the patch, you must restart the XenServer host for the patch to take effect. When there are multiple XenServer hosts in a resource pool, you must apply the same patch to all the hosts, one by one in sequence. It is not recommended that you apply a patch to only a subset of all existing XenServer hosts in a pool.
Subscribe to Xmodulo
Do you want to receive Linux FAQs, detailed tutorials and tips published at Xmodulo? Enter your email address below, and we will deliver our Linux posts straight to your email box, for free. Delivery powered by Google Feedburner.
Did you find this tutorial helpful? Then please be generous and support Xmodulo!
Latest posts by Dan Nanni (see all)
- How to set up Apt caching server on Ubuntu or Debian - February 7, 2016
- How to monitor OpenFlow messages with packet sniffer - February 2, 2016
- How to search multiple pdf documents for words on Linux - January 13, 2016