Citrix Systems 5.6 Benutzerhandbuch

Seite von 235
50
Parameter Name
Description
Optional?
chapuser
the username to be used for CHAP authentication
no
chappassword
the password to be used for CHAP authentication
no
port
the network port number on which to query the target
no
usediscoverynumber
the specific iscsi record index to use
no
To create a shared lvmoiscsi SR on a specific LUN of an iSCSI target use the following command.
xe sr-create host-uuid=
<valid_uuid>
 content-type=user \
name-label=
<"Example shared LVM over iSCSI SR">
 shared=true \
device-config:target=
<target_ip=>
 device-config:targetIQN=
<target_iqn=>
 \
device-config:SCSIid=
<scsci_id>
 \
type=lvmoiscsi
Creating a shared LVM over Fibre Channel / iSCSI HBA or SAS SR (lvmohba)
SRs of type lvmohba can be created and managed using the xe CLI or XenCenter.
Device-config parameters for lvmohba SRs:
Parameter name
Description
Required?
SCSIid
Device SCSI ID
Yes
To create a shared lvmohba SR, perform the following steps on each host in the pool:
1. Zone in one or more LUNs to each XenServer host in the pool. This process is highly specific to the SAN
equipment in use. Please refer to your SAN documentation for details.
2. If necessary, use the HBA CLI included in the XenServer host to configure the HBA:
• Emulex: 
/usr/sbin/hbanyware
• QLogic FC: 
/opt/QLogic_Corporation/SANsurferCLI
• QLogic iSCSI: 
/opt/QLogic_Corporation/SANsurferiCLI
See 
 for an example of QLogic iSCSI
HBA configuration. For more information on Fibre Channel and iSCSI HBAs please refer to the 
and 
 websites.
3. Use the 
sr-probe command to determine the global device path of the HBA LUN. sr-probe forces a re-
scan of HBAs installed in the system to detect any new LUNs that have been zoned to the host and
returns a list of properties for each LUN found. Specify the 
host-uuid
 parameter to ensure the probe
occurs on the desired host.
The global device path returned as the 
<path>
 property will be common across all hosts in the pool and
therefore must be used as the value for the 
device-config:device
 parameter when creating the SR.
If multiple LUNs are present use the vendor, LUN size, LUN serial number, or the SCSI ID as included
in the 
<path>
 property to identify the desired LUN.