How to install XenServer 6.5 Patches Remotely – Part 2

Installing XenServer 6.5 Patches with Remotely &ndash Part 2

Installation and upgradation of XenServer 6.5 patches remotely is explained in this article.

To Download Xenserver update patch

Use “ wget” for download update patch file.

[root@linuxhelp ~]# wget http://downloadns.citrix.com.edgesuite.net/10340/XS65ESP1.zip
--2016-06-22 12:46:24--  http://downloadns.citrix.com.edgesuite.net/10340/XS65ESP1.zip
Resolving downloadns.citrix.com.edgesuite.net (downloadns.citrix.com.edgesuite.net)... 23.211.135.40, 23.211.135.27
Connecting to downloadns.citrix.com.edgesuite.net (downloadns.citrix.com.edgesuite.net)|23.211.135.40|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 397007773 (379M) [application/x-zip-compressed]
Saving to: ‘ XS65ESP1.zip’ 
100%[==============================================> ] 39,70,07,773  316KB/s   in 15m 12s
2016-06-22 13:01:38 (425 KB/s) - ‘ XS65ESP1.zip’  saved [397007773/397007773]

Extract download file by using the “ unzip” command.

[root@linuxhelp ~]# unzip XS65ESP1.zip
Archive:  XS65ESP1.zip
inflating: XS65ESP1.xsupdate
inflating: XS65ESP1-src-pkgs.tar.bz2

List the extracted file and set execute permission to “ .xsupdate” extension file.

[root@linuxhelp ~]# ls -l
total 775424
-rw-------. 1 root root      1369 Jun 20 18:07 anaconda-ks.cfg
-rw-r--r--. 1 root root      1420 Jun 20 12:40 initial-setup-ks.cfg
-rw-r--r--. 1 root root 142178640 Apr 28  2015 XS65ESP1-src-pkgs.tar.bz2
-rw-r--r--. 1 root root 254832812 Apr 28  2015 XS65ESP1.xsupdate
-rw-r--r--. 1 root root 397007773 May 11  2015 XS65ESP1.zip
[root@linuxhelp ~] # chmod -R 777 XS65ESP1.xsupdate

Then transfer “ XS65ESP1.xsupdate” file to the XenServer machine and place the file in " /root" directory by using “ scp” command.

[root@linuxhelp ~] # scp XS65ESP1.xsupdate root@server_ip:/root/
[root@linuxhelp ~ ]# scp XS65ESP1.xsupdate root@192.168.5.53:/root/

root@192.168.5.53' s password:

XS65ESP1.xsupdate                                      100%  243MB  18.7MB/s   00:13

The transfer is successful and the rest of the process requires a command shell to the XenServer through SSH.

[root@linuxhelp ~]# ssh root@192.168.5.53
root@192.168.5.53' s password:
Last login: Wed Jun 22 07:12:58 2016 from 192.168.5.50
XenServer dom0 configuration is tuned for maximum performance and reliability.
Configuration changes which are not explicitly documented or approved by Citrix
Technical Support, may not have been tested and are therefore not supported. In
addition, configuration changes may not persist after installation of a hotfix
or upgrade, and could also cause a hotfix or upgrade to fail.
Third party tools, which require modification to dom0 configuration, or
installation into dom0, may cease to function correctly after upgrade or hotfix
installation. Please consult Citrix Technical Support for advice regarding specific tools.
Type " xsconsole"  for access to the management console.

Run “ xsconsole " for access to the management console. The configuration wizard appears as shown in the below image.

[root@xenserver-linuxhelp ~]# xsconsole


Select “ local command shell” in configuration wizard

Next enter your Xenserver root password.

After you get console wizard again, use the " ls" command to confirm the patch files on the machine.

[root@xenserver-linuxhelp ~]# ls -l
total 249152
-rw-r--r-- 1 root root     37048 Jun 20 15:35 support.tar.bz2
-rwxr-xr-x 1 root root 254832812 Jun 22 11:11 XS65ESP1.xsupdate

The command " xe" will return the UUID of the patch file to install.

[root@xenserver-linuxhelp ~]# xe patch-upload file-name=XS65ESP1.xsupdate
7f2e4a3a-4098-4a71-84ff-b0ba919723c7

To determine UUID of the XenServer, run the following command.

[root@xenserver-linuxhelp ~]# xe host-list
uuid ( RO)                : 9c11ecbc-f921-4680-96f7-a04faa4e7dcd
name-label ( RW): xenserver-linuxhelp
name-description ( RW): Default install of XenServer

To install " Update patch" use UUID' s along with " xe" command.

[root@xenserver-linuxhelp ~]# xe patch-apply uuid=7f2e4a3a-4098-4a71-84ff-b0ba919723c7 host-uuid=9c11ecbc-f921-4680-96f7-a04faa4e7dcd

Verify whether the patch is installed or not.

[root@xenserver-linuxhelp ~]# xe patch-list | grep -i sp1
name-label ( RO): XS65ESP1
name-description ( RO): Public Availability: XenServer 6.5 Service Pack 1 (SP1)

The above output represents that the patch applied successfully to this particular machine.

Tag : XenServer
FAQ
Q
Is Xen open source?
A
Xen is the open source hypervisor included in the Linux kernel and, as such, it is available in all Linux distributions. The Xen Project is one of the many open source projects managed by the Linux Foundation.
Q
Can I use XenServer without a license?
A
If you use XenServer in an unlicensed state (Free edition), you are not eligible for Citrix Support or maintenance. In addition, the following features are restricted and require a license:

Pools of more than three hosts
Q
I am moving from XenServer 7.5 unlicensed edition to XenServer 7.6. Do I have to do anything?
A
No. You can upgrade or update your hosts to XenServer 7.6. You remain ineligible for support and premium features are inaccessible until an appropriate license is applied.
Q
Does Goliath Performance Monitor have a tablet or phone application?
A
Goliath Performance Monitor can be accessed on mobile platforms without using an application.
Q
Does it report back in a multi-farm / multi-site configuration? Is it capable of handling that type of structure?
A
Yes, Goliath Performance Monitor supports multi-site, multi-farm configurations, even if they are across multiple domains, disparate subnets, and even different geographical ocations