Migrating RDM Backing Files for Clustered Virtual Machines
search cancel

Migrating RDM Backing Files for Clustered Virtual Machines

book

Article ID: 306792

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

This article provides steps to move the underlying backing files of an MSCS virtual machine between datastores.
 
Note: This article is intended for RDM based clusters and not shared VMDK clusters.
 

Symptoms:

  • You cannot perform a VMware vMotion or Storage vMotion operation on Microsoft Cluster (WSFC) virtual machines with shared disk configurations.
  • Virtual machines with SCSI bus sharing enabled fail to migrate while powered on.
  • Cold migration of a virtual machine with Raw Device Mapping (RDM) may result in the RDM being converted to a VMDK file if not handled correctly.

Environment

VMware vCenter Server 8.0.x
VMware vCenter Server 7.x
VMware vCenter Server 6.x

 

 

Cause

  • RDM disks maintain SCSI-3 persistent reservations for cluster coordination
  • Storage operations can disrupt these reservations
  • Disk device reconnection during vMotion can trigger cluster protective measures
  • Clustered RDMs maintain SCSI-3 persistent reservations for cluster coordination. Live storage operations (Storage vMotion) are unsupported as they can disrupt these reservations and trigger cluster protective measures (failover or disk offline).

Resolution

Caution: Before performing the proceeding steps, take a full backup of all virtual machines and document RDM mappings details.
 
Note: VMware recommends to performing these steps in a maintenance window as Cluster VMs will be powerOff.
 
  • To move the underlying backing files of an Clustered virtual machine between datastores:
    1. Shutdown the virtual machine 1.
    2. Remove (but do not delete) the RDM pointers from virtual machine 1.
    3. Cold migrate virtual machine 1 to the destination datastore.
    4. Shutdown the virtual machine 2.
    5. Create new RDM pointers on virtual machine 1.
    6. Power on virtual machine 1.
    7. Verify operating system and application functionality of virtual machine 1.
    8. Remove and delete the RDM pointers from virtual machine 2.
    9. Cold migrate virtual machine 2 to the destination datastore.
    10. Add existing RDM pointers (created in step 5) to virtual machine 2.
    11. Power on virtual machine 2.
    12. Verify cluster functionality.
    13. End maintenance window.

Additional Information

  • vMotion and Storage vMotion are not supported on Microsoft Cluster (MSCS) virtual machines with a shared disk configuration.
For more information about recreating RDM mappings, see: