Applicable Products
- QuTS hero h5.3.0 or later
- High Availability Manager
- Control Panel
Background
In a QNAP high-availability (HA) cluster, the active and passive nodes sync data and settings continuously via a heartbeat connection. To ensure system stability and proper cluster functionality, firmware updates are performed in a rolling manner so that there is always one node acting as the active node. This ensures uninterrupted service even if one node is undergoing a firmware update.
However, to maintain cluster stability, you cannot update firmware while the cluster is in any of the following statuses and situations:
- Error: For example, when the cluster detects storage corruption on the active node, split-brain, or failover failure.
- Processing: For example, when the cluster is performing operations such as failover, switchover, data synchronization, or adding or removing nodes.
- Warning: For example, when the cluster detects hardware mismatch between nodes, fan or power issues, degraded or read-only storage pools, abnormal network interfaces, or a heartbeat disconnection.
Rolling Update
In a rolling firmware update in an HA cluster, the system first updates the firmware on the passive node. After the passive node restarts, the system performs a switchover and then updates the firmware on the previous active node. Lastly, after the previous active node restarts, the system performs another switchover so that the nodes resume their original roles. This approach ensures continuous service throughout the update process.
Procedure
Important
Before you start updating firmware in an HA cluster, we strongly recommend the following:
- Ensure a stable network: Make sure the cluster and heartbeat connections are stable.
- Back up data: Back up all data before proceeding with the firmware update to prevent data loss.
- Pause operations: Stop all other system operations to ensure a smooth update process.
You can update firmware in an HA cluster via Control Panel or High Availability Manager.
- Log in to the active node as an administrator.
- Go to one of the following:
- Control Panel > System > Firmware Update
- High Availability Manager > Cluster > Manage > Update Firmware
After clicking OK in the confirmation window, you are redirected to the same Control Panel location listed above.Tip
You can also update the High Availability Manager app on both nodes by going to High Availability Manager > Cluster > Manage > Update High Availability Manager.
- Select one of the following update methods:
- Click Check for Updates.
This method automatically detects and installs the latest available version. - Go to Manual Installation, click Browse to upload a firmware file, and then click Update System.
This method allows you to update to a specific version.Tip
You can download firmware files for your specific NAS model from Download Center.
- Confirm the update in the confirmation window.
The system starts performing a rolling firmware update.
Further Reading
适用产品
- QuTS hero h5.3.0 or later
- High Availability Manager
- Control Panel
背景
在 QNAP 高可用性(HA)群集中,主动和被动节点通过心跳连接持续同步数据和设置。为了确保系统稳定性和群集功能正常,固件更新以滚动方式进行,以确保始终有一个节点作为主动节点。即使一个节点正在进行固件更新,这也能确保服务不中断。
然而,为了维护群集的稳定性,您不能在群集处于以下状态和情况时更新固件:
- 错误:例如,当群集检测到主动节点上的存储损坏、脑裂或故障转移故障时。
- 处理中:例如,当群集正在执行故障转移、切换、数据同步或添加或移除节点等操作时。
- 警告:例如,当群集检测到节点之间的硬件不匹配、风扇或电源问题、降级或只读存储池、异常网络接口或心跳连接断开时。
滚动更新
在 HA 群集中进行滚动固件更新时,系统首先更新被动节点上的固件。被动节点重启后,系统执行切换,然后更新之前主动节点上的固件。最后,在之前主动节点重启后,系统再次执行切换,使节点恢复其原始角色。这种方法确保在整个更新过程中服务持续。
步骤
重要
在开始更新 HA 群集中的固件之前,我们强烈建议以下事项:
- 确保网络稳定:确保群集和心跳连接稳定。
- 备份数据:在进行固件更新之前备份所有数据以防止数据丢失。
- 暂停操作:停止所有其他系统操作以确保更新过程顺利进行。
您可以通过控制台或 High Availability Manager 在 HA 群集中更新固件。
- 以管理员身份登录到活动节点。
- 前往以下之一:
- 控制台 > 系统 > 固件更新
- High Availability Manager > 群集 > 管理 > 更新固件
在确认窗口中点击 确定 后,您将被重定向到上述相同的控制台位置。提示
您还可以通过前往 High Availability Manager > 群集 > 管理 > 更新 High Availability Manager 来更新两个节点上的 High Availability Manager 应用。
- 选择以下更新方法之一:
- 点击 检查更新 。
此方法会自动检测并安装最新可用版本。 - 前往 手动安装,点击 浏览 上传固件文件,然后点击 更新系统 。
此方法允许您更新到特定版本。提示
您可以从 下载中心 下载适用于您特定 NAS 型号的固件文件。
- 在确认窗口中确认更新。
系统开始执行滚动固件更新。
进一步阅读