Unsolved
This post is more than 5 years old
122 Posts
0
1011
I Need to add 50 different initiator group in vmax
Hi Techies,
I Need to add 50 different initiator group in vmax.
How can i write a batch file? Or let me know if any other workaround?
Unsolved
This post is more than 5 years old
122 Posts
0
1011
Hi Techies,
I Need to add 50 different initiator group in vmax.
How can i write a batch file? Or let me know if any other workaround?
Top
umichklewis
1.2K Posts
1
October 12th, 2015 01:00
Have a look at the Solutions Enabler Command reference for the symaccess command.
symaccess create -name -file can be used in a for loop pretty easily, something like:
for x in 'list_of_initiator_group_names' do 'symaccess create -name $x -file '
Basically, you want to read in a list of initiator group names from one file, then read in the initiators for that group from a different file.
Or, you could make a file in Excel with the initiator group names in one column, and the initiators in another. Export the file to text, and you can copy paste at a command line.