集群管理员可以使用 vserver peer modify 命令修改在 SVM 对等关系上运行的 SVM 对等应用程序。SVM 对等关系可以包含 SnapMirror、FileCopy,也可以不包含任何应用程序。
关于此任务
对于对等 SVM 之间的所有 SnapMirror 操作,SVM 对等关系必须包括对等应用程序 snapmirror;对于对等 SVM 之间的所有 FileCopy 相关操作,SVM 对等关系必须包含对等应用程序 file-copy。
步骤
- 使用 vserver peer modify 命令修改 SVM 对等关系中的应用程序。
示例
以下命令修改
SVM 对等关系中的应用程序:
cluster2::>vserver peer modify -vserver vs4.example.com -peer-vserver vs0.example.com -applications snapmirror
Warning: The following applications were enabled between Vserver "vs4.example.com" and peer Vserver "vs0.example.com": file-copy, snapmirror. The following applications will be removed: file-copy. Any operations related to the removed application in the context of this Vserver peer relationship will be disabled.
Do you want to continue? {y|n}: y
Info: 'vserver peer modify' command is successful.
- 使用 vserver peer show-all 查看在 SVM 对等关系上运行的应用程序。
示例
以下命令显示在
SVM 对等关系上运行的应用程序:
cluster2::> vserver peer show-all
Vserver Vserver State Peer Cluster Applications
----------- ----------- ------- ------------ ------------
vs4.example1.com vs0.example1.com peered cluster2 snapmirror