简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。
使用集群模式 Data ONTAP 启动 SnapVault 关系
贡献者
建议更改
在启动 SnapVault 关系之前,您需要定义 SnapMirror 策略。
-
对于运行集群模式 Data ONTAP 的存储系统,您可以运行以下命令来启动 SnapVault 关系。
hana::> snapmirror policy create -vserver hana2b -policy SV_HANA hana::> snapmirror policy add-rule -vserver hana2b -policy SV_HANA -snapmirror-label daily -keep 20 hana::> snapmirror policy add-rule -vserver hana2b -policy SV_HANA -snapmirror-label hourly -keep 10 hana::> snapmirror policy show -vserver hana2b -policy SV_HANA Vserver: hana2b SnapMirror Policy Name: SV_HANA Policy Owner: vserver-admin Tries Limit: 8 Transfer Priority: normal Ignore accesstime Enabled: false Transfer Restartability: always Comment: - Total Number of Rules: 2 Total Keep: 8 Rules: Snapmirror-label Keep Preserve Warn ----------------- ---- -------- ---- daily 20 false 0 hourly 10 false 0
策略必须包含 Snap Creator 配置中使用的所有保留类(标签)的规则。上述命令显示了如何创建专用 SnapMirror 策略 SV_HANA
-
要在备份集群的集群控制台上创建和启动 SnapVault 关系,请运行以下命令。
hana::> snapmirror create -source-path hana1a:hana_data -destination-path hana2b:backup_hana_data -type XDP –policy SV_HANA Operation succeeded: snapmirror create the relationship with destination hana2b:backup_hana_data. hana::> snapmirror initialize -destination-path hana2b:backup_hana_data -type XDP