User Tools

Site Tools


storage:svc_replication_dr

SVC/V7000 disaster recovery for VMware with replication (MetroMirror)

Failover (when planned)

- Enable SSH service on ALL ESX at startup

- Stop all VM from VCenter

Always stop the Active Directory and VCenter at last !

Before stopping AD and VCenter check on which ESX they are active, because you will connect to the ESX directly to activate them.

- Unmap disks from PRODUCTION storage

- switch the disks to DR site (go to replication and switch the consistency group)

- Map disks from DR to all ESX

Never map both PRODUCTION and DR disks together on ESX, else ESX will see the same signature on multiple disks

- reboot ALL ESX servers

- Connect to each ESX using Vsphere client

- Connect to the ESX servers using SSH, and check the VMFS, if not reconnized

Mount each VMFS using < -n> option for non-persistent (if reboot, you need to replay this step)

The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
~ # esxcli storage core adapter rescan --all
~ # esxcli storage vmfs snapshot list
4e0adf0c-cefffef9-5203-00101886766c
   Volume Name: VMFS2
   VMFS UUID: 4e0adf0c-cefffef9-5203-00101886766c
   Can mount: true
   Reason for un-mountability:
   Can resignature: false
   Reason for non-resignaturability: the volume is being actively used
   Unresolved Extent Count: 1
~ # esxcli storage vmfs snapshot mount -n -l "VMFS2"

- Once ALL VMFS mounted on all ESX, connect to VIclient and start first the Active Directory, once booted, start the VCenter

- Then connect to Vcenter and start ALL VMs

Failback (when planned)

- Enable SSH service on ALL ESX at startup

- Stop all VM from VCenter

Always stop the Active Directory and VCenter at last !

Before stopping AD and VCenter check on which ESX they are active, because you will connect to the ESX directly to activate them.

- Unmap disks from DR storage

- switch the disks back to PRODUCTION site (go to replication and switch the consistency group)

- Map disks from PRODUCTION to all ESX

- reboot ALL ESX servers

- Connect to each ESX using Vsphere client, all VMFS should be ready for use

- Once ALL VMFS mounted on all ESX, connect to VIclient and start first the Active Directory, once booted, start the VCenter

- Then connect to Vcenter and start ALL VMs

storage/svc_replication_dr.txt · Last modified: 2021/01/01 21:25 (external edit)