PSC HA 6.5: 5a – Run the PSC HA 6.5 Scripts

Two scripts are need to complete the configuration of PSC 6.5 HA for use with a Load Balancer.

The first is updateSSOConfig.py. This script updates information local to each PSC and must be run on all PSCs participating in the HA instance.

The second is updateLsEndpoint.py. This script updates the ServiceRegistration Endpoints within VMDir. This script only needs to be run on one of the PSCs.

updateSSOConfig.py

Ensure you have changed directory into /usr/lib/vmware-sso/bin

cd /usr/lib/vmware-sso/bin

Run the updateSSOConfig.py script, passing in your Load Balanced FQDN as a variable

python updateSSOConfig.py --lb-fqdn=psc-ha-vip.domain.com

Important: Ensure you perform this step on all PSCs participating in the HA instance.

updateSSOConfig.py – Windows PSC

Ensure you have changed directory into C:\Program Files\VMware\vCenter Server\vmware-sso\bin

cd C:\Program Files\VMware\vCenter Server\vmware-sso\bin

Run the updateSSOConfig.py script, passing in your Load Balanced FQDN as a variable

"C:\Program Files\VMware\vCenter Server\python\python.exe" updateSSOConfig.py --lb-fqdn=psc-ha-vip.domain.com

Important: Ensure you perform this step on all PSCs participating in the HA instance.

updateLsEndpoint.py

UPDATE 2017-07-31:

If you are on 6.5.0a, 6.5.0c, 6.5.0d do NOT use the updateLsEndpoint.py file shipped with the release. Use the attached copy from 6.5.0 GA – download here.

If you are running 6.5 U1 then you already have a fixed updateLSEndpoint.py script and can continue as normal.

Ensure you have changed directory into /usr/lib/vmware-sso/bin

cd /usr/lib/vmware-sso/bin

Run the updateLsEndpoint.py script, passing in your Load Balanced FQDN, Administrator User name and Administrator Password as variables.

python UpdateLsEndpoint.py --lb-fqdn=psc-ha-vip.domain.com --user=administrator@vsphere.local --password=VMware123$

Important: You only need to perform this step on a single PSC node.

updateLsEndpoint.py – Windows PSC

Ensure you have changed directory into C:\Program Files\VMware\vCenter Server\vmware-sso\bin

cd C:\Program Files\VMware\vCenter Server\vmware-sso\bin

Run the updateLsEndpoint.py script, passing in your Load Balanced FQDN, Administrator User name and Administrator Password as variables.

"C:\Program Files\VMware\vCenter Server\python\python.exe" UpdateLsEndpoint.py --lb-fqdn=psc-ha-vip.domain.com --user=administrator@vsphere.local --password=VMware123$

Important: You only need to perform this step on a single PSC node.

Next: Validate PSC HA 6.5