HP BL680c XenServer Administrator's Guide 4.1.0 - Page 28

Creating a shared LVM over iSCSI SR using the software iSCSI, initiator lvmoiscsi, 3.7.

Page 28 highlights

Storage Parameter Name server serverpath Description Required IP address or hostname of the Yes NFS server path, including the NFS mount Yes point, on the NFS server in which the SR will reside To create a shared nfs SR on 192.168.1.10:/export1 use the following command. xe sr-create host-uuid= content-type=user \ name-label="Example shared NFS SR" shared=true \ device-config:server=192.168.1.10 device-config:serverpath=/export1 type=nfs 3.3.6. Creating a shared LVM over iSCSI SR using the software iSCSI initiator (lvmoiscsi) Device-config parameters for lvmoiscsi SRs: Parameter Name Description target the IP address or hostname of the iSCSI filer in which the SR will reside targetIQN the IQN target address of iSCSI target in which the SR will reside SCSIid the SCSI bus ID of the destination LUN chapuser the username to be used during CHAP authentication chappassword the password to be used during CHAP authentication port the network port number on which to query the target usediscoverynumber the specific iscsi record index to use Optional yes yes yes no no no no To create a shared lvmoiscsi SR on a specific LUN of an iSCSI target use the following command. xe sr-create host-uuid= content-type=user \ name-label="Example shared LVM over iSCSI SR" shared=true \ device-config:target= device-config:targetIQN= \ device-config:SCSIid= \ type=lvmoiscsi 3.3.7. Creating a shared LVM over Fibre Channel or iSCSI HBA SR (lvmohba) SRs of type lvmohba can only be created via the xe Command Line Interface (CLI). Once created lvmohba SRs can be managed using either XenCenter or the xe CLI. Device-config parameters for lvmohba SRs: Parameter name Device Description HBA LUN global device path (e.g. /dev/disk/by-id/scsi- Required Yes 22

  • 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
22
Parameter Name
Description
Required
server
IP address or hostname of the
NFS server
Yes
serverpath
path, including the NFS mount
point, on the NFS server in which
the SR will reside
Yes
To create a shared nfs SR on
192.168.1.10:/export1
use the following command.
xe sr-create host-uuid=<VALID_UUID> content-type=user \
name-label="Example shared NFS SR" shared=true \
device-config:server=192.168.1.10 device-config:serverpath=/export1 type=nfs
3.3.6. Creating a shared LVM over iSCSI SR using the software iSCSI
initiator (lvmoiscsi)
Device-config parameters for lvmoiscsi SRs:
Parameter Name
Description
Optional
target
the IP address or hostname of the iSCSI filer in which the SR will reside
yes
targetIQN
the IQN target address of iSCSI target in which the SR will reside
yes
SCSIid
the SCSI bus ID of the destination LUN
yes
chapuser
the username to be used during CHAP authentication
no
chappassword
the password to be used during 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=<valid_target_IP> device-config:targetIQN=<valid_target_IQN> \
device-config:SCSIid=<valid_SCSIID> \
type=lvmoiscsi
3.3.7. Creating a shared LVM over Fibre Channel or iSCSI HBA SR (lv-
mohba)
SRs of type lvmohba can only be created via the xe Command Line Interface (CLI). Once created lvmohba
SRs can be managed using either XenCenter or the xe CLI.
Device-config parameters for lvmohba SRs:
Parameter name
Description
Required
Device
HBA LUN global device path
(e.g. /dev/disk/by-id/scsi-<SCSI
ID>
Yes