Search
  • Preetam Zare

Basic commands using ncli -101

In order to use ncli you must SSH using nutanix/nutanix/4u. Now if you can use any of CVM IP.

In my case I used Cluster IP (192.168.1.180) and you can see below it is directing me to 192.168.1.162. After logged in type in ncli to see prompt below


nodetool ring –h localhost

How to check cluster redundancy ?

cluster get-redundancy-state

How to check metadata store is enabled?Metadata store enabled on the node

ncli host list | grep “Metadata store enabled on the node”

login to CVM and issue cvm_shutdown 1


List down number of containers

container ls

List Virtualmachines

virtualmachine list

Find Cluster specific information. I have highlighted the important once.

Cluster info

Share this:

  1. Facebook

  2. LinkedIn

  3. Twitter

  4. WhatsApp

  5. Reddit

0 views

©2019 by virtual2Cloud. Proudly created with Wix.com