The Replication Server label is showing as ''127.0.0.1" in the Ongoing tab of the vSphere Replication UI.
Despite reconfiguring and rebooting the vSphere Replication Server, and confirming that DNS and the /etc/hosts file are correct, the 'Replication server' label incorrectly remains '127.0.0.1'.
No recent changes have been made to vSphere Replication Server certificates or the hostname.
VMware Live Recovery 9.x
There are 2 tables that hold VR server naming info.
- hbrserverentity .. ..... for LOCAL VR naming
- hbrserverinfoentity ...for REMOTE VR naming
vrmsdb=# select * from hbrsreverentity;
-[ RECORD 18 ]------------+------------------------------------------------------------------------------------------------movalue | HBRSRV-########-####-####-####-############internaljpaversion | #proxyurl |vsrv_address | 127.0.0.1vsrv_certificate | -----BEGIN CERTIFICATE-----| -----END CERTIFICATE-----|vsrv_path |vsrv_port | 8123vsrv_protocol | 1vsrv_sitename | #####.####.###.####vsrv_thumbprint | ##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##vsrv_uuid | ########-####-####-####-#############aggregateversion | #configurationurl | https://#####.####.###.####:5480/connected | tconnstatusupdaterequested | fhbrservername | 127.0.0.1hostid |hostuuid |maxsupporteddistdbversion |replicationtrafficaddress | ##.###.#.##vmmoid
vrmsdb=# select * from hbrserverinfoentity;-[ RECORD 1 ]--------------+------------------------------------------------------------------------------------------------uuid | ########-####-####-####-############aggregateversion | ##configurationurl | https://##.###.#.##:####/connected | tconnstatusupdaterequested | fname | 127.0.0.1repltrafficaddress | ##.###.#.##repltrafficport |resolvedrepltrafficaddress | ##.###.#.##sitename | #####.####.###.####tunnelid |uri | https://127.0.0.1:8123thumbprint | ##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##certificate | -----BEGIN CERTIFICATE----- | -----END CERTIFICATE-----
Take Snapshot for vSphere replication server.
Extract the present info. from the 2 VR Db tables
# select vmmoid, vsrv_address, hbrservername, replicationtrafficaddress from hbrserverentity;
# select uuid,configurationurl,name,sitename from hbrserverinfoentity
Collect the correct vSphere Replication server information like sitename, FQDN etc.
Update the Database table "hbrserverentity" with vSphere Replication Server name in "hbrservername" label.
To access database password use below command $/opt/vmware/hms/bin/embedded_db_connect.sh
To login to database use below command,
$cd /opt/vmware/vpostgres/current/bin/psql -U vrmsdb
To Update the database table run below command,
vrmsdb# update hbrserverentity set hbrservername = 'Name of VR server' where vsrv_address='127.0.0.1';
vrmsdb# select vmmoid, hbrservername, vsrv_address from hbrserverentity;
$systemctl restart hms
$systemctl restart hbrsrvUpdate the database table "hbrserverinfoentity" table with vSphere Replication Server name in "name" label.
To access database password use below command $/opt/vmware/hms/bin/embedded_db_connect.sh
To login to database use below command,
$cd /opt/vmware/vpostgres/current/bin/psql -U vrmsdb
To Update the database table run below command
vrmsdb# update hbrserverinfoentity set name='Name of VR server' where sitename = '';
vrmsdb# select uuid,configurationurl,name,sitename from hbrserverinfoentity;
$systemctl restart hms
$systemctl restart hbrsrv