HP BL680c XenServer Administrator's Guide 4.1.0 - Page 26

SR type, device-config, parameter, in order of, dependency, Can be probed?, Required for sr-create?

Page 26 highlights

Storage # xe sr-probe type=lvmoiscsi device-config:target=192.168.1.10 \ device-config:targetIQN=iqn.192.168.1.10:filer1 Error code: SR_BACKEND_FAILURE_107 Error parameters: , The SCSIid parameter is missing or incorrect, \ IET 0 42949672960 149455400000000000000000002000000b70200000f000000 Probing the same target and supplying all three parameters will return a list of SRs that exist on the LUN, if any. # xe sr-probe type=lvmoiscsi device-config:target=192.168.1.10 \ device-config:targetIQN=192.168.1.10:filer1 \ device-config:SCSIid=149455400000000000000000002000000b70200000f000000 3f6e1ebd-8687-0315-f9d3-b02ab3adc4a6 /dev/disk/by-id/scsi-149455400000000000000000002000000b70200000f000000 The following parameters can be probed for each SR type: SR type lvmoiscsi lvmohba netapp device-config parameter, in order of dependency target chapuser chappassword targetIQN SCSIid device target Can be probed? No No No Yes Yes Yes No Required for sr-create? Yes No No Yes Yes Yes Yes 20

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108

Storage
20
# xe sr-probe type=lvmoiscsi device-config:target=192.168.1.10
\
device-config:targetIQN=iqn.192.168.1.10:filer1
Error code: SR_BACKEND_FAILURE_107
Error parameters: , The SCSIid parameter is missing or incorrect, \
<?xml version="1.0" ?>
<iscsi-target>
<LUN>
<vendor>
IET
</vendor>
<LUNid>
0
</LUNid>
<size>
42949672960
</size>
<SCSIid>
149455400000000000000000002000000b70200000f000000
</SCSIid>
</LUN>
</iscsi-target>
Probing the same target and supplying all three parameters will return a list of SRs that exist on the LUN,
if any.
# xe sr-probe type=lvmoiscsi device-config:target=192.168.1.10
\
device-config:targetIQN=192.168.1.10:filer1 \
device-config:SCSIid=149455400000000000000000002000000b70200000f000000
<?xml version="1.0" ?>
<SRlist>
<SR>
<UUID>
3f6e1ebd-8687-0315-f9d3-b02ab3adc4a6
</UUID>
<Devlist>
/dev/disk/by-id/scsi-149455400000000000000000002000000b70200000f000000
</Devlist>
</SR>
</SRlist>
The following parameters can be probed for each SR type:
SR type
device-config
parameter, in order of
dependency
Can be probed?
Required for sr-create?
lvmoiscsi
target
No
Yes
chapuser
No
No
chappassword
No
No
targetIQN
Yes
Yes
SCSIid
Yes
Yes
lvmohba
device
Yes
Yes
netapp
target
No
Yes