Nutanix - Node Reboot: Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
==Nutanix - Node Reboot== | ==Nutanix - Node Reboot== | ||
Connect to <tt>'''<cluster>'''</tt> CVM | #Connect to <tt>'''<cluster>'''</tt> CVM | ||
#:<tt>'''ssh nutanix@<cluster>.excellus.com | #:<tt>'''ssh nutanix@<cluster>.excellus.com | ||
Verify host and CVM IP addresses | #Verify host and CVM IP addresses | ||
#:<tt>'''host.list'''</tt> | #:<tt>'''host.list'''</tt> | ||
Gather list of VMs that are running on <tt>'''<host>'''</tt> | #Gather list of VMs that are running on <tt>'''<host>'''</tt> | ||
#:<tt>'''acli host.list_vms <host_ip_address>'''</tt> | #:<tt>'''acli host.list_vms <host_ip_address>'''</tt> | ||
Put <host> in maintenace mode, this will live-migrate all running VMs to other nodes | #Put <host> in maintenace mode, this will live-migrate all running VMs to other nodes | ||
#:<tt>'''acli host.enter_maintenance_mode <host_ip_address> wait=true'''</tt> | #:<tt>'''acli host.enter_maintenance_mode <host_ip_address> wait=true'''</tt> | ||
Verify VMs have moved off host | #Verify VMs have moved off host | ||
#:<tt>'''acli host.list_vms <host_ip_address>'''</tt> | #:<tt>'''acli host.list_vms <host_ip_address>'''</tt> | ||
Shutdown the CVM on <tt>'''<host>'''</tt> | #Shutdown the CVM on <tt>'''<host>'''</tt> | ||
#:<tt>'''ssh <cvm_ip_address>'''</tt> | #:<tt>'''ssh <cvm_ip_address>'''</tt> | ||
#:<tt>'''cvm_shutdown -P now'''</tt> | #:<tt>'''cvm_shutdown -P now'''</tt> | ||
Connect to node <tt>'''<host>'''</tt> & reboot | #Connect to node <tt>'''<host>'''</tt> & reboot | ||
#:<tt>'''ssh root@<host_ip_address>'''</tt> | #:<tt>'''ssh root@<host_ip_address>'''</tt> | ||
#:<tt>'''shutdown -r now'''</tt> | #:<tt>'''shutdown -r now'''</tt> | ||
Monitor the host boot process from the IPMI | #Monitor the host boot process from the IPMI | ||
#:<tt>'''https://<IPMI_ip_address>'''</tt> | #:<tt>'''https://<IPMI_ip_address>'''</tt> | ||
#:<tt>'''Click: System Tab'''</tt> | #:<tt>'''Click: System Tab'''</tt> | ||
#:<tt>'''Click: Remove Console Preview'''</tt> | #:<tt>'''Click: Remove Console Preview'''</tt> | ||
Once node has completed reboot and is running, exit maintenance mode. All VMs will live-migrate back to this node | #Once node has completed reboot and is running, exit maintenance mode. All VMs will live-migrate back to this node | ||
#:<tt>'''host.exit_maintenance_mode <host_ip_address> wait=true'''</tt> | #:<tt>'''host.exit_maintenance_mode <host_ip_address> wait=true'''</tt> | ||
Verify MVs are returning to original host | #Verify MVs are returning to original host | ||
#:<tt>'''acli host.list_vms <host_ip_address>'''</tt> | #:<tt>'''acli host.list_vms <host_ip_address>'''</tt> |
Revision as of 14:41, 29 January 2022
Nutanix - Node Reboot
- Connect to <cluster> CVM
- ssh nutanix@<cluster>.excellus.com
- Verify host and CVM IP addresses
- host.list
- Gather list of VMs that are running on <host>
- acli host.list_vms <host_ip_address>
- 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
- Verify VMs have moved off host
- acli host.list_vms <host_ip_address>
- Shutdown the CVM on <host>
- ssh <cvm_ip_address>
- cvm_shutdown -P now
- Connect to node <host> & reboot
- ssh root@<host_ip_address>
- shutdown -r now
- Monitor the host boot process from the IPMI
- 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
- host.exit_maintenance_mode <host_ip_address> wait=true
- Verify MVs are returning to original host
- acli host.list_vms <host_ip_address>