Re-configure PSC from Embedded to External
This article will guide you steps to, Reconfigure PSC from embedded to External. To achieve this, first of all you need to install new PSC (it could be windows based or appliance based) in same SSO domain.
Scenario – VMware vCenter 6.0 U3D is setup with embedded PSC.
Step 1 - Deploy new appliance PSC (Same version / build number of vCenter Server)
Go to Cd-rom –> open vcsa-setup.html and choose install
Provide the required information. You can give vcenter name or ESXi name on which this PSC needs to be deployed.
Select the cluster where PSC needs to be deployed
Give the name of PSC and setup the password
Select the existing SSO Domain name.
Most important – Similarly you can verify SSO site name and domain by below method , if you have multiple SSO site and domains then this steps will help you to cross check correct SSO site.
For VCSA appliance
/usr/lib/vmware-vmafd/bin/vmafd-cli get-domain-name –server-name localhost
/usr/lib/vmware-vmafd/bin/vmafd-cli get-site-name –server-name localhost
Please refer David blog’s for more info SSO Site Name and Domain check
For windows embedded PSC
“C:\Program Files\VMware\vCenter Server\vmafdd\vmafd-cli.exe” get-ls-location –server-name localhost
Note – Installation path might very based on your environment setup
Please refer William Lam Blogs for More info SSO Site Name and Domain check
Select existing SSO Site name
Select the datastore where PSC needs to be deployed
Enter the appropriate network settings and click finish to start installation.
Step 2 - Once PSC is setup, login to Virtual Center with embedded PSC to verify if new PSC is properly joined to existing SSO domain or not
Please go to the below path
“vcenter installation directory\bin” folder and run below command to see PSC replication partner
vdcrepadmin.exe -f showservers -h localhost -u administrator -w “password”
Note – User should be SSO user.
Here you can see, new PSC is configured as partner with embedded PSC now.
Lets cross check if replication is happening between Embedded PSC and new PSC or not.
Step-3 Now we come to the most important steps, to reconfigure PSC from embedded to external
Go to below path
“vcenter installation directory\bin” and run below command
cmsso-util reconfigure –repoint-psc “New PSC FQDN or IP” –username administrator -passwd “password” -domain-name “sso domain name”
Lets verify if new vcenter is pointing to new PSC or not.
Go to advanced setting of vcenter server
Under config.vpxd.sso.sts.uri — you will see new PSC name
Or go to below path to verify
/usr/lib/vmware-vmafd/bin/vmafd-cli get-ls-location –server-name localhost
C:\Program Files\VMware\vCenter Server\vmafdd\vmafd-cli get-ls-location –server-name localhost
Hope this helps, feel free to comment 🙂