Unable to emergency restore the virtual machine
search cancel

Unable to emergency restore the virtual machine

book

Article ID: 326936

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • Unable to login to the host even after entering the destination Host Credentials.
  • You see the error:

    Cannot validate host 'host.vm.local' due to runtime error. Please ensure the management services are running.
     
  • In the /space/avamar/var/vdr/server_logs/vdr-configure.log file, you see entries similar to:

    INFO [http-nio-8543-exec-6]-vi.ViJavaServiceInstanceProviderImpl: visdkUrl = https://host.vm.local:443/sdk
    INFO [http-nio-8543-exec-6]-service.AdapterUtils: avamar config file = /usr/local/avamar/var/mc/server_data/prefs/mcserver.xml
    INFO [http-nio-8543-exec-6]-network.NetworkInfoApi: Found IP Address: [192.168.105.100] link local? [false], site local? [true], loopback? [false]
    INFO [http-nio-8543-exec-6]-network.NetworkInfoApi: Found IP Address: 192.168.105.100
    WARN [http-nio-8543-exec-6]-server.AvamarServiceImpl: Did not find any existing vCenter Client with IP 192.168.101.11
    ERROR [http-nio-8543-exec-6]-client.Client: VCenterClient failed to create client "host.vm.local" in domain "/" - TaskInfo desc="Creatingclient" state=error event-data=
    ERROR [http-nio-8543-exec-6]-client.Client: VCenterClient failed to create client "host.vm.local" in domain "/" - TaskInfo desc="Creatingclient" state=error event-data=
    WARN [http-nio-8543-exec-6]-server.EsxHostServiceImpl: Cannot add host 'host.vm.local' to rootDomain: Probably cause is Management Services not running.
    ERROR [http-nio-8543-exec-6]-validator.HostValidatorImpl: ErrorCode=RE1014. Message: Cannot add host 'host.vm.local' to rootDomain: Probably cause is Management Services not running.


Environment

VMware vSphere Data Protection 6.1.x

Cause

This issue occurs because the Avamar Domain is added to the MCS service when you tried to add ESXi but failed.

Resolution

To resolve this issue:
  1. Run the command:

    mccli domain show --recursive

    Note: Make a note of the vdp domain host.vm.local (your ESXi host in this case) from the output.
     
  2. Delete the domain by running this command:

    mccli domain delete --name=host.vm.local --force

    In ESXi 6.0 Update 2 and ESXi 6.5, you must apply the hotfix attached to this article:
    1. Download the 2150921_vdp-hotfix.zip file attached to this article.
    2. Copy the 2150921_vdp-hotfix.zip file to the /home/admin/ on VDP appliance.
    3. Log in to the VDP appliance as admin user through SSH.
    4. Run the script:

      su - rootcd
      /home/admin/
      unzip 2146825_vdp-hotfix.zip
      chmod +x VDPHotfix.sh
      ./VDPHotfix.sh


      Note: the script was originally used to fixed the issue with vCenter Server 5.5, it will also apply in this case.
       
  3. Run the emergency restore.


Attachments

2150921_vdp-hotfix.zip get_app