Nutanix Common Commands

In Today’s article will look at some of the common Nutanix CLI Commands you must know. Commands listed below are some of the most useful and most frequently used Nutanix CLI commands.

How to Start Nutanix Cluster

To Start the Nutanix Cluster you need to run the below command on any of the CVM.

nutanix@NTNX-b8c39436-A-CVM:~$ cluster start

How to Stop Nutanix Cluster

To Stop the Nutanix Cluster you need to run the below command on any of the CVM.

nutanix@NTNX-b8c39436-A-CVM:~$ cluster stop

How to Check Nutanix Cluster Status

To check the Nutanix Cluster status need to run the below command on any of the CVM.

nutanix@NTNX-b8c39436-A-CVM:~$ cluster status

output will be as below.

How to get Nutanix Cluster Info

To get the Nutanix Cluster information need to run the below command on any of the CVM.

nutanix@NTNX-b8c39436-A-CVM:~$ ncli cluster info

How to get all Host IP Address in the Cluster

To get all hosts IP Address in the Cluster you need to run the below command on any of the CVM.

nutanix@NTNX-b8c39436-A-CVM:~$ hostips

How to get all CVM IP Address in the Cluster

To get all CVM IP Address in the cluster you need to run the below command on any of the CVM.

nutanix@NTNX-b8c39436-A-CVM:~$ svmips

How to Check if Hypervisor Upgrade State

To Check the Hypervisor(AHV, VMWare) Upgrade State, you need to run the below command.

nutanix@NTNX-b8c39436-A-CVM:~$ host_upgrade_status

Leave a comment