Reboot Node?

  • 15 July 2017
  • 2 replies
  • 11 views

Badge
What is the best way to restart a Node and CVM with Acropolis AHV? I need to reboot each node but 1 at a time and only documentation i can find it how to shut them down.

This topic has been closed for comments

2 replies

Badge +6
Look here.
Especially "Node shutdown".

Shutting Down a Node in a Cluster (AHV)Before you beginShut down guest VMs that are running on the node, or move them to other nodes in the cluster.Caution: You can only shut down one node for each cluster. If the cluster would more than one node shut down, shut down the entire cluster.1. If the Controller VM is running, shut down the Controller VM. 1. Log on to the Controller VM with SSH. 2. Put the node into maintenance mode.nutanix@cvm$ acli host.enter_maintenance_mode host_ID [wait="{ true | false }" ]Replace host_ID with the host ID of the host.Specify wait=true to wait for the host evacuation attempt tofinish. 3. Shut down the Controller VM.nutanix@cvm$ cvm_shutdown -P now2. Log on to the Acropolis host with SSH.3. Shut down the host.root@ahv# shutdown -h nowStarting a Node in a Cluster (AHV)1. Log on to the Acropolis host with SSH.2. Find the name of the Controller VM.root@ahv# virsh list --all | grep CVMMake a note of the Controller VM name in the second column.3. Determine if the Controller VM is running. * If the Controller VM is off, a line similar to the following should be returned: - NTNX-12AM2K470031-D-CVM shut offMake a note of the Controller VM name in the second column. * If the Controller VM is on, a line similar to the following should be returned: - NTNX-12AM2K470031-D-CVM running4. If the Controller VM is shut off, start it.root@ahv# virsh start cvm_nameReplace cvm_name with the name of the Controller VM that you found from the preceding command.5. If the node is in maintenance mode, log on to the Controller VM and take thenode out of maintenance mode.nutanix@cvm$ acli host.exit_maintenance_mode host exit6. Log on to another Controller VM in the cluster with SSH.7. Verify that all services are up on all Controller VMs.nutanix@cvm$ cluster statusIf the cluster is running properly, output similar to thefollowing is displayed for each node in the cluster: CVM: 10.1.64.60 Up Zeus UP [3704, 3727, 3728, 3729, 3807, 3821] Scavenger UP [4937, 4960, 4961, 4990] SSLTerminator UP [5034, 5056, 5057, 5139] Hyperint UP [5059, 5082, 5083, 5086, 5099, 5108] Medusa UP [5534, 5559, 5560, 5563, 5752] DynamicRingChanger UP [5852, 5874, 5875, 5954] Pithos UP [5877, 5899, 5900, 5962] Stargate UP [5902, 5927, 5928, 6103, 6108] Cerebro UP [5930, 5952, 5953, 6106] Chronos UP [5960, 6004, 6006, 6075] Curator UP [5987, 6017, 6018, 6261] Prism UP [6020, 6042, 6043, 6111, 6818] CIM UP [6045, 6067, 6068, 6101] AlertManager UP [6070, 6099, 6100, 6296] Arithmos UP [6107, 6175, 6176, 6344] SysStatCollector UP [6196, 6259, 6260, 6497] Tunnel UP [6263, 6312, 6313] ClusterHealth UP [6317, 6342, 6343, 6446, 6468, 6469, 6604, 6605, 6606, 6607] Janus UP [6365, 6444, 6445, 6584] NutanixGuestTools UP [6377, 6403, 6404]
Userlevel 7
Badge +26
FYI - a Prism wizard that orchestrates a rolling reboot has been added in the latest version. Check the gear menu under Request Reboot.