tdubb123
Expert
Expert

cannot join 2 vcenters in linked mode

I am trying to join vcenter in site2 to vcenter in site1

So I go to site2 and run the linked mode configuration wizard

It fails with the following...

2014-08-10 22:40:20,292  com.vmware.vim.jointool] Loaded configuration file "C:\ProgramData\VMware\VMware VirtualCenter\instance.cfg"

[2014-08-10 22:40:20,370  com.vmware.vim.jointool] Initializing DB datasource from default: vcdb

[2014-08-10 22:40:20,370  com.vmware.vim.common.vdb.VdbConfig] Config name=vcdb

[2014-08-10 22:40:20,370  com.vmware.vim.common.vdb.VdbConfig] Property file=C:\ProgramData\VMware\VMware VirtualCenter\vcdb.properties

[2014-08-10 22:40:20,370  com.vmware.vim.common.vdb.VdbConfig] Loaded url from props=jdbc:sqlserver://RWVC\VIM_SQLEXP;databaseName=VIM_VCDB;integratedSecurity=true

[2014-08-10 22:40:20,370  com.vmware.vim.common.vdb.VdbConfig] Overrides=

[2014-08-10 22:40:20,495  com.vmware.vim.jointool] DB datasource initialized.

[2014-08-10 22:40:20,495  com.vmware.vim.jointool] JoinTool started

[2014-08-10 22:40:20,495  com.vmware.vim.jointool] Storage directory for LDAP instance: C:\ProgramData\VMware\VMware VirtualCenter\VMwareVCMSDS

[2014-08-10 22:40:20,495  com.vmware.vim.jointool] Operation Mode: join

[2014-08-10 22:40:20,526  com.vmware.vim.jointool] Service 'VMware VirtualCenter Management Webservices' is shutdown

[2014-08-10 22:40:20,542  com.vmware.vim.jointool] Service 'VMware VirtualCenter Server' is shutdown

[2014-08-10 22:40:20,542  com.vmware.vim.jointool] Verifying local VC linked mode capability

[2014-08-10 22:40:20,542  com.vmware.vim.jointool] Retrieving local license key from: ldap://127.0.0.1:389/ ldap://[::1]:389/  for VC instance: ED0AC852-FC13-44CA-96DE-FA6AAAC184EE

[2014-08-10 22:40:20,573  com.vmware.vim.jointool]

Key:4H480-4EHE4-J8H4C-0T0H6-18X10

DormantLicenseFilesPath:C:\Program Files\VMware\Infrastructure\VirtualCenter Server\licenses\site

[2014-08-10 22:40:20,636  com.vmware.vim.jointool] Verifying remote VC linked mode capability

[2014-08-10 22:40:22,632  com.vmware.vim.jointool] Retrieving license key from: ldap://xxxxxxxxxxxxxx:389/  for remote VC instance: 8B7430CE-9BB0-4484-86CD-A705AA60DAD4

[2014-08-10 22:40:22,742  com.vmware.vim.jointool]

Key:05480-4EKD4-N8H4C-091U2-0MG34

DormantLicenseFilesPath:C:\Program Files\VMware\Infrastructure\VirtualCenter Server\licenses\site

[2014-08-10 22:40:25,440  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Refreshing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@5684ce7a: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@5684ce7a]; startup date [Sun Aug 10 22:40:25 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:25,487  org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [com/vmware/vim/binding/vmodl/context.xml]

[2014-08-10 22:40:25,534  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Bean factory for application context [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@5684ce7a]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1c778255

[2014-08-10 22:40:25,550  org.springframework.beans.factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1c778255: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:25,628  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Closing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@5684ce7a: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@5684ce7a]; startup date [Sun Aug 10 22:40:25 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:25,628  org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1c778255: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:25,628  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Refreshing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@2b3d9460: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@2b3d9460]; startup date [Sun Aug 10 22:40:25 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:25,628  org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [com/vmware/vim/binding/vmodl/query/context.xml]

[2014-08-10 22:40:25,643  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Bean factory for application context [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@2b3d9460]: org.springframework.beans.factory.support.DefaultListableBeanFactory@36867fc9

[2014-08-10 22:40:25,643  org.springframework.beans.factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@36867fc9: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:25,690  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Closing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@2b3d9460: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@2b3d9460]; startup date [Sun Aug 10 22:40:25 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:25,690  org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@36867fc9: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:25,690  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Refreshing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@774d921a: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@774d921a]; startup date [Sun Aug 10 22:40:25 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:25,690  org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [com/vmware/vim/binding/vim/context.xml]

[2014-08-10 22:40:25,908  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Bean factory for application context [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@774d921a]: org.springframework.beans.factory.support.DefaultListableBeanFactory@7d858aa0

[2014-08-10 22:40:25,908  org.springframework.beans.factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7d858aa0: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:28,794  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Closing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@774d921a: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@774d921a]; startup date [Sun Aug 10 22:40:25 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:28,794  org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7d858aa0: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:28,794  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Refreshing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@67ba0609: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@67ba0609]; startup date [Sun Aug 10 22:40:28 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:28,794  org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [com/vmware/vim/binding/dataservice/context.xml]

[2014-08-10 22:40:28,794  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Bean factory for application context [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@67ba0609]: org.springframework.beans.factory.support.DefaultListableBeanFactory@678c862e

[2014-08-10 22:40:28,794  org.springframework.beans.factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@678c862e: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:28,810  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Closing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@67ba0609: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@67ba0609]; startup date [Sun Aug 10 22:40:28 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:28,810  org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@678c862e: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:28,810  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Refreshing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@34091772: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@34091772]; startup date [Sun Aug 10 22:40:28 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:28,826  org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [com/vmware/vim/binding/lookup/context.xml]

[2014-08-10 22:40:28,826  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Bean factory for application context [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@34091772]: org.springframework.beans.factory.support.DefaultListableBeanFactory@4c032069

[2014-08-10 22:40:28,826  org.springframework.beans.factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4c032069: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:28,826  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Closing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@34091772: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@34091772]; startup date [Sun Aug 10 22:40:28 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:28,826  org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@4c032069: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:28,841  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Refreshing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@63d5d048: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@63d5d048]; startup date [Sun Aug 10 22:40:28 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:28,841  org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [com/vmware/vim/binding/sso/context.xml]

[2014-08-10 22:40:28,857  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Bean factory for application context [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@63d5d048]: org.springframework.beans.factory.support.DefaultListableBeanFactory@16cb3542

[2014-08-10 22:40:28,857  org.springframework.beans.factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@16cb3542: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:28,904  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Closing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@63d5d048: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@63d5d048]; startup date [Sun Aug 10 22:40:28 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:28,904  org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@16cb3542: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:29,356  com.vmware.vim.sso.admin.client.vmomi.impl.AdminClientImpl] Client was created successfully

[2014-08-10 22:40:30,308  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Refreshing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@442cec33: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@442cec33]; startup date [Sun Aug 10 22:40:30 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:30,308  org.springframework.beans.factory.xml.XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [com/vmware/vim/binding/dataservice/context.xml]

[2014-08-10 22:40:30,308  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Bean factory for application context [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@442cec33]: org.springframework.beans.factory.support.DefaultListableBeanFactory@61472b3c

[2014-08-10 22:40:30,308  org.springframework.beans.factory.support.DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@61472b3c: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:30,308  com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext] Closing com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@442cec33: display name [com.vmware.vim.vmomi.core.types.impl.VmodlContextImpl$NonValidatingClassPathXmlApplicationContext@442cec33]; startup date [Sun Aug 10 22:40:30 PDT 2014]; root of context hierarchy

[2014-08-10 22:40:30,308  org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@61472b3c: defining beans [context]; root of factory hierarchy

[2014-08-10 22:40:30,308  com.vmware.vim.query.client.impl.ClientImpl] InitContext threw IllegalArgumentException:com.vmware.vim.binding.dataservice.QName

[2014-08-10 22:40:30,308  com.vmware.vim.query.client.impl.ClientImpl] This will happen if the context com.vmware.vim.binding.dataserviceis already initialized

[2014-08-10 22:40:30,308  com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl] Asynchronous execution requested but no Executor configured. The request will be executed as synchronous one.

[2014-08-10 22:40:30,791  com.vmware.vim.sso.admin.client.vmomi.impl.AdminClientImpl] Client was created successfully

[2014-08-10 22:40:30,807  com.vmware.vim.jointool] Operation "Join instance VMwareVCMSDS" failed: : Action: Join Instance

Action: Prepare for Join

Problem: Remote VC's xxxxxxxxxxxxxxx SSO domain ID is does not match.

[2014-08-10 22:40:30,807  com.vmware.vim.jointool] Recovering from failed Operation "Join instance VMwareVCMSDS"

[2014-08-10 22:40:30,807  com.vmware.vim.jointool] Recovery successful

[2014-08-10 22:40:30,807  com.vmware.vim.jointool] Execution error.

0 Kudos
3 Replies
abhilashhb
VMware Employee
VMware Employee

This issue occurs due to a delay in updating Service Directory entries.

Its fixed in 5.1 U2. Which version are you using?

Abhilash B
LinkedIn : https://www.linkedin.com/in/abhilashhb/

0 Kudos
ramkrishna1
Enthusiast
Enthusiast

Hi

Welcome to communities.

Hope after following  Abhilashhb steps you resolved .

If not please share error after updation.

0 Kudos
tdubb123
Expert
Expert

I am using u2a on both sides.

I ran the linked clone configuration from site 2 and try joining to site1 but does not work

0 Kudos