VMware Live Recovery Error: vSphere Replication Server "Not accessible"
search cancel

VMware Live Recovery Error: vSphere Replication Server "Not accessible"

book

Article ID: 426484

calendar_today

Updated On:

Products

VMware Live Recovery VMware vSphere ESXi

Issue/Introduction

Symptoms :

  • vCenter UI shows VMware Live Recovery with error on vSphere replication not accessible,

  • Login on Prod VLR UI displays below error,

    Error - "Unable to acquire token from sso Server at "https://FQDN/sdk/dr.vsphere.local"

  • While running reconnect on Site Recovery UI, Error appears as per below screenshot,



  • This issue could be seen after vCenter certificates replacement/renewal.

Environment

VMware Live Recovery 9

Cause

  • Issue causes due to SSL thumbprint mismatch for vCenter endpoints.

  • Following errors are reported in dr.log of Live Site Recovery appliance:

    (from /opt/vmware/support/logs/dr-client/dr.log)

    Caused by: com.vmware.vim.vmomi.client.exception.SslException: Unable to connect to SSO Management Server at https://vcenter/sso-adminserver/sdk/vsphere.local. Reason: javax.net.ssl.SSLException: Certificate thumbprint mismatch.

            at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setError(ResponseImpl.java:265)

            at com.vmware.vim.vmomi.client.http.impl.HttpExchangeBase.setResponseError(HttpExchangeBase.java:381)

            at com.vmware.vim.vmomi.client.http.impl.HttpAsyncExchange$1$1.invokeWithinScope(HttpAsyncExchange.java:129)

    Caused by: javax.net.ssl.SSLException: Certificate thumbprint mismatch.

Resolution

Run below step fails to resolve the thumbprint mismatch issue, use the lsdoctor script as follows:

  1. Download the lsdoctor script from KB-80469

  2. Upload the script to the vCenter Server.

  3. Navigate to the directory where the script was uploaded.

  4. Extract the contents of the ZIP file:

# unzip lsdoctor.zip

Run the below command for issue check:

# python lsdoctor.py --l

  • Run the following command to fix the thumbprint mismatch (if reported):

    # python lsdoctor.py --trustfix

    Output : 

    root@###-#-#### [ /tmp/lsdoctor-251006 ]# python lsdoctor.py -t
        WARNING:  This script makes permanent changes.  Before running, please take *OFFLINE* snapshots
        of all VC's and PSC's at the SAME TIME.  Failure to do so can result in PSC or VC inconsistencies.
        Logs can be found here: /var/log/vmware/lsdoctor
    ####-##-##T17:24:25 INFO main: You are checking for and fixing SSL trust mismatches in the local SSO site.  NOTE:  Please run this script one PSC or VC per SSO site.
    Have you taken offline (PSCs and VCs powered down at the same time) snapshots of all nodes in the SSO domain or supported backups?[y/n]y

    Provide password for [email protected]:
    ####-##-##T17:24:51 INFO __init__: Retrieved services from SSO site: Default-First-Site
    ####-##-##T17:24:51 INFO findAndFix: Checking services for trust mismatches...
    ####-##-##T17:24:51 INFO findAndFix: Attempting to reregister ########-####-####-####-############ for ###-#-####.###.#####
    ####-##-##T17:25:00 INFO findAndFix: We found 42 mismatch(s) and fixed them :)
    ####-##-##T17:25:00 INFO main: Please restart services on all PSC's and VC's when you're done. 

 

5. After executing the script, restart the vCenter services to complete the fix.

# service-control --stop --all && service-control --start --all

6. Initiate the reconfiguration process on the VLR appliances at both sites. Following this, verify that the 'HMS' service and all other dependencies have successfully started.

Note: Please capture VLR and VC Snapshots before performing appliance reconfiguration.

Refer to the document to reconfigure VLR - Reconfigure the VMware Live Recovery Appliance

Perform reconnect of Site Pair post reconfiguring SRM's, refer - Reconnect the Connection Between Sites.

7. From the SRM UI, use the 'Reconnect' option to re-establish the site pairing.