44
You can use grep to filter the sr-probe output to just display the storage system IDs:
xe sr-probe type=cslg device-config:adapterid=NETAPP \
device-config:username=xxxx device-config:password=xxxx \
device-config:target=xxxx | grep storageSystemId
<csl__storageSystemInfoList>
<csl__storageSystemInfo>
<friendlyName>devfiler</friendlyName>
<displayName>NetApp FAS3020 (devfiler)</displayName>
<vendor>NetApp</vendor>
<model>FAS3020</model>
<serialNum>3064792</serialNum>
<storageSystemId>NETAPP__LUN__0A50E2F6</storageSystemId>
<systemCapabilities>
<capabilities>PROVISIONING</capabilities>
2. Add the desired storage system ID to the sr-probe command to identify the storage pools available within the
specified storage system. You can use grep to filter the sr-probe output to just display the storage pool IDs:
xe sr-probe type=cslg device-config:adapterid=NETAPP \
device-config:username=xxxx device-config:password=xxxx \
device-config:target=xxxx
device-config:storageSystemId=NETAPP__LUN__0A50E2F6 | grep storageSystemId
<csl__storagePoolInfo>
<displayName>aggr0</displayName>
<friendlyName>aggr0</friendlyName>
<storagePoolId>61393750-84b6-11dc-9a7d-00a09804ab62</storagePoolId>
<parentStoragePoolId></parentStoragePoolId>
<storageSystemId>NETAPP__LUN__0A50E2F6</storageSystemId>
<sizeInMB>116262</sizeInMB>
<freeSpaceInMB>5746</freeSpaceInMB>
<availableFreeSpaceInMB>0</availableFreeSpaceInMB>
<isDefault>Yes</isDefault>
<status>0</status>
<provisioningOptions>
<supportedRaidTypes><raidType>RAID6</raidType>
3. Create the SR specifying the desired storage system and storage pool IDs:
xe sr-create type=cslg device-config:adapterid=NETAPP \
device-config:target=xxxx device-config:username=xxxx \
device-config:password=xxxx device-config:storageSystemId=xxxx \
device-config:storagePoolId=xxxx
Managing Hardware Host Bus Adapters (HBAs)
This section covers various operations required to manage SAS, Fibre Channel and iSCSI HBAs.
Sample QLogic iSCSI HBA setup
For full details on configuring QLogic Fibre Channel and iSCSI HBAs please refer to the QLogic website.
Once the HBA is physically installed into the XenServer host, use the following steps to configure the HBA:
1. Set the IP networking configuration for the HBA. This example assumes DHCP and HBA port 0. Specify the
appropriate values if using static IP addressing or a multi-port HBA.