You can restore a CSM appliance if you have a backup.
You must restore a backup on a new installation of
CSM. If the old
CSM node is still available, you must power it off, before you start the restore process.
Note: You can only restore
CSM from an IP address backup. FQDN backups are not supported for
CSM.
Prerequisites
- Verify that you have the login credential for the backup file server.
- Verify that you have the SSH fingerprint of the backup file server. Only an SHA256 hashed ECDSA key is accepted as a fingerprint. See Find the SSH Fingerprint of a Remote Server.
- Verify that you have the passphrase of the backup file.
Procedure
- If the old CSM node is still available, power it off.
- Deploy a new CSM node with the same IP address of the original CSM node.
- From your browser, log in with admin privileges to a new CSM appliance.
- Select .
- Click the Restore tab.
- Click Restore Now. The Restore wizard opens.
- Select the check box on the Prerequisites screen.
- Provide details of the remote backup server:
- Enter the IP address or host name.
- Change the port number, if necessary.
The default is 22.
- To log in to the server, enter the user name and password.
- In the Backup Directory text box, enter the absolute directory path where the backups are stored.
- Enter the passphrase that was used to encrypt the backup data.
- Enter the SSH fingerprint of the server that stores the backups.
- Click Next.
- Select a backup. You can also get a list of available backups by logging in to the backup file server. See Listing Available Backups. Replace NSX Manager with CSM in these instructions, for example, when you are asked to log in to the NSX Manager to run a CLI command, log in to CSM instead.
- Click Restore.
You lose connectivity until the restore completes. The status of the restore operation is displayed. After the restore operation is completed, the Restore Complete screen is displayed, showing the result of the restore, the timestamp of the backup file, and the start and end time of the restore operation. If the restore failed, the screen displays the step where the failure occurred.
You can also determine the reason for a restore failure by selecting the log files. Run get log-file syslog
to view the system log file.
To restart CSM, run the service nsx-cloud-service-manager restart
command.
To reboot the CSM node, run the reboot
command.
- After the new CSM node is deployed, delete the original CSM VM that you powered down in Step 1.