Parameter Name

Description

Required?

 

 

 

 

 

port

the network port number on which to query the target

no

 

 

 

 

 

usediscoverynumber

the specific iSCSI record index to use

no

 

 

 

 

 

incoming_chapuser

the username that the iSCSI filter will use to authenticate against

no

 

 

the host

 

 

 

 

 

 

incoming_chappassword

the password that the iSCSI filter will use to authenticate against

no

 

 

the host

 

 

 

 

 

 

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: /bin/sbin/ocmanager

QLogic FC: /opt/QLogic_Corporation/SANsurferCLI

QLogic iSCSI: /opt/QLogic_Corporation/SANsurferiCLI

See the section called “Managing Hardware Host Bus Adapters (HBAs)” for an example of QLogic iSCSI HBA configuration. For more information on Fibre Channel and iSCSI HBAs please refer to the Emulex and QLogic websites.

3.Use the sr-probecommand to determine the global device path of the HBA LUN. sr-probeforces 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-uuidparameter 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:deviceparameter 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.

46

Page 64
Image 64
Citrix Systems 6 manual Parameter Name Description