10.8. Managing updates¶
Acronis Cyber Infrastructure supports non-disruptive rolling updates. Cluster nodes are updated one by one, with the data availability unaffected. During the update, the node enters maintenance mode and its workloads and VMs are migrated to other nodes. After the update, the node returns to operation. For more information on the maintenance mode, refer to Performing node maintenance.
Take note of the following before you start updating nodes:
- Nodes must be updated only in the admin panel or via the
vinfra
tool (refer to Managing updates). Do not useyum update
. - Disable any third-party repositories.
- To check for and download updates, the cluster must be healthy and each node in the infrastructure must be able to open an outgoing Internet connection. This means that nodes must not be offline, and the cluster DNS must be configured and point to a DNS table to resolve external host names. For more details, refer to Adding external DNS servers.
- Unassigned nodes can be updated.
- Updates are applied to one cluster node at a time.
To update the storage cluster from the admin panel, do the following:
Open the Settings > Updates screen. The date of the last check is displayed in the upper right corner. Click the round arrow to check for new updates. If updates are available for a node, that node’s update status changes to Available.
Click Download in the upper right corner to get the updates. When the updates are downloaded to a node, its update status changes to Ready to install. After the updates have been downloaded for all of the nodes, the button will change to Install. Click it to continue.
In the Install updates window, choose how to proceed if a node needs to be rebooted but cannot enter maintenance mode. To avoid downtime, nodes that need to be rebooted are placed in maintenance mode one by one during the update. Nodes that cannot enter maintenance mode are skipped and not updated by default. By selecting the check box, you can instead stop the update if some of the nodes cannot enter maintenance mode. Nodes that have already been updated will remain so. Click Install.
While the updates are being installed, you can pause or cancel the process.
If you have chosen to abort the update in case some of the nodes cannot enter maintenance, and at least one node actually cannot enter it, then a window will open showing the reasons for that. You will need to decide how to proceed. You can cancel the update, solve the issues, and retry updating without downtime. Or you can force the update on the listed nodes at once. In the latter case, the nodes in question will be rebooted, potentially causing a downtime of services running on them.
After the update is complete, the node statuses will change to Up to date.
To update the kernel with ReadyKernel, refer to Updating kernel with ReadyKernel.