Unsolved
This post is more than 5 years old
2 Posts
0
3184
April 4th, 2017 22:00
naviseccli command to add LUNs to storage groups from existing reference storage group
Hello,
I am looking for a script that can be automate share LUN assignment to SG's from an existing reference SG.
In my setup i have created 100 LUN's and presented this to SG1 . I have another 3 SG's that is having esxi hosts connected to it.
i want to present all the LUN's currently presented to SG1 to the another SG's with the same HLU's. These LUN's are used on esxi datastores and i need to keep same HLU's on all the hosts.
kind help highly appreciated.
No Events found!



kelleg
4.5K Posts
0
April 10th, 2017 13:00
Have you looked at the Naviseccli commands for Storage Groups in the CLI Command Guide? You should find which commands you would need to use.
glen
maniemc
169 Posts
0
April 10th, 2017 16:00
i want to present all the LUN's currently presented to SG1 to the another SG's with the same HLU's. These LUN's are used on esxi datastores and i need to keep same HLU's on all the hosts.
To find current HLU for a given SG as well as adding the lun to a new SG with a specific HLU is all possible via "naviseccli storagegroup".
As glen said, refer the navisphere cli guide for detailed usage/example.
Sanuj_Bahrain
2 Posts
0
April 11th, 2017 01:00
Dears i have tried naviseccli storagegroup -addhlu command .. My concern is to add bulk number of LUN's to storage group with same alu and hlu values that is configured for the reference storage group.
mainly i am looking for a script to automate buld LUN adding to storage group process.
storage-admin
1 Message
0
November 17th, 2020 23:00
You can use an online tool to generate naviseccli commands to create multiple LUNs with different configurations along with LUN addition commands to the storage group.
Just search with the below keywords in google and you should be able to find it.
"naviseccli storage allocation commands generator"