Start Nutanix Cluster

To start a cluster:

  1. Log on to any CVM in the cluster with SSH.
  2. Start the cluster status: nutanix@cvm$ cluster start
  3. Get the Nutanix cluster: nutanix@cvm$ cluster status

After you have verified that the cluster is up and running and there are no services down, you can start guest VMs.

Nutanix Node Shutdown

To shutdown a node:

  1. Log on to the CVM with SSH and note the value of the Hypervisor IP for the node you want to shut down.
  2. Place the node in maintenance mode:
    $ acli host.enter_maintenance_mode host_ID [wait=”{ true | false }” ]
  3. Shut down the Controller VM: $ cvm_shutdown -P now
  4. Log on to the AHV host with SSH.
  5. Shut down the host: $ shutdown -h now

To start a Node:

  1. If the node is turned off, turn it on (otherwise, go to the next step).
  2. Log on to the AHV host with SSH.
  3. Find the name of the CVM by executing the following on the host:
    virsh list –all | grep CVM
  4. Examining the output from the previous command, if the CVM is OFF, start it from the prompt on the host: virsh start cvm_name

    Note: The cvm_name is obtained from the command run in step 3.
  5. If the node is in maintenance mode, log on to the CVM over SSH and take it out of maintenance mode:
    acli host.exit_maintenance_mode AHV-hypervisor-IP-address
  6. Log on to another CVM in the cluster with SSH.
  7. Confirm that cluster services are running on the CVM (make sure to replace cvm_ip_addr accordingly): ncli cluster status | grep –A 15 cvm_ip_addr
    1. Alternatively, you can use the following command to check if any services are down in the cluster: cluster status | grep -v UP
  8. Verify that all services are up on all CVMs.

Useful Nutanix CLI Commands

There are two commands for CLI acli and ncli

Acropolis Command-Line Interface (aCLI)
Acropolis provides a command-line interface for managing hosts, networks, snapshots, and VMs.

Accessing the Acropolis CLI
To access the Acropolis CLI, log on to a Controller VM in the cluster with SSH and type acli at the shell prompt.
To exit the Acropolis CLI and return to the shell, type exit at the prompt.

Nutanix Command-Line Interface (nCLI)
The Nutanix command-line interface (nCLI) allows you to run system administration commands against the Nutanix cluster from any of the following machines:

Your local machine (preferred) ncli needs to be downloaded and installed first.
Any Controller VM in the cluster

Viewing Network configuration log on to the Controller VM (CVM)

To view link speed and status
nutanix@cvm$ manage_ovs show_interfaces
name mode link speed
eth0 1000 True 1000
eth1 1000 True 1000
eth2 10000 True 10000
eth3 10000 True 10000

To show the ports and interfaces that are configured as uplinks
nutanix@cvm$ manage_ovs –bridge_name bridge show_uplinks
Bridge: br0
Bond: br0-up
bond_mode: active-backup
interfaces: eth3 eth2 eth1 eth0
lacp: off
lacp-fallback: false
lacp_speed: slow