Array Setup and Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

How do you get the -initiator_group_id for an InitiatorGroup that contain multiple initiators?

SOLVED
Go to solution
ladams113
Occasional Visitor

How do you get the -initiator_group_id for an InitiatorGroup that contain multiple initiators?

When I execute a Get-NSInitiatorGroup I will get the initiator name, and the individual iscsi_initiators in the group.  I am looking for the group id so I can pass it to a command like:

New-NSAccessControlRecord -vol_id xxxxxxxxxxxxxxxxxxxxxxxxx -initiator_group_id yyyyyyyyyyyyyyyyyyyyyyy

1 REPLY
mblumberg16
Respected Contributor
Solution

Re: How do you get the -initiator_group_id for an InitiatorGroup that contain multiple initiators?

Hi Lance, do you mean something like this (Node1 is the initiator group name):

$MyGroupID = (Get-NSInitiatorGroup –name “Node1”).id

Thanks,

Moshe.