Nutanix Node Shutdown

How Can We Help?

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.
Previous Start Nutanix Cluster
Next Nutanix Cluster Shutdown
Table of Contents