Applicable products
- Container Station
- QuTS Hero h5.3.0
Overview
Starting with QuTS Hero h5.3.0 and Container Station 3.1.0, the storage space format used for container data has been improved to support high availability (HA).
To fully support HA, you need to convert the storage space format to ensure compatibility with HA features.
Important
To enable high availability in Container Station, you must install Container Station version 3.1.0 or later. The process automatically checks for HA compatibility and guides you through the necessary adjustments if your storage space format is not compatible.
Note
If your current storage space format does not support HA, a warning will appear on the High Availability tab in the Preferences page.
Do I need to convert the storage format before enabling high availability?
If you set up a high availability (HA) pair without first converting the storage space format in Container Station to one compatible with HA, the system will continue using the original, non-HA-compatible format. This will remain in effect until a role switch occurs, either a switchover or a takeover. Once the role switch takes place, Container Station automatically creates a new storage volume in the HA-compatible format. This new format will be used moving forward and cannot be reverted unless Container Station is removed.
Important
The original data stored in the non-HA-compatible format will not be synchronized to the HA pair. If you need to access this data, follow the steps below carefully.
How can I recover data from a non-HA-compatible format?
To retrieve data stored in the non-HA-compatible storage format, please following the below steps:
- Access the original device where the non-HA-compatible data was stored.
Ensure you are logging in to the NAS unit that originally hosted the Container Station data before the HA-compatible volume was created. - Uninstall Container Station from the device.
- Reinstall Container Station.
Important
During installation, when prompted to select a directory, choose the one that contains your original data. Do not select an empty folder, as this will cause the system to create a new HA-compatible volume and your original data will not be detected.
- Start Container Station.
A dialog will appear asking whether you want to load HA-compatible or non-HA-compatible data. - Select the Use a non-HA-compatible data option and click Confirm.
Changing the storage space format in Container Station
Prerequisites
- Stop all containers and applications in Container Station.
- Create backups or exports of all container data.
- Remove existing images and containers after backup.
- Refer to Docker documentation for guidance on Compose-related backups and restorations.
Procedure
- Open Container Station.
- Locate the Support QuTS hero High Availability notification in the top-right corner.
Note
Alternatively, you can go to Preferences > QuTS High Availability to begin the storage space format conversion process.
- Click Support QuTS hero High Availability.
- In the pop-up window, click Convert Format.
- Click Start in the next window.
- Confirm you have backed up your data by checking the box.
- Click Next to proceed.
- Wait for the process to complete, then click Finish.
Further reading
适用产品
- Container Station
- QuTS hero h5.3.0
概述
从 QuTS hero h5.3.0 和 Container Station 3.1.0 开始,用于容器数据的 存储 空间格式已改进以支持 高可用性 (HA)。
为了完全支持 HA,您需要转换 存储 空间格式以确保与 HA 功能的兼容性。
重要
要在 Container Station 中启用 高可用性,您必须安装 Container Station 版本 3.1.0 或更高版本。该过程会自动检查 HA 兼容性,并在您的 存储 空间格式不兼容时指导您进行必要的调整。
注意
如果您当前的 存储 空间格式不支持 HA,警告将出现在高可用性标签页中偏好设置页面。
在启用 高可用性 之前,我需要转换 存储 格式吗?
如果您在未先将 Container Station 中的 存储 空间格式转换为与 HA 兼容的格式的情况下设置了 高可用性 (HA) 对,系统将继续使用原始的非 HA 兼容格式。这将一直有效,直到发生角色切换,无论是切换还是接管。一旦角色切换发生,Container Station 会自动创建一个新的 HA 兼容格式的 存储 卷。此新格式将被继续使用,除非 Container Station 被移除,否则无法恢复。
重要
存储在非 HA 兼容格式中的原始数据将不会同步到 HA 对。如果您需要访问这些数据,请仔细按照以下步骤操作。
如何从非 HA 兼容格式中恢复数据?
要检索存储在非 HA 兼容 存储 格式中的数据,请按照以下步骤操作:
- 访问存储非 HA 兼容数据的原始设备。
确保您登录到最初托管 Container Station 数据的 NAS 单元,然后创建 HA 兼容卷。 - 从设备中卸载 Container Station。
- 重新安装 Container Station。
重要
在安装过程中,当提示选择目录时,选择包含您原始数据的目录。不要选择空文件夹,因为这将导致系统创建新的 HA 兼容卷,您的原始数据将无法被检测到。
- 启动 Container Station。
将出现一个对话框,询问您是否要加载 HA 兼容或非 HA 兼容数据。 - 选择使用非 HA 兼容数据选项并点击确认.
在 Container Station 中更改 存储 空间格式
先决条件
- 停止 Container Station 中的所有容器和应用程序。
- 创建所有容器数据的备份或导出。
- 备份后删除现有的镜像和容器。
- 请参考Docker文档以获取有关Compose相关备份和恢复的指导。
步骤
- 打开Container Station.
- 找到支持QuTS hero 高可用性 右上角的通知。
注意
或者,您可以进入偏好设置 > QuTS 高可用性以开始存储空间格式转换过程。
- 点击支持QuTS hero 高可用性.
- 在弹出窗口中,点击转换 格式.
- 点击开始在下一个窗口中。
- 通过勾选框确认您已备份数据。
- 点击下一步继续。
- 等待过程完成,然后点击完成.
进一步阅读