Create initiators
Create an FC or iSCSI initiator and assign it to a host configuration.
Format
/remote/initiator create –host <value> -uid <value> -type {iscsi|fc} [-sourceType {HPAutotrespass | OpenNative | SGI | HPNoAutotrespass | Dell | FujitsuSiemens | Tru64}] [-failoverMode {AutoTrespass | PassiveNotReady | DMP | PassiveAlwaysReady | ALUA}] [-lunzEnabled {yes | no}] [-unitSerialNumber {Array | LUN}]
Object qualifier
Qualifier | Description |
---|
-host | Identifies the host configuration to which to assign the initiator.
|
-uid | Specifies the FC WWN or the iSCSI IQN of the host to which to assign the initiator. |
-type | Specifies the type of initiator. Value is one of the following:
|
-sourceType
| Specify the source type for the initiator. Valid values are:
- HPAutotrespass - HP with Auto-trespass
- OpenNative (default) - Open native (such as CLARiiON Open)
- SGI - Silicon Graphics
- HPNoAutotrespass- HP without Auto-trespass
- Dell
- FujitsuSiemens
- Tru64- Compaq Tru64
|
-failoverMode | Specify the failover mode for the initiator. Valid values are:
- AutoTrespass- Any media access to the non owning SP is rejected.
- PassiveNotReady- A command failure during I/O is sent to the non-owning SP.
- DMP- Quiet trespass on I/O to non owning SP.
- PassiveAlwaysReady- Some commands, e.g. Test Unit Ready, returns PAR status.
- ALUA (default) - Initiators are permitted to send I/O to a LUN regardless of which SP actually owns the LUN.
|
-lunzEnabled | Set whether LUNZ will be enabled. Valid values are:
|
-unitSerialNumber | Specify the Unit Serial Number. Valid values are:
For SCSI-3 interfaces, the Unity Serial Number page (Vital Product Data page 0x80) reports the serial number for the array or LUN.
|
Example 1
The following command creates an FC initiator for host configuration 1014. The FC initiator receives ID 1021:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/initiator create -host 1014 -uid "20:00:00:00:C9:29:0F:FD:10:00:00:00:C9:29:0F:FD" -type fc
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = 1021
Operation completed successfully.
Example 2
The following command creates an iSCSI initiator for host configuration Host_3. The iSCSI initiator receives ID 1022:
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! -sslPolicy accept /remote/initiator create -host Host_3 -uid iqn.1000-05.com.fancy:win-123456 -type iscsi
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = 1022
Operation completed successfully.
Example 3
The following command creates an iSCSI initiator for "Host_3" with:
- A source type of "OpenNative"
- A failover mode of "PassiveAlwaysReady"
- LUNZ disabled
- And an "Array" Unit Serial Number
uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /remote/initiator create -host Host_3 -uid iqn.1993-08.com.microsoft:win -type iscsi -sourceType OpenNative -failoverMode PassiveAlwaysReady -lunzEnabled no -unitSerialNumber Array
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection
ID = HostInitiator_8
Operation completed successfully.