vCenter

 View Only
  • 1.  Error repointing PSC

    Posted Dec 11, 2018 06:39 AM

    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.



  • 2.  RE: Error repointing PSC

    Posted Dec 11, 2018 08:26 AM

    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



  • 3.  RE: Error repointing PSC

    Posted Dec 11, 2018 08:34 AM

    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



  • 4.  RE: Error repointing PSC

    Posted Dec 11, 2018 11:39 AM

    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?



  • 5.  RE: Error repointing PSC

    Posted Dec 12, 2018 06:51 AM

    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.