简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。
手动故障转移
贡献者
术语"故障转移"并不是指使用SnapMirror活动同步进行复制的方向、因为它是一种双向复制技术。相反、"故障转移"是指发生故障时、哪个存储系统将成为首选站点。
例如、您可能希望在关闭站点进行维护之前或执行灾难恢复测试之前执行故障转移以更改首选站点。
更改首选站点只需简单的操作即可。在集群之间切换复制行为的权限时、IO将暂停一两秒钟、但IO不会受到影响。
GUI示例:
通过命令行界面将其更改回的示例:
Cluster2::> snapmirror failover start -destination-path jfs_as2:/cg/jfsAA [Job 9575] Job is queued: SnapMirror failover for destination "jfs_as2:/cg/jfsAA ". Cluster2::> snapmirror failover show Source Destination Error Path Path Type Status start-time end-time Reason -------- ----------- -------- --------- ---------- ---------- ---------- jfs_as1:/cg/jfsAA jfs_as2:/cg/jfsAA planned completed 9/11/2024 9/11/2024 09:29:22 09:29:32 The new destination path can be verified as follows: Cluster1::> snapmirror show -destination-path jfs_as1:/cg/jfsAA Source Path: jfs_as2:/cg/jfsAA Destination Path: jfs_as1:/cg/jfsAA Relationship Type: XDP Relationship Group Type: consistencygroup SnapMirror Policy Type: automated-failover-duplex SnapMirror Policy: AutomatedFailOverDuplex Tries Limit: - Mirror State: Snapmirrored Relationship Status: InSync