Set Up and Mount an iSCSI Node in XenServer Shared Storage

Shared Storage is a Storage Repository, or SR, that is any form of storage that can be used by XenServer.  There are 2 categories of SRs: shared and non-shared.  A shared SR is used to allow multiple nodes to share a storage location from the same pool.  SoftLayer supports 2 options of SRs, NFS and LVMoiSCSI (LVM over iSCSI).

An NFS server will have to be installed and managed from another customer system or using a SoftLayer QuantaStor server.  To mount the NFS repository in XenCenter please do the following:

  1. Open up the XenCenter console.
  2. Click New Storage at the top of the console
  3. In the new dialog box, under Virtual disk storage select NFS
  4. Type in a descriptive name of the new SR under Name
  5. Type in the server:/path under Share Name
  6. Click Scan

This will scan the NFS share for previous SRs if there are any. You can attach to a previous SR or create a new SR.

The SoftLayer iSCSI can be used for LVMoiSCSI.  The iSCSI can be either from a customer manage storage server of SoftLayer's iSCSI offering.  For Performance and Redundant Block Storage, retrieve the IQN from the control portal's Storage > Block Storage > Select Lun Name area. To mount the iSCSI node via XenCenter please do the following:

  1. Open up the XenCenter console.
  2. Set the IQN within XenCenter under General > Properties
  3. Click New Storage at the top of the console
  4. In the new dialog box, under Virtual disk storage select Software iSCSI
  5. Type in a descriptive name of the new SR under Name
  6. Enter the hostname or ip of the iSCSI Target and keep the port at default 3260
  7. Check Use CHAP
  8. Enter the username and password for the LUN
  9. Click Scan Target Host
  10. Make a selection in Target IQNs
  11. Make a selection in Target  LUNs
  12. Once the IQN and LUN fields have been populated click finish. This will scan the target to see if there are any previous SRs. If so it will ask you if you wish to create a new SR on it or attach to the previous SR.

If the servers are in a pool together the iSCSI repository will automatically be shared.