Citrix Systems 5.6 Benutzerhandbuch

Seite von 235
58
You can use grep to filter the sr-probe output to just the storage pool IDs
xe sr-probe type=cslg device-config:target=192.168.128.10 | grep storageSystemId
        <storageSystemId>EMC__CLARIION__APM00074902515</storageSystemId>
        <storageSystemId>HP__EVA__50014380013C0240</storageSystemId>
        <storageSystemId>NETAPP__LUN__0AD4F00A</storageSystemId>
4. Add the desired storage system ID to the 
sr-probe command to identify the storage pools available
within the specified storage system
xe sr-probe type=cslg \
device-config:target=192.168.128.10  \ device-config:storageSystemId=HP__EVA__50014380013C0240
<?xml version="1.0" encoding="iso-8859-1"?>
<csl__storagePoolInfoList>
    <csl__storagePoolInfo>
        <displayName>Default Disk Group</displayName>
        <friendlyName>Default Disk Group</friendlyName>
        <storagePoolId>00010710B4080560B6AB08000080000000000400</storagePoolId>
        <parentStoragePoolId></parentStoragePoolId>
        <storageSystemId>HP__EVA__50014380013C0240</storageSystemId>
        <sizeInMB>1957099</sizeInMB>
        <freeSpaceInMB>1273067</freeSpaceInMB>
        <isDefault>No</isDefault>
        <status>0</status>
        <provisioningOptions>
            <supportedRaidTypes>
                <raidType>RAID0</raidType>
                <raidType>RAID1</raidType>
                <raidType>RAID5</raidType>
            </supportedRaidTypes>
            <supportedNodeTypes>
                <nodeType>STORAGE_VOLUME</nodeType>
            </supportedNodeTypes>
        <supportedProvisioningTypes>
        </supportedProvisioningTypes>
        </provisioningOptions>
    </csl__storagePoolInfo>
</csl__storagePoolInfoList>
You can use grep to filter the sr-probe output to just the storage pool IDs
xe sr-probe type=cslg \
device-config:target=192.168.128.10 \
device-config:storageSystemId=HP__EVA__50014380013C0240 \
| grep storagePoolId
<storagePoolId>00010710B4080560B6AB08000080000000000400</storagePoolId>
5. Create the SR specifying the desired storage system and storage pool IDs
xe sr-create type=cslg name-label=CSLG_EVA_1 shared=true \
device-config:target=192.168.128.10 \
device-config:storageSystemId=HP__EVA__50014380013C0240 \
device-config:storagePoolId=00010710B4080560B6AB08000080000000000400
Managing Storage Repositories
This section covers various operations required in the ongoing management of Storage Repositories (SRs).