The following steps should be performed to backup the HCX manager before a software upgrade:
-
Log in to the appliance management interface: <https://hcx-ip-or-fqdn:9443>
-
Navigate to Administration > Troubleshooting > Backup & Restore.
-
At the FTP Server Settings section, configure an FTP or SFTP server for uploading the backup file.
-
After entering the IP/FQDN, Transfer Protocol, Username, Password and Backup directory location, click on SAVE.
-
Navigate to Backup & Restore > Check the box Upload to server > Click Generate.
-
The message Backup operation succeeded will indicate that the backup file has been uploaded to the FTP/SFTP server.
There are few prerequisites in order to restore a HCX Connector or Cloud Manager from the latest backup:
-
Make sure to power OFF the faulty system.
-
A new system must be deployed with same software version that was running before the upgrade.
-
The replacement system must have the same IP address, subnet mask, default gateway and DNS server settings.
The following procedure should be performed to restore HCX Connector or Cloud Manager from the latest backup once the new system has been deployed:
-
Log in to the appliance management interface: <https://hcx-ip-or-fqdn:9443>
.
-
Navigate to Administration > Troubleshooting > Backup & Restore.
-
At the Backup & Restore section, click on RESTORE to select the backup file.
The restoration process should start. It can take several minutes to complete and the below message will appear:
When the restoration process finishes successfully then below message will appear:
Restart appliance management service upon successful restore operation.
And make sure the appliance-management service STATUS is active
Verify that the system is operating properly:
-
Navigate to the Dashboard tab and confirm that the NSX and vCenter registration status is green.
-
Navigate to the Appliance Summary tab and verify that the Hybridity Services, Common Services and System Level Services are running.
Alternatively, the VMware snapshot feature can be used to preserve the state of the system right before a software upgrade. In the unlikely event of a problem after the upgrade, the HCX Connector or Cloud Manager VM can be reverted to the last snapshot.
IMPORTANT: It is strongly recommended for the HCX Connector or Cloud Manager to not have any active migration or configuration workflows while taking a snapshot.
Manager services should be shutdown before taking the snapshot. Those services can be restarted before proceeding with an upgrade.
Refer to HCX User Guide - Monitoring HCX Services for details on how to control the following services:
- Application Service
- Web Service
NOTE: VMware snapshot feature is not intended to be used as a long-term backup solution for any VM.