Install XenServer 6.1 from USB Drive with slipstreamed Supplemental Packs and Drivers

I searched for a simple method to install an Up2Date XenServer 6.1 without setting up some FTP/TFTP/PXE servers for an unattended answer file and post-install scripts or modifying the source.

My way has no automation but saves me a lot of time and is a lot easier than creating an answer file and post-install scripts. Using this way I can simply add new Hotfixes or Supplemental Packs by just copy them to my USB Drive what makes it easy for me to keep my USB Drive Up2Date.

First Step is to create a XenServer USB Installation Drive:

  1. Download XenServer: http://www.citrix.com/downloads/xenserver/product-software/xenserver-6-1.html
  2. Download UNetbootin: http://unetbootin.sourceforge.net
  3. Format USB Drive with Fat32
  4. Run UNetBootin and select the XenServer Installer.iso and point it at the USB Drive and press OK
  5. Renaming Some Files on the USB stick (otherwise you’ll get an additional boot menu):
    • Rename file: \syslinux.cfg to syslinux.cfg.old
    • Rename folder: \boot\isolinux to syslinux
    • Rename file: \boot\syslinux\isolinux.cfg to syslinux.cfg
  6. Download a copy of syslinux v4.05 from https://www.kernel.org/pub/linux/utils/boot/syslinux/ and extract it
  7. From syslinux dir you just extracted, copy \com32\mboot\mboot.c32 to USB drive under \boot\syslinux\mboot.c32

Second Step is to Slipstream XenServer Supplemental Packs and Drivers:

  1. Download the Supplemental Packs: http://www.citrix.com/downloads/xenserver/product-software/xenserver-6-1.html
  2. Download Drivers: http://support.citrix.com/product/xens/v6.1.0/hotfix/general/
  3. Create one folder for each Supplemental Pack / Driver on the root of the USB Drive (examples):
    • Microsoft System Center Integration Pack –> /packages.integration-suite
    • Performance Monitoring Enhancements Supplemental Pack –> /packages.perf-monitoring
    • Driver Disk for Broadcom bnx2x –> /driver.bnx2x
    • Driver Disk for Intel 10 Gigabit Ethernet Controller –> /driver.ixgbe
  4. Copy or extract all the files of supplemental packs / driver ISO files to respective folders created
  5. Edit XS-REPOSITORY-LIST file and append the names of supplemental pack folders from Step 2

Note: Drivers are installed after XenServer Base Installation and cannot be integrated using this method if needed for the Installation itself!

Third Step is to simplify the update process:

  1. Download all available / needed Hotfixes: http://support.citrix.com/product/xens/v6.1.0/
  2. Extract all Hotfixes into a single Folder called Hotfixes on the root of the USB Drive
  3. Create a Shell-Script inside the folder containing all the Hotfix files (patch.sh):

#!/bin/bash
HOST=$(xe host-list –minimal)
UPDATES=$(ls *.xsupdate)
for PATCH in $UPDATES; do
UUID=$(xe patch-upload file-name=$PATCH)
xe patch-apply uuid=$UUID host-uuid=$HOST
done
reboot

Fourth Step is to normally install XenServer using the USB Drive :-)

Note: The Supplemental Packs are automatically installed, so just choose NO if asked to install Supplemental Packs.

Fifth and last Step is to apply the Hotfixes:

  1. First we need to mount and copy the Hotfixes from the USB Drive to the XenServer Host:
    • mount /dev/sdb1 /mnt
    • cp -r /mnt/Hotfixes /tmp
    • umount /mnt
  2. Apply the Hotfixes all at once using the Shell-Script:
    • cd /tmp/Hotfixes
    • ./patch.sh

After applying the Hotfixes the Host will reboot and you’re done, you now have an Up2Date XenServer 6.1.

About these ads

2 Responses to Install XenServer 6.1 from USB Drive with slipstreamed Supplemental Packs and Drivers

  1. Does this work for upgrades from 5.6/6.02?

    • Yes, because there is no custom answer file using this method you get prompted to choose if you want to upgrade or perform a clean install. It behaves just like the CD/ISO. If needed you can also hit F9 to install/load drivers needed for the installation process.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: