Applicable Products
- QuTS hero h5.3.0 or later
- High Availability Manager
Background
High availability (HA) allows two QNAP NAS devices to form an active-passive setup for uninterrupted service. The active node provides services while the passive node continuously syncs data from the active node, ready to take over any time. This transition is called a failover if triggered by a failure, and a switchover if triggered by non-failure events.
When synchronizing data during HA cluster creation, the system needs to replicate a large amount of data from one node to the other. For failovers or switchovers, the system needs to ensure seamless continuation of applications and services. The time required for these operations can vary significantly depending on hardware specifications, storage configuration, and network conditions.
Details
The actual time required for initial synchronization and for a failover or switchover depends on the following factors:
- Data volume: Larger amounts of data increases synchronization time.
- Storage performance: HDDs are slower than SSDs. RAID configuration also affects performance.
- Network conditions: The heartbeat connection speed affects how fast data is transferred (we recommend using ports and a direct cable connection of 10 GbE or faster).
- System load: Ongoing services and background tasks may consume resources and slow down the process time.
- Applications and services: It takes time to shut down and restart each application and service, especially in an environment with iSCSI LUNs.
Typical Time Ranges (Reference Only)
| Process | Typical Time Range |
|---|
| Initial synchronization | Tens of minutes to several hours |
| Failover/switchover | Around 30 seconds to several minutes |
| Failover/switchover with multiple iSCSI LUNs | Several minutes to tens of minutes The more iSCSI LUNs there are, the longer it takes. |
Note
The actual time required depends on your environment and system configuration. We recommend performing switchover tests during non-production hours to evaluate performance in your specific setup.
Further Reading
How can I reduce initial synchronization time for my HA cluster?
適用產品
- QuTS hero h5.3.0 or later
- High Availability Manager
背景
高可用性 (HA) 允許兩台 QNAP NAS 設備形成主備配置以提供不間斷服務。主節點提供服務,而備節點持續從主節點同步數據,隨時準備接管。若因故障觸發,這種轉換稱為 容錯移轉,若因非故障事件觸發,則稱為切換。
在 HA 叢集 創建期間同步數據時,系統需要將大量數據從一個節點複製到另一個節點。對於 容錯移轉 或切換,系統需要確保應用程序和服務的無縫連續性。這些操作所需的時間可能會因硬件規格、儲存空間 配置和網絡條件而顯著不同。
詳細資訊
初始同步和 容錯移轉 或切換所需的實際時間取決於以下因素:
- 資料量:資料量越大,同步時間越長。
- 儲存空間 性能:HDD 比 SSD 慢。RAID 配置也會影響效能。
- 網路條件:心跳連線速度影響資料傳輸速度(我們建議使用 10 GbE 或更快的埠和直接電纜連線)。
- 系統負載:正在進行的服務和背景任務可能會消耗資源並減慢處理時間。
- 應用程式和服務:關閉和重啟每個應用程式和服務需要時間,尤其是在有 iSCSI LUN 的環境中。
典型時間範圍(僅供參考)
| 過程 | 典型時間範圍 |
|---|
| 初始同步 | 數十分鐘到數小時 |
| 容錯移轉/切換 | 約 30 秒到數分鐘 |
| 多個 iSCSI LUN 的 容錯移轉/切換 | 數分鐘到數十分鐘 iSCSI LUN 越多,所需時間越長。 |
注意
實際所需時間取決於您的環境和系統配置。我們建議在非生產時間進行切換測試,以評估您特定設定中的效能。
進一步閱讀
如何減少我的 HA 叢集 的初始同步時間?