The article explains the considerations and steps to perform a storage vMotion for production Oracle RAC workloads to new or different storage array
VMware vSphere ESXi 7.0 U3x
VMware vSphere ESXi 8.0 x
Key points to remember:
Multi-writer attribute:
This setting on a shared VMDK allows multiple VMs to write to the same disk simultaneously, which is essential for an Oracle RAC cluster where all nodes need to access shared data.
Storage vMotion:
This VMware feature is used to migrate virtual machine disks to a different datastore without impacting running VMs.
Migration steps:
1. Prepare the cluster:
Backup data!: Ensure you have a recent backup of the RAC database before starting the migration process.
Disable HA: Temporarily disable High Availability (HA) on the RAC VMs to avoid automatic restarts during the migration.
2. Isolate shared disks:
Remove multi-writer flag: On all but one of the RAC VMs, remove the multi-writer attribute from the shared VMDKs.
3. Migrate VMs one by one:
Storage vMotion: Use Storage vMotion to migrate the first RAC VM (with the multi-writer flag on shared disks) to the new datastore.
Repeat for other VMs: Repeat the Storage vMotion process for each remaining RAC VM, migrating them to the new datastore, ensuring each VM is migrated individually.
4. Re-apply multi-writer flag:
Add multi-writer attribute: Once all VMs are on the new datastore, re-apply the multi-writer attribute to the shared VMDKs on all VMs.
5. Verify and re-enable HA:
Cluster verification: Check the RAC cluster functionality on the new datastore to ensure all nodes are properly communicating and accessing shared data.
Re-enable HA: Re-enable High Availability on the RAC VMs.
Important considerations:
Downtime:
Migrating an Oracle RAC cluster with shared disks typically involves some downtime as you need to temporarily disable the multi-writer attribute on the shared disks.
Cluster management:
Always coordinate the migration process with your cluster management tools to ensure consistency across all RAC nodes.
Best Practices:
Reference:
Storage vMotion for Production Oracle RAC Workloads with NO downtime – Same vSphere Cluster , Different Storage Array
https://blogs.vmware.com/apps/2018/03/around-storage-world-no-time-storage-vmotion-oracle-workloads.html