Should you no longer need an external PSC or embedded PSC/vCenter or if an appliance stops responding, you can decommission and delete the appliance from the vSphere domain and inventory.
Important Notes:
NOTE: BEFORE PROCEEDING, ENSURE OFFLINE SNAPSHOTS OF ALL PSCS and VCS IN THE SSO DOMAIN AND/OR BACKUPS ARE IN PLACE IMMEDIATELY PRIOR TO THIS OPERATION.
Prerequisite: Find and note the PSC that the vCenter Server is currently pointing to by running the below commands. If the vCenter has an Embedded PSC the output will indicate that it is pointing to itself:
For more information about re-pointing vCenter Server Appliances and all vCenter Server instances to another Platform Services Controller, see the techdocs.broadcom.com.
cmsso-util unregister --node-pnid External_Platform_Services_Controller_System_Name --username administrator@your_domain_name --passwd 'vCenter_Single_Sign_On_password'
Where External_Platform_Services_Controller_System_Name is the FQDN or IP address of the PSC that you want to decommission. You must run this command only on one of the PSC replication partners, as the synchronization removes the entries from all other PSC replication partners. Please enter vCenter_Single_Sign_On_password in quotes.
Note: there is downtime involved in executing the cmsso-util unregister command. It will restart the services on the node where you are executing the command.
Navigate to C:\Program Files\VMware\vCenter Server\bin\
Run the cmsso-util unregister command to unregister the stopped/powered off External PSC:
cmsso-util unregister --node-pnid External_Platform_Services_Controller_System_Name --username administrator@your_domain_name --passwd vCenter_Single_Sign_On_password
Where External_Platform_Services_Controller_System_Name is the FQDN or IP address of the PSC that you want to decommission. You must run this command only on one of the PSC replication partners, as the synchronization removes the entries from all other PSC replication partners. Please enter vCenter_Single_Sign_On_password in quotes.
Note: there is downtime involved in executing the cmsso-util unregister command. It will restart the services on the node where you are executing the command.
Delete the PSC appliance that you no longer need from the vSphere inventory.
cmsso-util unregister --node-pnid vCenterServer_System_Name --username administrator@your_domain_name --passwd 'vCenter_Single_Sign_On_password'
Where vCenter_Server_Appliance_System_Name is the FQDN or IP address of the vCenter Server Appliance that you want to decommission. Please enter the vCenter_Single_Sign_On_password in quotes.
Note: there is downtime involved in executing the cmsso-util unregister command. It will restart the services on the node where you are executing the command.
cmsso-util unregister --node-pnid vCenter_Server_System_Name --username administrator@your_domain_name --passwd 'vCenter_Single_Sign_On_password'
Where vCenter_Server_System_Name is the FQDN or IP address of vCenter Server that you want to decommission. Please enter the vCenter_Single_Sign_On_password in quotes.
Note: there is downtime involved in executing the cmsso-util unregister command. It will restart the services on the node where you are executing the command.
Note: Retry executing the the cmsso-util command without --passwd portion if the command fails immediately with error "Failed!!!". It will prompt for the SSO admin user password as indicated in the notes section at the top of the KB.
Note: (version 6.5 onwards) To get a list of vCenters and PSCs in the SSO domain, run the below command from a PSC or vCenter with Embedded PSC:
/usr/lib/vmware-vmafd/bin/dir-cli nodes list
This list will also indicate what type of node each machine in the SSO domain is. A Management node refers to a vCenter with an external PSC. A PSC node refers to either a PSC machine or a vCenter with Embedded PSC.