Nutanix - Node Reboot: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
 
Line 1: Line 1:
==Poweroff CVM and Reboot Node==
==Poweroff CVM and Reboot Node==
# Connect to <tt>'''<cluster>'''</tt> CVM
# Connect to <tt>'''<cluster>'''</tt> CVM
#: <tt>'''ssh nutanix@<cluster>.excellus.com
#: <tt>'''ssh nutanix@<cluster>.excellus.com'''</tt>
# Verify host and CVM IP addresses
# Verify host and CVM IP addresses
#: <tt>'''host.list'''</tt>
#: <tt>'''host.list'''</tt>

Latest revision as of 14:49, 29 January 2022

Poweroff CVM and Reboot Node

  1. Connect to <cluster> CVM
    ssh nutanix@<cluster>.excellus.com
  2. Verify host and CVM IP addresses
    host.list
  3. Gather list of VMs that are running on <host>
    acli host.list_vms <host_ip_address>
  4. Put <host> in maintenace mode, this will live-migrate all running VMs to other nodes
    acli host.enter_maintenance_mode <host_ip_address> wait=true
  5. Verify VMs have moved off host
    acli host.list_vms <host_ip_address>
  6. Shutdown the CVM on <host>
    ssh <cvm_ip_address>
    cvm_shutdown -P now
  7. Connect to node <host> & reboot
    ssh root@<host_ip_address>
    shutdown -r now
  8. Monitor the host boot process from the IPMI
    https://<IPMI_ip_address>
    Click: System Tab
    Click: Remove Console Preview
  9. Once node has completed reboot and is running, exit maintenance mode. All VMs will live-migrate back to this node
    host.exit_maintenance_mode <host_ip_address> wait=true
  10. Verify MVs are returning to original host
    acli host.list_vms <host_ip_address>