This article is a must read, if you are building a demo environment with hardware, where you have limited storage capacity.
My scenario is, I am building a new demo environment with 2 IBM servers that have 2 SATA-3 drives in each server, i want to virtualize the servers with Citrix XenServer so i can build a Virtual Demo Lab. Citrix XenServer identify both harddrives and i can choose to install the xenserver on 1 of the drives. XenServer installs smooth as always, after installation i connect with XenCenter to my Citrix XenServer and in XenCenter i only see 1 Local Storage and not 2 Local Storage.
My intention was to run the XenServer on first harddrive and all the VM’s on the second harddrive.
Summary
This article describes how to add a second harddrive as a local storage to XenServer.
Requirements
Adding new hard-drive in XenServer is a bit different from the traditional Linux process. For XenServer, you need to create a container called a ‘storage repository’ to define a particular storage target (such as a hard disk), in which Virtual Disk Images (VDIs) of VMs are stored. A VDI is nothing but an abstracted storage space which acts as the hard-disk for VMs.
Xen storage repository supports IDE, SATA, SCSI and SAS drives when locally connected, apart from iSCSI, NFS, SAS and fiber channel in case of a remote storage.
Procedure
Steps to create an SR in a XenServer.
1. SSH to the XenServer as root or use XenCenter Console.
2. Find the disk ID of the new device using the following commands:
# cat /proc/partitions
You will see list of all the HDDs and partitions. Find which device is your new local disk. This is probably “sdx”(most probably sdb) or “/cciss/c0d1p0”.

# ll /dev/disk/by-id
This command will list the disk ids for all the partitions/HDDs present in the server as shown in the image below.

Find the disk ID of the “sdx” or “cciss/c0d1”disk. The “scsi-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx” or “cciss-xxxxxxxxxxxxxxxxxxxxxxxxxx”format is what you need.
3. Find out the ‘host-uuid’ in the XenServer using the following command:
#xe host-list

The uuid (RO) is the ‘host-uuid’ you need.
4.Create a Storage Repository (SR):
# 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
- Or -
# xe sr-create content-type=user device-config:device=/dev/disk/by-id/<cciss-xxxxxxxxxxxxxxxxxxxxxxxxx> host-uuid=<host-uuid> name-label=”Local Storage 2” shared=false type=lvm
- Or -
# xe sr-create content-type=user device-config:device=/dev/<sdx> host-uuid=<host-uuid> name-label=”Local Storage 2” shared=false type=lvm
You can verify it from XenCenter with the following steps:
- Connect to the XenCenter.
- Go to the ‘Storage tab’. You will find the details of all storage repositories here. You can see the storage ‘Local Storage2′ in the list.
This signifies that the disk has been added successfully. Now, you can start creating VM’s on it.
Thomas Poppelgaard
| #
Hi Steve normal I install the GRID driver to device and when its workin, I disable the default VGA device.
Have you applied latest hotfix to the XS6.1 there are some crucial hotfixes to the GPU pass-through, that could crash the GRID’s, when you power on a VM with GPU pass-through.
Steve
| #
Just a quick question on your setup. We just got a system similar to yours (R720, 2xGrid K2 cards, XenServer 6.1, XenApp 6.5). The GRID K2 driver installs (320.00), but the device shows up as stopped in device manager. Did you use any special options when installing the nVidia driver? Or somehow remove the default VGA device?
Dan
| #
Hi Thomas,
Some features in your screenshots (eg create appointments and contacts) seem to be missing from the iOS version of @WorkMail that got released in April, do you know if these features are still coming in a future release? The Android client is far more functional by comparison.
Regards
Dan
Christian Eilskov
| #
You can see the DHCP options here:
http://www.wyse.com/kb and search for 21501
You can transfer a image using Wyse Device Manager(WDM), the same goes for smaller updates like new ICA client and so.
Thomas Poppelgaard
| #
Thank you Barry =)
The deep compression codec for Citrix XenDesktop HDX 3D Pro will be intergrated for Citrix XenApp in Excalibur so there is a big difference with bandwidth consumption. This means that XenApp in Excalibur will be the best platform for user density and works great over WAN with high latency as HDX 3D Pro have been known to deliver for several years. Yes i know of cases with WAN optimization, I will gather these and share them.
Best regards
Thomas