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 commands below. If the vCenter has an Embedded PSC, the output will indicate that it is pointing to itself:
/usr/lib/vmware-vmafd/bin/vmafd-cli get-ls-location --server-name localhostshell.set --enabled trueshell command to start the Bash shell and log in.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 vCenter_Server_Appliance_System_Name is the FQDN or IP address of the vCenter Server Appliance that you want to decommission.
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.
shell.set --enabled true
shell command to start the Bash shell and log in.cmsso-util unregister Command to unregister the vCenter Server Appliance:cmsso-util unregister --node-pnid vCenterServer_System_Name --username administrator@your_domain_name --passwd 'vCenter_Single_Sign_On_password'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.
Note: Retry executing the cmsso-util command without the --passwd portion if the command fails immediately with the 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 command below 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.