Disaster Recovery using VMware ESXi
This topic describes the backup and restore and disaster recovery functionality available for Routing Director on the VMware ESXi hypervisor.
Disaster Recovery
Back Up and Restore Using VMware Snapshots
You can use the snapshot functionality available on VMware vSphere and ESXi clients to back up and restore your Routing Director cluster and application configuration data. The backup procedure using the snapshot functionality can be performed while the microservices and applications are running and does not affect the operation of the network. The snapshot creates a copy of your cluster and application configuration information. The snapshot restore functionality enables you to restore your cluster on the same set of VMs from which the backup was taken. The VMs are suspended before performing a restore operation and the downtime associated with a restore operation is minimal.
Back Up Using VMware Snapshots
-
On VMware vSphere client
Log in to any of the cluster nodes.
Use the
request paragon health-checkParagon Shell command to ensure that your cluster is in good health. The status of the cluster must beGREEN.Log in to the VMware vSphere client which manages the Routing Director VMs.
Click on your cluster host in the VM inventory.
Your cluster node VMs are listed in the Virtual Machines tab under VMs.
Select all the VMs, right-click, and click Take snapshot. The snapshot creation dialog box appears.
Enter a name for the snapshot and a description. Also, select the Include virtual machine's memory check-box.
Click Create to create the snapshot. The snapshot creation takes a few minutes.
You can check the progress of the job under Recent Tasks or in the Task Console.
-
On VMware ESXi client
Log in to any of the cluster nodes.
Use the
request paragon health-checkParagon Shell command to ensure that your cluster is in good health. The status of the cluster must beGREEN.Log in to the VMware ESXi server on which your Routing Director VMs are located.
Select a cluster node VM listed under Virtual Machines, right-click and click Take snapshot. The snapshot creation dialog box appears.
Enter a name for the snapshot and a description. Also, select the Include virtual machine's memory check-box.
Click Create to create the snapshot.
Repeat steps 4 through 6 for the other three VMs and enter appropriate snapshot names when prompted.
Note:We recommend that you create snapshots of all the VMs one after the other as close as possible to each other in time.
(Optional) You can check the progress of the snapshot jobs under Recent Tasks or in the Task Console.
- Using APIs
You can also use the
snapshot.createoption to take snapshots of VMs using APIs. For more information, see https://github.com/vmware/govmomi/blob/main/govc/USAGE.md#snapshotcreate.
Restore Using VMware Snapshots
-
On VMware vSphere client
Log in to the VMware vSphere client which manages the Routing Director VMs and where the snapshots were previously taken.
Click your cluster host in the VM inventory.
Your cluster VMs are listed in the Virtual Machines tab under VMs.
Select all the VMs, right-click, and click Suspend to suspend the operation of the VMs. Do not restore the VMs when they are powered on.
Select a cluster node VM, right-click, and click Manage snapshots. The Manage snapshots page appears with a list of available snapshots.
Select the snapshot that you want to restore and click Restore snapshot.
Ensure that you select a snapshot that is recent and stable.
Repeat steps 4 through 5 for the other three VMs.
Alternatively, you can select a VM, right-click and click Revert to Latest Snapshot if your immediate last snapshot was the most stable version.
Note:We recommend that you restore snapshots of all the VMs one after the other as close as possible to each other in time. Do not wait for the snapshot restoration of any one VM to complete before restoring the other.
(Optional) You can check the progress of the job under Recent Tasks or in the Task Console.
- Once the restore process is complete, wait for a few minutes for the VMs to power-on and the cluster to stabilize.
- Log in to any of the cluster nodes.
Type the
show paragon cluster nodescommand in Paragon Shell. Ensure that the status of all the nodes isReady.Type the
show paragon cluster podscommand and ensure that the status of all the pods is eitherRunningorCompleted.Type the
request paragon health-checkcommand to ensure that your cluster is in good health. The status of the cluster must beGREEN.Note: If the cluster health-check does not return aGREENstatus, reboot all the nodes using therequest paragon reboot type clustercommand and recheck the status.
-
On VMware ESXi client
Log in to the VMware ESXi server on which your Routing Director VMs are located.
Select you cluster node VM listed under Virtual Machines, right-click and click Suspend to suspend the operation of the VM. Do not restore a VM when it is powered on.
Right-click the selected VM and click Manage snapshots. The Manage snapshots page appears with a list of available snapshots.
Select the snapshot that you want to restore and click Restore snapshot.
Ensure that you select a snapshot that is recent and stable.
Repeat steps 2 through 4 for the other three VMs.
Alternatively, you can select a VM, right-click and click Revert to Latest Snapshot if your immediate last snapshot was the most stable version.
Note:We recommend that you restore snapshots of all the VMs one after the other as close as possible to each other in time. Do not wait for the snapshot restoration of any one VM to complete before restoring the other.
(Optional) You can check the progress of the restore jobs under Recent Tasks or in the Task Console.
- Once the restore process is complete, wait for a few minutes for the VMs to power-on and the cluster to stabilize.
- Log in to any of the cluster nodes.
Type the
show paragon cluster nodescommand in Paragon Shell. Ensure that the status of all the nodes isReady.Type the
show paragon cluster podscommand and ensure that the status of all the pods is eitherRunningorCompleted.Type the
request paragon health-checkcommand to ensure that your cluster is in good health. The status of the cluster must beGREEN.
- Using APIs
You can also use the
snapshot.revertoption to restore backed-up snapshots of VMs using APIs. For more information, see https://github.com/vmware/govmomi/blob/main/govc/USAGE.md#snapshotrevert.