Installing XenServer With 2 Local Storage Repositories

I recently encountered a scenario where a colleague of mine needed to setup a XenServer with an SSD SR for a VM storage and another pool for slower tier deep storage. The following is the order of operations to obtain 2 discretely separate storage repositories:

 

DO NOT JOIN TO POOL UNTIL THE FOLLOWING IS COMPLETE:

  1. Boot into your RAID controller and create a virtual disk for your fast tier storage that will be shared with your Xen install
  2. With one VD visible install XenServer selecting no drives at install time for VM Storage
  3. After successful install boot into RAID controller and setup the 2nd virtual disk
  4. Boot into XenServer and go to the local command-line from xsconsole
    1. Run the following command : ll /dev/disk/by-id
    2. Look for sdb make note of its path
    3. get UUID of host :  xe host-list
  5. Using the info from above fill this in the path to sdb and host UUID

xe sr-create content-type=user device-config:device=/dev/disk/by-id/<scsi-xxxxxxxxxxxxxxxxxxxxxxxxx> host-uuid=<host-uuid> name-label=”Local Storage 2” shared=false type=lvm

Your storage should be there now, proceed to joining the pool

 

Leave a Reply

Your email address will not be published. Required fields are marked *

2 × 1 =