iSCSI Multipath Setup for XenServer (Optional)
105
lrwxrwxrwx 1 root root 9 Mar 16 13:47
/dev/disk/by-id/scsi-360a98000503365344e6f6177615a516b -> ../../sdc
5. Repeat step 4 on every host.
6. On the storage server, run this command to get a unique ID for the new SR.
# uuidgen
The output should look like this, although the specific ID will be different:
e6849e96-86c3-4f2c-8fcc-350cc711be3d
7. Create the FiberChannel SR. In name-label, use the unique ID you just generated.
# xe sr-create type=lvmohba shared=true
device-config:SCSIid=360a98000503365344e6f6177615a516b
name-label="e6849e96-86c3-4f2c-8fcc-350cc711be3d"
This command returns a unique ID for the SR, like the following example (your ID will be different):
7a143820-e893-6c6a-236e-472da6ee66bf
8. To create a human-readable description for the SR, use the following command. In uuid, use the
SR ID returned by the previous command. In name-description, set whatever friendly text you
prefer.
# xe sr-param-set uuid=7a143820-e893-6c6a-236e-472da6ee66bf name-description="Fiber
Channel storage repository"
Make note of the values you will need when you add this storage to CloudPlatform later (see
Section 7.7, “Adding Primary Storage”). In the Add Primary Storage dialog, in Protocol, you
will choose PreSetup. In SR Name-Label, you will enter the name-label you set earlier (in this
example, e6849e96-86c3-4f2c-8fcc-350cc711be3d).
9. (Optional) If you want to enable multipath I/O on a FiberChannel SAN, refer to the documentation
provided by the SAN vendor.
8.9. iSCSI Multipath Setup for XenServer (Optional)
When setting up the storage repository on a Citrix XenServer, you can enable multipath I/O, which
uses redundant physical components to provide greater reliability in the connection between the
server and the SAN. To enable multipathing, use a SAN solution that is supported for Citrix servers
and follow the procedures in Citrix documentation. The following links provide a starting point:
http://support.citrix.com/article/CTX118791
http://support.citrix.com/article/CTX125403
You can also ask your SAN vendor for advice about setting up your Citrix repository for multipathing.