Skip to main content
ONTAP tools for VMware vSphere 10

Recover the ONTAP tools setup

Contributors netapp-jani

Beginning with ONTAP tools for VMware vSphere 10.5, the backup feature is enabled by default.

The datastore where you deploy ONTAP tools for VMware vSphere virtual machines stores the backup files. A folder named after the ONTAP tools IP address (dots replaced by underscores and suffixed with OTV_backup) keeps the two most recent backup files (OTV_backup_1.tar.enc and OTV_backup_2.tar.enc) and an info file (OTV_backup_info.txt) that contains the name of the latest backup.

Ensure that the new virtual machine uses the same ONTAP tools IP address and matches the initial system configuration, including enabled services, node size, and HA mode.

Steps
  1. Download the backup files from the datastore of the original virtual machine to your local system.

    1. Go to the storage section and choose the datastore that contains the backup files for the virtual machine.

    2. Select the Files section.

    3. Download the required backup directory.

  2. Power off the existing virtual machine. Then, deploy a new virtual machine using the same OVA file as the original deployment.

  3. From the vCenter Server, open the maintenance console.

  4. Log in as the maintenance user.

  5. Enter 4 to select Support and Diagnostics.

  6. Enter 2 to select Enable remote diagnostic access option and create a new password for the diagnostic access.

  7. Choose a backup file from the downloaded directory. Refer to the OTV_backup_info.txt file to identify the latest backup.

  8. Use the following command to transfer the backup file to the new virtual machine. When prompted, enter the diagnostic password.

    scp <OTV_backup_X.tar.enc> diag@<node_ip>:/home/diag/system_recovery.tar.enc
    Note don't alter the destination path and file name (/home/diag/system_recovery.tar.enc) mentioned in the command.
  9. After the backup file is transferred, log in to the diagnostic shell and run the following command:

    sudo perl /home/maint/scripts/post-deploy-upgrade.pl -recovery

    The logs are recorded in /var/log/post-deploy-upgrade.log file.

After you complete the recovery, ONTAP tools restores services and vCenter objects.