PowerScale:在 OneFS 上正確建立階層式複寫

摘要: 以下是在 Cluster_A、Cluster_B 和 Cluster_C 之間正確設定階層式複製的步驟。

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

說明

配置級聯複製時要記住的主要思想。請確定複製工作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}-%

  1. 然後,我們僅會在建立來源快照模式「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_A
    Cluster_A# ls -lh
    total 10249
    -rw-r--r--    1 root  wheel    10M Jul 14 20:51 file
    Cluster_A# isi sync jobs start A_B
    Cluster_A# isi sync reports list
    Policy 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: 1

    Cluster_B# cd /ifs/folder_B
    Cluster_B# ls -lh
    total 10249
    -rw-r--r--    1 root  wheel    10M Jul 14 20:51 file
    Cluster_B# isi sync reports list
    Policy Name  Job ID  Start Time          End Time            Action  State
    -----------------------------------------------------------------------------
    B_C          2       2021-07-14T20:51:51 2021-07-14T20:52:10 run     finished
    B_C          1       2021-07-14T20:51:32 2021-07-14T20:51:38 run     finished
    -----------------------------------------------------------------------------
    Total: 2

    Cluster_C# cd /ifs/folder_C
    Cluster_C# ls -lh
    total 10249
    -rw-r--r--     1 root  wheel    10M Jul 14 20:51 file
     
注意:
  1. 級聯複製為單向複製,直接適用於特定工作流程和遷移。 
  2. 僅在叢集 A 和叢集 B 之間支援容錯移轉和故障復原。由於叢集 B 上的目標重疊,不支援 B 和 C 之間的容錯移轉。
  3. 在故障轉移到群集 B 時,必須修改計劃以支援從 B 複製到 A。

受影響的產品

Isilon, PowerScale OneFS, Isilon SyncIQ
文章屬性
文章編號: 000189650
文章類型: How To
上次修改時間: 11 5月 2026
版本:  9
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。