After a recent vCenter upgrade from 6.7 to 7.x, the vSphere Replication Appliance configuration fails with the error 'dr.fault.ServiceNotFoundHost'.
The vCenter Servers were in linked mode.
vSphere Replication Appliance Version 8.X
We would see the mentioned issue when there is an issue with lookup service registrations on the vCenter for the vSphere Replication service.
1. Since the vCenter was in linked mode, it is important to take an offline snapshot of the vCenters and then proceed with the following task.
Use the 'python lsdoctor.py -r' to repair the lookup service registrations issue on the impacted vCenter.
Refer KB # Using the 'lsdoctor' Tool
1. copy and extract lsdoctor to the vCenter tmp folder.
2. Run “python lsdoctor.py -r”
3. Verify that you have taken the appropriate offline snapshots
4. Provide the password for your SSO administrator account
5. You will be presented with a menu:
NOTE: Version, Deployment type, and hostname references will be unique to your environment.
2. Choose option 2: Option 2 will take a backup of the existing lookup service registrations for this node, remove them, and register new ones based on a template. Most templates are provided in the templates directory, and you should only need to select a template if it doesn’t exist. If the template for your build of vCenter does not exist, you will be prompted to select one.
You should try to find the template that most closely matches your system.
Example: We noticed the following prompt after choosing option 2.
No template found for 24322018_7.0.3.02200_vcsa. Proceeding to file select.
2024-11-26T18:19:54 INFO fileSelect: Getting files from /Isdoctor/lsdoctor-240201/templates
Please select a file:
+++ Lines Removed +++
[91] 22837322_7.0.3.01800_vcsa.json
+++ Lines Removed +++
Select number: 91
2024-11-26T18:20:12 INFO fileSelect: Selected file: /Isdoctor/lsdoctor-240201/templates/22837322_7.0.3.01800_vcsa.json
Note : Based on the above example The vCenter Server 7.0 Update 3q was not listed in the template listed for lsdoctor -r operation hence we picked the build that is closest to 22837322_7.0.3.01800
Release name |
Version |
Date |
VAMI/Release Notes |
MOB/vpxd.log |
vCenter Server 7.0 Update 3q |
7.0.3.01900 |
21-05-2024 |
23788036 |
3. Once the 'python lsdoctor.py -r' with option 2 is completed, we need to restart the vCenter services on both the vCenters or reboot the vCenter servers, and then the vSphere replication appliance configuration should complete without any errors.
'python lsdoctor.py -r' : --rebuild This option is used when rebuilding one or all service registrations for a given node. This action performs the most significant changes, and extra care should be taken to ensure a safe rollback is possible