验证系统是否已准备好进行切换
可以使用 -simulate 选项来预览切换操作结果。验证检查为您提供了一种方法,可以在开始操作之前验证是否满足成功运行所需的大多数前提条件。
示例:验证结果
以下示例显示了模拟切换操作时遇到的错误:
cluster4::*> metrocluster switchover -simulate
[Job 126] Preparing the cluster for the switchover operation...
[Job 126] Job failed: Failed to prepare the cluster for the switchover
operation. Use the "metrocluster operation show" command to view detailed error
information. Resolve the errors, then try the command again.
注
在更换所有故障磁盘之前,协商切换和切回将失败。更换故障磁盘后,可以执行灾难恢复。如果要忽略磁盘故障警告,可以为协商切换和切回添加软否决。
提供反馈