Create an iSCSI Initiator Group
NOTE: When you create an iSCSI initiator group in
a group that has multi-protocol access (both iSCSI and Fibre Channel) configured,
you must specify the --access_protocol. If you do not, the access
protocol for the initiator is set to fc by default.
Creating an iSCSI initiator group, adding initiators and subnets, and displaying the initiator group information.
$ initiatorgrp --create Datamon
$ initiatorgrp --add_initiators Datamon --label Basic --initiator_name iqn.1991-05.com.microsoft:techops.storage.com --ipaddr 192.0.2.88
$ initiatorgrp --add_subnets Datamon --label Subnet-198.51.100.0
$ initiatorgrp --info Datamon
Name: Datamon
Description:
Access Protocol: iscsi
Created: Jan 01 2016 12:00:01
Last Configuration Change: Jan 01 2016 12:00:01
Number of Subnets: 1
Subnet Label: Subnet-198.51.100.0
Number of Initiators: 1
Initiator Label: Basic
Initiator Name: iqn.1991-05.com.microsoft:techops.storage.com
Initiator IP Address: 198.0.2.88
Number of Volumes: 2
Volume Name: northVol
Volume Name: southVol