If the Management vCenter Server stops responding or becomes corrupt as a result of a failure in the environment, to restore the Management vCenter Server, perform a direct-to-host emergency restore. vSphere Data Protection restores the VM that contains the vCenter Server or Platform Services Controller directly on the ESXi host that is running the vSphere Data Protection appliance.

About this task

You perform the direct-to-host emergency restore from backups of vCenter Server and Platform Services Controller that vSphere Data Protection has previously saved according to the settings in the backup job you have created. You cannot use a regular restore in this case because both the Management vCenter Server and the associated Platform Services Controller must be available.

Procedure

  1. Log in to the vSphere Data Protection Configure Utility.
    1. Open a Web browser and go to https://mgmt01vdp01.sfo01.rainpole.local:8543/vdp-configure.
    2. Log in using the following credentials.

      Setting

      Value

      User name

      root

      Password

      vdp_appliance_root_password

  2. Click the Configuration tab, in the Proxies table locate the ESXi host that runs the mgmt01vdp01 appliance and write down the FQDN of the host.
  3. Disconnect the ESXi host that is running the vSphere Data Protection appliance from the Management vCenter Server.
    1. On the Windows host that has access to your data center, log in to the ESXi host using the FQDN that you have located in the vSphere Data Protection Configure Utility and the following credentials. 

      Setting

      Value

      User name

      root

      Password

      esxi_root_user_password

    2. Navigate to the host object in the Navigator.
    3. Click the Actions tab and select Disconnect from vCenter Server.
    4. Click the Disconnect button in the Disconnect from vCenter Server dialog box.
  4. Restore the virtual appliance of the Management vCenter Server or Management Platform Services Controller.
    1. Open a Web browser and go to https://mgmt01vdp01.sfo01.rainpole.local:8543/vdp-configure.
    2. Log in using the following credentials.

      Setting

      Value

      User name

      root

      Password

      vdp_appliance_root_password

    3. Click the Emergency Restore tab.
    4. Expand the virtual appliance node for the Management vCenter Server or Management Platform Services Controller that you must restore, expand the virtual machine and select the latest backup to restore from.

      Role

      Virtual Appliance Name

      Management vCenter Server

      mgmt01vc01

      Platform Services Controller that is associated with the Management vCenter Server

      mgmt01psc01

    5. Click the Restore button .
    6. In the Host Credentials dialog box, enter the credentials for connection to the ESXi host that is running the vSphere Data Protection appliance and click OK button.

      ESXi Host Connection Option

      Value

      Hostname or IP

      Default value

      Port number

      443

      Username

      root

      Password

      esxi_root_user_password

    7. In the Restore a Backup dialog box, enter a new name for the restored VM in the New Name text box.

      Role

      Virtual Appliance Name

      Management vCenter Server

      mgmt01vc01.restored

      Platform Services Controller that is associated with the Management vCenter Server

      mgmt01psc01.restored

    8. From the Datastore drop-down menu, select the SFO01A-VSAN01-MGMT01 datastore and click Restore button.
    9. Repeat the step to restore the other appliance.
  5. Power on the Platform Services Controller virtual machine.
    1. In the vSphere Host Client connected to the host that runs the vSphere Data Protection appliance, navigate to the virtual machine of Platform Services Controller mgmt01psc01.restored. 
    2. Right-click the virtual machine and select Power > Power On.
  6. Wait until the appliance starts and verify the status of the Platform Services Controller services.
    1. Log in to the Platform Services Controller appliance shell as the root user.
    2. Run the service-control --status --all command to verify that all the services are running.
  7. Power on the vCenter Server virtual machine.
    1. In the vSphere Host Client connected to the host that runs the vSphere Data Protection appliance, navigate to the virtual machine of vCenter Server mgmt01vc01.restored.
    2. Right-click the virtual machine and select Power > Power On.
  8. Wait until the appliance starts and verify the status of the vCenter Server services.
    1. Log in to the vCenter Server appliance shell as the root user.
    2. Run the service-control --status --all command to verify that all the services are running.
    3. If the services are not running, run the vcenter-restore script in the following way.
      vcenter-restore -u administrator@vsphere.local -p vsphere_admin_password
  9. After the Management vCenter Server is up and running, use the vSphere Web Client to reconnect the ESXi host that is running the vSphere Data Protection appliance.
    1. Open a Web browser and go to https://mgmt01vc01.sfo01.rainpole.local/vsphere-client.
    2. Login using the following credentials.

      Setting

      Value

      User name

      administrator@vsphere.local

      Password

      vsphere_admin_password

    3. Right-click the host and select Connection > Connect.

What to do next

Verify that the Management Platform Services Controller and the Management vCenter Server are up and function flawlessly after restore. See Validate Platform Services Controller and vCenter Server Instances in the VMware Validated Design Operational Verification Guide documentation.