The Terraform script that deploys NSX Cloud components in your Microsoft Azure subscription, creates a Backup Policy using the Microsoft Azure Recovery Vault Services to back up all three NSX Manager nodes on a recurring basis.
If you want a backup of the only one node, you can edit the policy as necessary. The following instructions assume that all three NSX Manager nodes are backed up.
- Restore OS Disk for NSX Manager
- Restore one NSX Manager node by creating a new NSX Manager VM
- Restore all three NSX Manager nodes by creating three new NSX Manager VMs
Restore OS Disk for NSX Manager
- In your Microsoft Azure subscription, navigate to the backup screen listing all available backups of the NSX Manager VM, for example, .
- Click Restore VM and select a Restore Point.
- From Restore Virtual Machine select Create new under Restore Configuration and select Restore disks for Restore type.
The NSX Cloud management VNet information is auto-populated.
- Click Restore.
- The restored OS disk is saved in the same resource group as the NSX Manager VM. It is named as: <deployment_prefix>-nsx-mgr0-<original OS disk name>-<backup timestamp>, for example: mynsxmgr-osdisk-20201022-191737.
- Swap the old NSX Manager disk with the newly restored disk by navigating to .
Restore one NSX Manager node by creating a new NSX Manager VM
You can restore this NSX Manager node to a new VM while retaining its private IP address. Restore the OS disk first so that you can create a template using the disk and then deploy a new VM that retains the NSX Manager's private IP address.
- In your Microsoft Azure subscription, navigate to the backup screen listing all available backups of the NSX Manager VM, for example, if nsx-mgr0 node is corrupted and you want to restore it from a back up, go to .
- Click Restore VM and select a Restore Point.
- From Restore Virtual Machine select Create new under Restore Configuration and select Restore disks for Restore type.
The NSX Cloud management VNet information is auto-populated.
- Click Restore.
- The restored OS disk is saved in the same resource group as the NSX Manager VM. It is named as: <deployment_prefix>-nsx-mgr>[0,1,2]-<original OS disk name>-<backup timestamp>, for example: mynsxmgr-osdisk-20201022-191737.
- Delete the existing NSX Manager entities from the resource group:
- NSX Manager VM
- NSX Manager NIC and public IP
Note: If you want to retain NSX Manager's public IP address, you can do that by reassigning the existing NSX Manager NIC to the new NSX Manager VM. Do not delete the NSX Manager NIC in that case. If NSX Manager NIC is not usable and you must delete it, then your new NSX Manager VM is assigned a new NIC and a new public IP address.
- NSX Manager OS disk
- NSX Manager data disk
- Go to the OS disk restore created from the vault.
.
- Click the CSM VM with the Restore operation. This is the OS disk recently restored. Click Deploy Template.
- Update details as necessary for the new NSX Manager VM.
- Click Edit Template, change the private IP allocation method to static and provide the existing private IP address for the NSX Manager appliance. For example,
"resources": [ <...>, { <...>, "ipConfigurations": [ { "properties": { "privateIPAllocationMethod": "Static", "privateIPAddress": "192.168.43.11" <...>}, <...>
- Save the template, accept the terms and conditions, and click Purchase.
The new NSX Manager VM is deployed, retaining the same IP address as the old NSX Manager VM.
- Verify that the NSX Manager cluster is back to a healthy state. You can check cluster status using NSX CLI command
get cluster status
by logging in to any of the NSX Manager nodes using SSH. You can also check cluster status from the NSX Manager UI by going to in the NSX Manager UI.
Restore all three NSX Manager nodes
If all three of the NSX Manager nodes in the cluster must be restored, follow the same steps as described in Restore one NSX Manager node by creating a new NSX Manager VM to restore each node and then check cluster status.