Prerequisite:
1. Make sure you have root and administrator@vsphere.local credential
2. Take offline snapshot of vCenter servers in ELM.
vCenter Server Appliance:
- Power off the vCenter Server Appliance you are decommissioning.
- SSH to one of the other working External PSC or Embedded PSC/vCenter appliance within the same SSO domain via root
- To enable the Bash shell, run:
shell.set --enabled true- Run the shell command to start the Bash shell and log in.
- Run the 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'
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.
- Delete the vCenter Server 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.
Form more details: https://kb.vmware.com/s/article/2106736
No comments:
Post a Comment