VMware vSphere

 View Only

 Removing LUNs in vCenter

hoken bengtsson's profile image
hoken bengtsson posted Dec 17, 2024 10:33 AM

Hi

Im retiring an old SAN, it is currently presenting around 50 LUNs.

I have 7 Hosts connected to this SAN.

Im also reinstalling ESXi on these 7 hosts, but vCenter 7.0 will remain as is.

I will not connect the new ESXi installations to the old SAN.

Would vCenter have an issue with this?

Would vCenter complain that all of a sudden the LUNs have disappeared?

Or

Should I gracefully remove all LUNs manually before I reinstall ESXi on the hosts?

Thank you

vmotiontheinfo's profile image
vmotiontheinfo

Hello 

I have a few questions for you
Where is your vCenter Server running? I hope it is not running on the old SAN which you want to decommission.

If you are not going to have data on those ESXi, then you can go ahead and just reinstall the OS on those Hosts and once they come back up present the new SAN to them. Since you will reinstall OS on those, you would anyway have to connect those Hosts back to the vCenter Server (even if you don't re-IP & provided vCenter VM is deployed on some other Host which remains running).

Hope this helps

Francesco Grimaldi's profile image
Francesco Grimaldi

Hi, first of all, use Storage vMotion to move the vCenter VM from the old SAN to the new one or to a temporary local datastore. After that, make sure you’ve evacuated all the necessary VMs from the old SAN, and then you can delete the various datastores relying on the 50 LUNs you mentioned. I recommend taking a gradual approach and reinstalling one ESXi host at a time, then progressively adding it back to vCenter. There’s not much to do on the LUNs themselves; simply, after deleting all the datastores using those LUNs, you can go to the old SAN, remove the ESXi hosts, and then on the ESXi side, perform a storage rescan to force the hosts to update the status of all LUNs. I hope I’ve been clear.