Add an iSCSI Initiator Group Using the Array OS CLI

You can use the array OS CLI to add an initiator group.
  1. Create an iSCSI initiator group.
    initiatorgrp --create initiatorgrp_name --description text
  2. Add an initiators, names, IQNs, and client system IP addresses.
    initiatorgrp --add_initiators initiatorgrp_name --label label --initiator_name iqn--ipaddr client_ipaddr
    NOTE: If you cannot copy and paste the IQN, type it very carefully.
  3. Add a subnet.
    initiatorgrp --add_subnets initiatorgrp_name --label subnet_label
  4. (Optional) Verify the initiator group.
    initiatorgrp --info initiatorgrp_name
    You should see a result similar to the following:

  • If you have added all initiators and subnets, the new iSCSI initiator group is ready to be applied to a volume.
  • If you want to add another initiator or subnet, repeat steps above.
Adding an initiator group, initiators and subnets, and verifying the results.
$ initiatorgrp -- create Dataman
$ initiatorgrp --add_initiators Dataman --label client1 --initiator_name iqn.1991-05.com.microsoft:techops.storage.com --ipaddr 192.0.2.88
$ initiatorgrp --add_subnets Dataman --label Subnet-198.51.100.0
$ initiatorgrp --info Dataman