Unregister a Prism Central

  • 3 July 2020
  • 0 replies
  • 1368 views

Userlevel 2
Badge +2
  • Nutanix Employee
  • 10 replies

You may want to unregister a cluster from Prism Central for various reasons.

Currently, we don’t provide this option via the Prism GUI as to reduce the risk of accidentally unregistering a cluster. In recent releases, numerous key features such as micro-segmentation, CALM, Self-Service portal, Karbon etc require Prism Central and unregistration could result in these services being unavailable. 

 

However, if you still wish to unregister a cluster either because the cluster is decommissioned or to deploy a new PC, these are the high-level steps you would have to follow.


 

  1. SSH into any CVM in the cluster that needs to be unregistered and run the below command.
ncli multicluster remove-from-multicluster external-ip-address-or-svm-ips=<PC_IP_ADDRESS> username=<PC_USERNAME> password=<PC_PASSWORD> force=true
  • parameters: PC_IP_ADDRESS, PC_USERNAME, PC_PASSWORD


 

  1. SSH into the Prism Central VM and run the unregistration script.
python /home/nutanix/bin/unregistration_cleanup.py uuid
  • parameters: uuid is the cluster UUID (not PC UUID)

 

  1. SSH again into the CVM in the cluster and run the unregistration script here as well.
python /home/nutanix/bin/unregistration_cleanup.py uuid
  • parameters: uuid is the PC UUID (not cluster UUID)


For more detailed information and steps, make sure to look at KB-4944.


This topic has been closed for comments