How to install XenServer 6.5 Patches with Local Media - Part 1
To install XenServer 6.5 Patches with Local Media - Part 1
Installation and upgradation of XenServer 6.5 patches with local media is explained in this article.
To check media connection
[root@linuxhelp ~]# fdisk -l
Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000a73ca
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 30722047 15360000 83 Linux
/dev/sda2 30722048 36866047 3072000 82 Linux swap / Solaris
Disk /dev/sdb: 7903 MB, 7903117312 bytes, 15435776 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x09a3d0fc
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 15435775 7716864 83 Linux
Mount that local media to /mnt/ directory.
[root@linuxhelp ~]# mount /dev/sdb1 /mnt/
[root@linuxhelp ~]# cd /mnt/
[root@linuxhelp mnt]#
Download latest version for xenserver.
[root@linuxhelp mnt]# wget http://downloadns.citrix.com.edgesuite.net/10340/XS65ESP1.zip
--2016-06-21 14:28:08-- http://downloadns.citrix.com.edgesuite.net/10340/XS65ESP1.zip
Resolving downloadns.citrix.com.edgesuite.net (downloadns.citrix.com.edgesuite.net)... 125.252.226.106, 125.252.226.104
Connecting to downloadns.citrix.com.edgesuite.net (downloadns.citrix.com.edgesuite.net)|125.252.226.106|: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 89.3KB/s in 23m 26s
2016-06-21 14:51:40 (276 KB/s) - ‘ XS65ESP1.zip’ saved [397007773/397007773]
Unzip that downloaded zip file by using “ unzip” command as follows.
[root@linuxhelp mnt]# unzip XS65ESP1.zip
Archive: XS65ESP1.zip
inflating: XS65ESP1.xsupdate
inflating: XS65ESP1-src-pkgs.tar.bz2
Remove the local media and insert into xenserver. Select " Local Command Shell" and press Enter.
Log in with the root user.
Use " fdisk" utility to determine the name of the block device.
[root@ xenserver-linuxhelp ~]# fdisk -l
Here, the USB device is determined as " /dev/sdb1" and access to update the file using " mount" utility.
[root@ xenserver-linuxhelp ~] # mount /dev/sdb1 /mnt
To Change the directory
Check whether the updated file is available in the /mnt directory.
[root@ xenserver-linuxhelp ~]# cd /mnt
[root@ xenserver-linuxhelp ~]# ls
Set execute permission to the “ XS65ESP1.xsupdate” file. Prepare the patch file and get the UUID of patch file using " xe patch-upload" .
[root@ xenserver-linuxhelp ~]# chmod &ndash R 777 XS65ESP1.xsupdate
[root@ xenserver-linuxhelp ~]# xe patch-upload file-name=XS65ESP1.xsupdate
Run the following command to fetch the UUID of the XenServer.
[root@ xenserver-linuxhelp ~]# xe host-list
Install the supplemental pack to this local machine using the " xe" command.
[root@ xenserver-linuxhelp ~]# xe patch-apply uuid=7f2e4a3a-4098-4a71-84ff-b0ba919723c7 host-uuid=9c11ecbc-f921-4680-96f7-a04faa4e7dcd
Run the following command to list all patches that we have applied.
The above output represents that the patch applied successfully to this particular machine.
xe-mount-iso-sr /var/opt/xen/iso_import
.