VMware Cloud Community
tuu0312
Contributor
Contributor

Error repointing PSC

Hi everyone,

I build a lab with these information:

01 server installed DNS and Active Directory

02 server installed only PSC, name: psc1.tuna.local, psc2.tuna.local

01 server installed vcenter with extenal PSC pointed to psc1.

But when i run the command to repoint psc from psc1 to psc2, i receive the error like this:

C:\Program Files\VMware\vCenter Server\bin>cmsso-util repoint --repoint-psc psc2.tuna.local

C:\Program Files\VMware\vCenter Server\python-modules\identity\vmkeystore.py:4:

RuntimeWarning: to-Python converter for struct client already registered; second conversion method ignored.

  import identity.vmafd as vmafd

C:\Program Files\VMware\vCenter Server\python-modules\identity\vmkeystore.py:4:

RuntimeWarning: to-Python converter for class vmafd_exception already registered; second conversion method ignored.

  import identity.vmafd as vmafd

Validating Provided Configuration ...

Validation Completed Successfully.

Executing repointing steps. This will take few minutes to complete.

Please wait ...

2018-12-11T04:48:08.080Z   RC = 1

Stdout =

Stderr = Error 1: Possible errors:

LDAP error: Operations error

Win Error: Incorrect function.

Error:{

    "resolution": null,

    "detail": [

        {

            "args": [

                "Stderr: Error 1: Possible errors: \r\nLDAP error: Operations er

ror \r\nWin Error: Incorrect function.\r\r\n\r\n"

            ],

            "id": "install.ciscommon.command.errinvoke",

            "localized": "An error occurred while invoking external command : 'S

tderr: Error 1: Possible errors: \r\nLDAP error: Operations error \r\nWin Error:

Incorrect function.\r\r\n\r\n'",

            "translatable": "An error occurred while invoking external command :

'%(0)s'"

        }

    ],

    "componentKey": null,

    "problemId": null

}

Failed to set psc2.tuna.local as the new Platform Services Controller

-----------------------------------------------------------------------------------------------------------------------

Can anyone help me to resolve this problem? Thanks.

Tags (2)
Reply
0 Kudos
4 Replies
peetz
Leadership
Leadership

Greetings,

which vSphere version are you using?

Are the two PSCs part of the same SSO domain and the same SSO site?

Were both PSCs joined to Active Directory?

What version is the AD/DNS server?

Andreas

Twitter: @VFrontDe, @ESXiPatches | https://esxi-patches.v-front.de | https://vibsdepot.v-front.de
Reply
0 Kudos
tuu0312
Contributor
Contributor

Hi peetz

- I installed vcenter 6.0 on windows, not yet added any vsphere host

- PSCs are in same site, agreement replication between PSCs are created

     C:\Program Files\VMware\vCenter Server\vmdird>vdcrepadmin -f showservers -h psc1.tuna.local -u administrator -w P@ssw0rd

     cn=psc1.tuna.local,cn=Servers,cn=Site1,cn=Sites,cn=Configuration,dc=vsphere,dc=local

     C:\Program Files\VMware\vCenter Server\vmdird>vdcrepadmin -f showservers -h psc2.tuna.local -u administrator -w P@ssw0rd

     cn=psc2.tuna.local,cn=Servers,cn=Site1,cn=Sites,cn=Configuration,dc=vsphere,dc=local

     C:\Program Files\VMware\vCenter Server\vmdird>vdcrepadmin -f showpartners -h psc1.tuna.local -u administrator -w P@ssw0rd

     ldap://psc2.tuna.local

     C:\Program Files\VMware\vCenter Server\vmdird>vdcrepadmin -f showpartners -h psc2.tuna.local -u administrator -w P@ssw0rd

     ldap://psc1.tuna.local

- Both PSCs and vcenter are joined to AD

- AD and DNS are installed in Windows server 2012 R2

Reply
0 Kudos
peetz
Leadership
Leadership

So the external PSCs are also Windows machines or VCSA based?

Was the vCenter server ever installed with an embedded PSC that might not have been correctly removed?

Twitter: @VFrontDe, @ESXiPatches | https://esxi-patches.v-front.de | https://vibsdepot.v-front.de
Reply
0 Kudos
tuu0312
Contributor
Contributor

All machines are built in Windows Server 2012 R2.

The vCenter is installed with an external PSC point to psc1 and I want to test to repoint to psc2.

Reply
0 Kudos