VMware Cloud Community
MrVmware9423
Expert
Expert

Shared Datastore needs to be removed from one ESX Host.

Dear team

I have one HA enabled cluster, and two esx host is a member of the same. One SAN LUN is mapped to these ESX Hosts. Now i want to safely remove that datastore from one of the ESX Host , by keeping the data intact. Need VMware Expert asisstance on the same.

regards

Mr VMware

Reply
0 Kudos
3 Replies
MrVmware9423
Expert
Expert

Dear vGuy,

Once i follows the following steps will it remove from one ESX or all All ESX.

ESX/ESXi 4.1

Improvements in 4.1 means that hostd now checks whether a VMFS datastore is accessible or not before issuing I/Os to it. This is an improvement, but doesn't help with I/Os that are already in-flight when an APD occurs. The best practices for removing a LUN from an ESX 4.1 host, as described in detail in KB 1029786, are as follows:

  1. Unregister all objects from the datastore including VMs and Templates
  2. Ensure that no 3rd party tools are accessing the datastore
  3. Ensure that no vSphere features, such as Storage I/O Control, are using the device
  4. Mask the LUN from the ESX host by creating new rules in the PSA (Pluggable Storage Architecture)
  5. Physically unpresent the LUN from the ESX host using the appropriate array tools
  6. Rescan the SAN
  7. Clean up the rules created earlier to mask the LUN
  8. Unclaim any paths left over after the LUN has been removed

regards

Mr VMware

Reply
0 Kudos
vGuy
Expert
Expert

steps 4-8 should be performed for all the hosts...

Reply
0 Kudos