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. See Find the SSH Fingerprint of a Remote Server.
  • Verify that you have the passphrase of the backup file.

Procedure

  1. If the old CSM node is still available, power it off.
  2. Deploy a new CSM node with the same IP address of the original CSM node.
  3. From your browser, log in with admin privileges to a new CSM appliance.
  4. Select System > Utilities > Tools.
  5. Click the Restore tab.
  6. Click Restore Now. The Restore wizard opens.
  7. Select the check box on the Prerequisites screen.
  8. Provide details of the remote backup server:
    1. Enter the IP address or host name.
    2. Change the port number, if necessary.
      The default is 22.
    3. To log in to the server, enter the user name and password.
    4. In the Backup Directory text box, enter the absolute directory path where the backups are stored.
    5. Enter the passphrase that was used to encrypt the backup data.
    6. Enter the SSH fingerprint of the server that stores the backups.
  9. Click Next.
  10. 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.
  11. 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.

  12. After the new CSM node is deployed, delete the original CSM VM that you powered down in Step 1.