Nutanix - Node Reboot

From UNIX Systems Administration
Revision as of 14:40, 29 January 2022 by Michael Kohler (talk | contribs) (Created page with "==Nutanix - Node Reboot== Connect to #:<tt>'''<cluster>'''</tt> CVM #:<tt>'''ssh nutanix@<cluster>.excellus.com Verify host and CVM IP addresses #:<tt>'''host.list'''</tt> G...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Nutanix - Node Reboot

Connect to #:<cluster> CVM

  1. ssh nutanix@<cluster>.excellus.com

Verify host and CVM IP addresses

  1. host.list

Gather list of VMs that are running on #:<host>

  1. acli host.list_vms <host_ip_address>

Put <host> in maintenace mode, this will live-migrate all running VMs to other nodes

  1. acli host.enter_maintenance_mode <host_ip_address> wait=true

Verify VMs have moved off host

  1. acli host.list_vms <host_ip_address>

Shutdown the CVM on #:<host>

  1. ssh <cvm_ip_address>
    cvm_shutdown -P now

Connect to node #:<host> & reboot

  1. ssh root@<host_ip_address>
    shutdown -r now

Monitor the host boot process from the IPMI

  1. https://<IPMI_ip_address>
    Click: System Tab
    Click: Remove Console Preview

Once node has completed reboot and is running, exit maintenance mode. All VMs will live-migrate back to this node

  1. host.exit_maintenance_mode <host_ip_address> wait=true

Verify MVs are returning to original host

  1. acli host.list_vms <host_ip_address>