Tuesday, July 28, 2020

How to Unregister Nutanix Cluster from Nutanix Prism Central

As you read from the title, to unregister Nutanix Cluste from Nutanix Prism Central:


  1. Login to one of your Nutanix CVM

  2. execute this command:



ncli multicluster remove-from-multicluster external-ip-address-or-svm-ips=xxx.xxx.xxx.xxx username=admin password=nutanix/4u force=true


where xxx.xxx.xxx.xxx your prism central ip addresses.

please wait the process to finish

Cluster unregistration is currently in progress. This operation may take a while.

If You Failed! Error: No route to host (Host unreachable)




  1. Check your ip addresses

  2. If your prism central VM is powered off, then power on first

  3. If your prism central VM is deleted, you can delete the multicluster state and wait for new state to be created.



in one of your CVM:

ncli multicluster get-cluster-state


copy cluster-id:

[sourcecode]
Cluster Id : xxxnxnxnxn-xnxnxmx-xmnxmxmx-xjxmxmx
Cluster Name : Unnamed
Is Multicluster : true
Controller VM IP Addre... : [1.1.1.1]
External or Masqueradi... :
Controller VM NAT IP A... :
Marked for Removal : false
Remote Connection Exists : true
[/sourcecode]

then delete the state:

ncli multicluster delete-cluster-state cluster-id=xxxnxnxnxn-xnxnxmx-xmnxmxmx-xjxmxmx


xxxnxnxnxn-xnxnxmx-xmnxmxmx-xjxmxmx is your cluster Id.

How to Delete Nutanix Prism Central VM?

Prism Central VM is can't be deleted from Nutanix web interfaces. We should use acli (acropolis CLI) to delete the VM.

Identify the cluster on which the Prism Central VM that you wish to delete has been deployed. Copy the Prism Central VM name from this cluster.
Unregister and clean up all clusters registered to Prism Central. Follow KB-4944 for the steps to unregister and clean up a cluster from Prism Central.
Check if all clusters have been unregistered from Prism Central by executing the following command from any CVM in each cluster:

ncli> multicluster get-cluster-state

The output of the above command should return [None].

Delete the Prism Central VM.

SSH to any CVM of the cluster identified in step 1 (where Prism Central is running) and execute the command below, specifying the Prism Central VM name (also from step 1), to delete the Prism Central VM:

acli vm.delete

Other hypervisor

Login to the hypervisor management software, for example vCenter or SCVMM. Then select the Prism Central VM (also from step 1) and delete the Prism Central VM.
Check if the Prism Central VM has been deleted by logging into the cluster's Prism Element UI and browsing the VM section.

Sources: Nutanix Wiki