HPE Nimble Storage Solution Specialists
1827802 Members
2341 Online
109969 Solutions
New Discussion

How to remove multiple volumes from initiatorgroup

 
Mamo2k21
Occasional Contributor

How to remove multiple volumes from initiatorgroup

Hi,

We are using VMware ESXi Cluster and we are in a process of decommisioning few of the ESXi Servers. Now we need to remove multiple volumes from ESXi initiatorgroup. How can I achieve this ?

Every ESXi Server has its initiatorgroup. 

Please help!!!

3 REPLIES 3
SprinkleJames
Valued Contributor

Re: How to remove multiple volumes from initiatorgroup

Hello,

For each volume, you'd have to edit the settings of the volume, go to the Access section, and remove the initiator groups of your decommissioned servers. Once there are no more volumes assigned to an initiator group, you can then remove that initiator group.

Unfortunately, Nimble didn't make the GUI very convenient for this task if you have many volumes. If you have more than a handful of volumes to edit in this way, it's best to script it using the CLI or PowerShell.

Mamo2k21
Occasional Contributor

Re: How to remove multiple volumes from initiatorgroup

Hi James,

Thanks for your input, 

I tried installing the Powershell Tool Kit, but that seems to be not working.

For Example, I got this cmdlet, Remove-NSAccessControlRecord

Remove-NSAccessControlRecord -id 06747bc404c9780944000000000000000000000012

I would like to remove the volumes from specified initiatorgroup rather then all initiatorgroup

But getting errors for above, I tried referring to examples, still not working… ☹

image_2021-11-09_124738.png
 

 

 

 

Johannes_we
Frequent Advisor

Re: How to remove multiple volumes from initiatorgroup

I was coming accross your post and had pretty much the same issue.  Figured it out now and here is a blogpost on how to do so.

https://www.mydailyitlessons.net/2022/09/removing-a-bunch-of-hosts-from-nimble-using-powershell