To resolve this issue, you must ensure that the LUNs are uniformly presented across all ESXi/ESX hosts when sharing MSCS RDM LUNs between the nodes. Specifically, the LUN ID for each LUN must be the same for all ESXi/ESX hosts.
If the LUN IDs are not the same across all ESXi/ESX hosts in the cluster, the mappings must be corrected to a consistent state.
To confirm the issue and correct the LUN mapping for consistency:
- Check and make note of the LUN ID that each ESXi/ESX host in the cluster is using to identify the RDM volume. For instructions, see Identifying disks when working with VMware ESX/ESXi.
- Modify the SAN to ESXi/ESX host LUN ID mappings. Contact your storage administrator or storage vendor to assist you in configuring the LUN presentation appropriately. They must present the data LUN(s) with exactly the same LUN ID(s) to all ESXi/ESX hosts.
Note: It is a better practice to assign the LUN to a new, previously unused LUN ID and present that ID to the cluster, this helps to avoid potential conflicts.
- After the LUN ID presentation changes are applied, restart the affected ESXi/ESX hosts to detect the new configuration. You can do this by using a rolling reboot approach, migrating virtual machines off each host in turn using vMotion.
- After all ESXi/ESX hosts in the cluster are rebooted, you see a consistent LUN ID across all hosts.
Workaround:
To work around this issue:
- While adding hard disk to additional nodes of cluster, instead of selecting Existing Hard Disk under New device drop-down menu, select RDM Disk under New device drop-down menu and click Add.
- Select the LUN naaid which was added to the first node of the cluster. The LUN number may be different on this host.
- Verify that disk got added successfully.