PowerScale:在 OneFS 上正確建立階層式複寫
Summary: 以下是在 Cluster_A、Cluster_B 和 Cluster_C 之間正確設定階層式複製的步驟。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
配置級聯複製時要記住的主要思想。請確定複製工作A_B應以「success/needs_attention」完成,再開始複製工作B_C。
我們應始終避免在複製工作B_C啟動
時複製工作A_B狀態為「失敗或已取消或正在執行或已暫停」。為了達到上述條件:
1.當工作順利完成時,我們可以從 A_B 建立複寫原則,以建立名稱為「Archive-%{SrcCluster}-%{PolicyName}-%Y-%m-%d_%H-%M-%S」的目標快照。Cluster_A# isi sync policies create --name=A_B --source-root-path=/ifs/folder_A --target-host=xxx.xxx.xxx.xxx --target-path=/ifs/folder_B --action=sync --target-snapshot-archive=yes --target-snapshot-pattern=Archive-%{SrcCluster}-%{PolicyName}-%Y-%m-%d_%H-%M-%S --target-snapshot-expiration=5D
注意:目標快照不能有 SIQ- 前置詞。使用「SIQ_」或「Archive-」,如上例所示:
--target-snapshot-pattern=Archive-%{SrcCluster}-%
- 然後,我們僅會在建立來源快照模式「Archive-*」時,才將複製原則從 B_C 設定為啟動。
Cluster_B# isi sync policies create --name=B_C --source-root-path=/ifs/folder_B --target-host=xxx.xxx.xxx.xxx --target-path=/ifs/folder_C --action=sync --schedule=when-snapshot-taken --snapshot-sync-pattern="Archive-*" --snapshot-sync-existing=yes
這將保證B_C複製工作僅在複製工作成功完成後啟動A_B + B_C計劃與A_B計劃相關聯。
從實驗室檢查以下內容:Cluster_A# cd /ifs/folder_ACluster_A# ls -lhtotal 10249-rw-r--r-- 1 root wheel 10M Jul 14 20:51 fileCluster_A# isi sync jobs start A_BCluster_A# isi sync reports listPolicy Name Job ID Start Time End Time Action State-----------------------------------------------------------------------------A_B 1 2021-07-14T20:51:22 2021-07-14T20:51:31 run finished-----------------------------------------------------------------------------Total: 1Cluster_B# cd /ifs/folder_BCluster_B# ls -lhtotal 10249-rw-r--r-- 1 root wheel 10M Jul 14 20:51 fileCluster_B# isi sync reports listPolicy Name Job ID Start Time End Time Action State-----------------------------------------------------------------------------B_C 2 2021-07-14T20:51:51 2021-07-14T20:52:10 run finishedB_C 1 2021-07-14T20:51:32 2021-07-14T20:51:38 run finished-----------------------------------------------------------------------------Total: 2Cluster_C# cd /ifs/folder_CCluster_C# ls -lhtotal 10249-rw-r--r-- 1 root wheel 10M Jul 14 20:51 file
注意:
- 級聯複製為單向複製,直接適用於特定工作流程和遷移。
- 僅在叢集 A 和叢集 B 之間支援容錯移轉和故障復原。由於叢集 B 上的目標重疊,不支援 B 和 C 之間的容錯移轉。
- 在故障轉移到群集 B 時,必須修改計劃以支援從 B 複製到 A。
Affected Products
Isilon, PowerScale OneFS, Isilon SyncIQArticle Properties
Article Number: 000189650
Article Type: How To
Last Modified: 07 Nov 2025
Version: 7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.