Array Setup and Networking

Bulk add initiator group to LUNs on an FC array

 
SOLVED
Go to solution
tshipp118
Occasional Contributor

Bulk add initiator group to LUNs on an FC array

Is there a way to add a initiator group to a large set of LUN's on the array? I have a new chassis that is half full. I have added all of the WWPN's to a new initiator goup. Now I want to zone all of the volumes to that group.

Thanks,

Tim

3 REPLIES 3
rfenton4
Honored Contributor

Re: Bulk add initiator group to LUNs on an FC array

Hi Tim 


To clarify have you already added the hosts initiators to the initiator group ?


You will need to also add each host initiator to a zone config, creating a zone for each initiator and targets that it will communicate with.


Both of the steps above can be automated by use of scripts/API although adding the initiators to the igroup is a pretty simple process.


What type of FC switches are you using ?

aherbert23
Trusted Contributor
Solution

Re: Bulk add initiator group to LUNs on an FC array

You can script this easily from the Nimble CLI. It would be something like this:

for x in vol1 vol2 vol3; do vol --addacl $x --apply_acl_to both --initiatorgrp NewInitiatorGroupName --lun 100; done

Just replace the volume names with the volumes you want to modify and use the correct initiator group and lun values.

tshipp118
Occasional Contributor

Re: Bulk add initiator group to LUNs on an FC array

Thanks everyone.