PowerScale:在 OneFS 上正确创建级联复制
Summary: 以下是正确配置 Cluster_A、Cluster_B 和 Cluster_C 之间的级联复制的步骤。
Acest articol se aplică pentru
Acest articol nu se aplică pentru
Acest articol nu este legat de un produs specific.
Acest articol nu acoperă toate versiunile de produs existente.
Instructions
配置级联复制时要记住的主要思想。在开始复制作业B_C之前,确保复制作业A_B应以“success/needs_attention”结束。
在复制作业B_C启动时,我们应始终避免复制作业A_B状态为“失败或已取消”、“正在运行”或“暂停”。
为了达到上述条件:
- 作业成功完成后,我们可以从 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}-%
- 然后,我们将 B_C 的复制策略设置为仅在创建源快照模式“Archive-*”时才启动。
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
这将保证仅在复制作业成功完成后A_B B_C复制作业才会启动 + B_C计划与A_B计划相关联。
从 LAB 检查以下内容:
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
提醒:
- 级联复制是单向复制,适用于特定工作流和迁移。
- 仅支持群集 A 和群集 B 之间的故障切换和故障恢复。由于群集 B 上的目标重叠,不支持 B 和 C 之间的故障切换。
- 在故障切换到群集 B 时,必须修改计划以支持从 B 复制回 A。
Produse afectate
Isilon, PowerScale OneFS, Isilon SyncIQProprietăți articol
Article Number: 000189650
Article Type: How To
Ultima modificare: 11 May 2026
Version: 9
Găsiți răspunsuri la întrebările dvs. de la alți utilizatori Dell
Servicii de asistență
Verificați dacă dispozitivul dvs. este acoperit de serviciile de asistență.