VMware Cloud Community
AndrewSW
Contributor
Contributor
Jump to solution

Server connection error to Linked Mode

There are 6 servers connected and operating in Linked Mode. The connected server is:
UST-VC-CORE.corp.sw-tech.by

Additionally, I want to connect the 7th server to the LINKED MODE:
vsphereETP.corp.sw-tech.by

Connect to the vsphereetp.corp.sw-tech.by and introduce the command:

 

 

sudo cmsso-util domain-repoint --mode execute --src-emb-admin administrator --replication-partner-fqdn UST-VC-CORE.corp.sw-tech.by --replication-partner-admin administrator --dest-domain-name vsphere.workshop

But when connected, an error appears:

 

Starting License export ... Done
Export Service Data ... Done
Uninstalling Platform Controller Services ... Done
Stopping all services ... Done
Updating registry settings ... Done
Re-installing Platform Controller Services ... Done
Registering Infra services ... Failed
Repoint failed. Restore from backup

 

In the cmsso_util.log log file:

 

2021-09-22T08:52:15.495Z INFO cmsso_util Registering endpoint with id 3d1124d0-0297-43be-9dc7-5ede12e67422
2021-09-22T08:52:15.496Z INFO cmsso_util Changing domain names in spec file: /storage/domain-data/service-phase-data/specs/3d1124d0-0297-43be-9dc7-5ede12e67422.spec
2021-09-22T08:52:15.496Z INFO cmsso_util Running command ['/usr/java/jre-vmware/bin/java', '-Djava.security.properties=/etc/vmware/java/vmware-override-java.security', '-cp', '/usr/lib/vmware/common-jars/commons-logging-1.1.3.jar:/usr/lib/vmware/common-jars/slf4j-api-1.7.30.jar:/usr/lib/vmware/common-jars/httpclient-4.5.3.jar:/usr/lib/vmware/common-jars/httpcore-4.4.6.jar:/usr/lib/vmware-sca/lib/lookup-client.jar:/usr/lib/vmware-sca/lib/*:/usr/lib/vmware-sca/lib', '-Dlog4j.configuration=tool-log4j.properties', 'com.vmware.vim.lookup.client.tool.LsTool', 'register', '--url', 'https://vsphereetp.corp.sw-tech.by:443/lookupservice/sdk', '--user', 'administrator@vsphere.workshop', '--id', '3d1124d0-0297-43be-9dc7-5ede12e67422', '--spec', '/storage/domain-data/service-phase-data/specs/3d1124d0-0297-43be-9dc7-5ede12e67422.spec', '--password', '*****CENSORED*****']
2021-09-22T08:52:22.504Z INFO cmsso_util End point 3d1124d0-0297-43be-9dc7-5ede12e67422 registered
2021-09-22T08:52:22.505Z INFO cmsso_util Registering endpoint with id c86086e9-1f60-4ccc-9a78-750e1df469f2
2021-09-22T08:52:22.505Z INFO cmsso_util Changing domain names in spec file: /storage/domain-data/service-phase-data/specs/c86086e9-1f60-4ccc-9a78-750e1df469f2.spec
2021-09-22T08:52:22.505Z INFO cmsso_util End point c86086e9-1f60-4ccc-9a78-750e1df469f2 already exists
2021-09-22T08:52:22.506Z INFO cmsso_util Running command ['/usr/java/jre-vmware/bin/java', '-Djava.security.properties=/etc/vmware/java/vmware-override-java.security', '-cp', '/usr/lib/vmware/common-jars/commons-logging-1.1.3.jar:/usr/lib/vmware/common-jars/slf4j-api-1.7.30.jar:/usr/lib/vmware/common-jars/httpclient-4.5.3.jar:/usr/lib/vmware/common-jars/httpcore-4.4.6.jar:/usr/lib/vmware-sca/lib/lookup-client.jar:/usr/lib/vmware-sca/lib/*:/usr/lib/vmware-sca/lib', '-Dlog4j.configuration=tool-log4j.properties', 'com.vmware.vim.lookup.client.tool.LsTool', 'reregister', '--url', 'https://vsphereetp.corp.sw-tech.by:443/lookupservice/sdk', '--user', 'administrator@vsphere.workshop', '--id', 'c86086e9-1f60-4ccc-9a78-750e1df469f2', '--spec', '/storage/domain-data/service-phase-data/specs/c86086e9-1f60-4ccc-9a78-750e1df469f2.spec', '--password', '*****CENSORED*****']
2021-09-22T08:52:28.195Z INFO cmsso_util lstool register services failed: 1
2021-09-22T08:52:28.195Z INFO cmsso_util Failed to register services during repointing
2021-09-22T08:52:28.195Z INFO cmsso_util  Failed
2021-09-22T08:52:28.196Z ERROR cmsso_util Failed to Re-install PSC services 
2021-09-22T08:52:28.196Z INFO cmsso_util Embedded Domain Repoint Service Command Phase Failed. Please check logs
2021-09-22T08:52:28.196Z INFO cmsso_util Failed executing <cis.service_data.DcServicesCommand object at 0x7f073b39bd90>
2021-09-22T08:52:28.196Z ERROR cmsso_util Re-pointing operation has failed during execution mode.
2021-09-22T08:52:28.197Z INFO cmsso_util Repoint failed. Restore from backup

 


This KB 79516 does not help

I will be glad any help

0 Kudos
1 Solution

Accepted Solutions
AndrewSW
Contributor
Contributor
Jump to solution

Made so that the services are always registered regardless of existence.
To do this, in the /usr/lib/vmware/site-packages/cis/service_command_utils.py file, the string 231 replaced the 'reregister'> 'register'.
After that, the compound in Linked Mode passed without errors.

View solution in original post

0 Kudos
1 Reply
AndrewSW
Contributor
Contributor
Jump to solution

Made so that the services are always registered regardless of existence.
To do this, in the /usr/lib/vmware/site-packages/cis/service_command_utils.py file, the string 231 replaced the 'reregister'> 'register'.
After that, the compound in Linked Mode passed without errors.

0 Kudos