Nutanix’s OneClick upgrade is phenomenal tool which let’s you upgrade many components from single console
- AOS
- Hypervisor – AHV and ESXi
- BIOS,
- BMC firmware,
- disks firmware,
- NCC
- Prism Central
- Nutanix Files
and even more in upcoming releases. You can read more about OneClick Upgrade here
How to monitor Nutanix Acropolis upgrade.
#1 – from Prism
Go to Prism –> click on gear –> Upgrade Software –> Hypervisor
#2 – from a command line
Log in to any CVM in the cluster and
nutanix@NTNX-C-CVM:~$ upgrade_status 2016-11-01 12:44:49 INFO zookeeper_session.py:76 Using host_port_list: zk1:9876,zk2:9876,zk3:9876 2016-11-01 12:44:53 INFO upgrade_status:38 Target release version: el6-release-danube-4.7.2.1-stable-1d259ff878b2a21e5dd383b46236fa0e06cb4785 2016-11-01 12:44:53 INFO upgrade_status:43 Cluster upgrade method is set to: automatic rolling upgrade 2016-11-01 12:44:53 INFO upgrade_status:96 SVM 10.4.91.57 still needs to be upgraded. Installed release version: el6-release-danube-4.7.2-stable-67b64ffae7bdf93767ad825a911eeaa172f3b909, node is currently upgrading 2016-11-01 12:44:53 INFO upgrade_status:96 SVM 10.4.91.56 still needs to be upgraded. Installed release version: el6-release-danube-4.7.2-stable-67b64ffae7bdf93767ad825a911eeaa172f3b909 2016-11-01 12:44:53 INFO upgrade_status:96 SVM 10.4.91.58 still needs to be upgraded. Installed release version: el6-release-danube-4.7.2-stable-67b64ffae7bdf93767ad825a911eeaa172f3b909 nutanix@NTNXC-CVM:~$
How to restart an AOS upgrade, or stop upgrade, follow these steps:
- Log into a CVM via SSH
- enter the command “ cluster disable_auto_install”
- Restart genesis on all nodes using the command “cluster restart_genesis”
- Re-enable auto-install “cluster enable_auto_install”
- Restart genesis again
- Restart the upgrade through Prism
Thanks for the instructions on restarting the upgrade process. My hypervisor upgrade got stuck when one VM failed to migrate. Once I resolved that issue the upgrade didn’t resume on its own. But after running the four commands you listed, I was able to start it back up from Prism. Saved me a call to tech support.
Great tip!
Thanks!
Hi Artur,
How to upload AOS and upgrade nutanix cluster through Command line