For AI agents: the complete documentation index is available at https://docs.us.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.us.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.us.ovhcloud.com/en/hosted-private-cloud/nutanix-on-ovhcloud/update-nutanix-cluster-firmware.md.
  • English

How to Update Your Nutanix Cluster Firmware

View as Markdown

This article provides you with the steps to update the Nutanix cluster's firmware by putting each node into maintenance, before rebooting one node at a time in rescue mode.

Our services will take over to apply updates and firmware and will restart the node thereafter.

Warning

NOTE: Before following the steps below, log in to your OVHcloud Control Panel and create a support ticket, requesting a firmware update. Make sure to provide the OVHcloud support teams with all technical information regarding your cluster.

This guide explains how to update your Nutanix cluster firmware.

Requirements

Instructions

Before any other action, log in to your Prism Element interface and perform the following tasks:

  • Check that the cluster's "Data Resiliency Status" is OK.

This can be verified on the main dashboard of your Prism Element interface:

Nutanix update firmware - Update Nutanix cluster firmware - step 1

  • Run an NCC check.

In the Prism Element interface, click Health from the main menu.

Nutanix update firmware - Update Nutanix cluster firmware - step 2

 

Then click Actions to the right and click Run NCC Checks.

Nutanix update firmware - Update Nutanix cluster firmware - step 3

 

Select All checks and click Run.

Nutanix update firmware - Update Nutanix cluster firmware - step 4

 

A log file called /home/nutanix/data/logs/ncc-output-latest.log will be generated at the end of the checks.

Please analyze it carefully. If you find errors or failures in the cluster or service state, do not continue and contact OVHcloud support.

Warning

NOTE: It is possible to run NCC checks on the CVM by typing the following command from a terminal.

ncc health_checks run_all

Enabling maintenance mode

Nodes will be updated one by one, the Nutanix cluster will continue to work properly.

To log in to CVM, you can launch IPMI from your OVHcloud Control Panel or use a terminal.

Warning

NOTE: Before putting the host into maintenance, ensure that the remaining hosts have enough resources to host migrated VMs from it (CPU, memory, storage).

 

Connect to CVM

At the login prompt, log in with root credentials to access the host terminal.
Then open an SSH connection to any CVM with Nutanix credentials to access the CVM terminal.

Nutanix update firmware - Update Nutanix cluster firmware - step 5

 

Check nodes state

Once logged in, check that:

  • Node state status is set to AcropolisNormal.
  • Schedulable column is set to True for all nodes.

Then run the following command to check:

acli host.list

Nutanix update firmware - Update Nutanix cluster firmware - step 6

If all checks are OK, you need to check that the current host state can be changed to Maintenance. To do so, use the following command:

acli host.enter_maintenance_mode_check <Hypervisor_IP>

Nutanix update firmware - Update Nutanix cluster firmware - step 7

 

Put a node in maintenance mode

Warning

NOTE: VMs with specific policies (like affinity, CPU passthrough, etc.) should be stopped manually before running maintenance as they will not migrate.

If all hosts are eligible to enter maintenance mode, put the first host into maintenance mode with the following command:

acli host.enter_maintenance_mode 192.168.0.1 wait=true

Nutanix update firmware - Update Nutanix cluster firmware - step 8

Warning

NOTE: When hosts enter maintenance mode, all hosted VMs will be migrated to other hosts without any interruption.

Shut down the CVM

Once the host is in maintenance mode, CVM can be shut down with the following command:

cvm_shutdown -P now

Nutanix update firmware - Update Nutanix cluster firmware - step 9

With root credentials, open a terminal on the node that hosts the CVM and confirm that the CVM is stopped:

virsh list --all

Nutanix update firmware - Update Nutanix cluster firmware - step 10

On the main dashboard, the "Data Resiliency Status" will become Critical, the cluster is now running with two nodes.

Nutanix update firmware - Update Nutanix cluster firmware - step 11

The CVM is now shut down.

 

Reboot to rescue mode

Log in to the OVHcloud Control Panel, go to the Hosted Private Cloud, choose the Nutanix solution, and select your cluster.

Nutanix update firmware - Update Nutanix cluster firmware - step 12

 

Identify the node to boot in rescue mode by using the following OVHcloud API call:

  • serviceName: Enter the cluster name.

You can then identify your node name:

Nutanix update firmware - Update Nutanix cluster firmware - step 13

Once you have retrieved the name of the node to reboot in rescue mode, select this node in your OVHcloud Control Panel.

In the Boot section, click the ... button then click Edit.

Nutanix update firmware - Update Nutanix cluster firmware - step 14

 

Change the netboot by choosing Boot in rescue mode, choose the rescue-customer version, and click Next.

Nutanix update firmware - Update Nutanix cluster firmware - step 15

 

Confirm your choice.

Nutanix update firmware - Update Nutanix cluster firmware - step 16

 

Once confirmed, a green message will confirm that the netboot has been updated.

Click again the ... button and click Restart.

Nutanix update firmware - Update Nutanix cluster firmware - step 17

The server will reboot. Optionally, you can open an IPMI session to follow the reboot process of your node.

When the node is booted into rescue-customer, update your support ticket with this information to notify the OVHcloud support teams that they can proceed with the firmware update.

Our support teams will finish the necessary updates, meaning they will:

  • Restart the node on the local disk, which will start the Nutanix system and the CVM automatically.
  • Update the ticket to let you know when the node can exit from maintenance mode.

At this time, the node will be up and running. Follow the next step to exit maintenance mode.

 

Exit from maintenance mode

After updating the node, our services will reboot the node from its local disk. The Nutanix software will load AOS and the CVM will automatically start.

Once the system is up and running, log in to the CVM and run the following command:

acli host.list

As you can see in the output example below, the first node is still in maintenance mode.

Nutanix update firmware - Update Nutanix cluster firmware - step 18

To remove the node from maintenance mode, run the following command:

host.exit_maintenance_mode 192.168.0.1

The host exits the Maintenance state and goes back to the Normal state.

Nutanix update firmware - Update Nutanix cluster firmware - step 19

Migrated VMs from this node automatically move from other nodes to it.

On the main dashboard, the "Data Resiliency Status" will revert to OK. The cluster also returns to its normal state.

Nutanix update firmware - Update Nutanix cluster firmware - step 20

Proceed with the remaining nodes one at a time with the same steps.

Please do not open a new ticket, just add comments on the same ticket for each node, specifying the name of the server (example: ns123456.ip-169-254-10.eu).

 

Go further

Browse all the Nutanix guides.

Browse the rest of the OVHcloud US documentation for guides on our other products and services.

Learn more about Nutanix on OVHcloud on the OVHcloud US website.