使用 CLI 创建高速镜像、全局镜像或主动/主动关系
关于此任务
过程
- 要创建高速镜像关系,请运行 mkrcrelationship 命令。 例如,输入:
mkrcrelationship -master master_volume_id -aux aux_volume_id -cluster system_id其中,master_volume_id 是主卷的标识,aux_volume_id 是辅助卷的标识,system_id 是远程集群系统 (clustered system)的标识。
- 要创建新的全局镜像关系,请运行带有 -global 参数的 mkrcrelationship 命令。 例如,输入:
mkrcrelationship -master master_volume_id -aux aux_volume_id -cluster system_id -global其中,master_volume_id 是主卷的标识,aux_volume_id 是辅助卷的标识,system_id 是远程系统的标识。
- 要创建启用了循环的新关系:
mkrcrelationship -master books_volume -aux books_volume -cluster DR_cluster -global -cyclingmode multi注: 通过发出 chrcrelationship -auxchange 或 chrcrelationship -masterchange,向关系添加变更卷。 - 要创建新的主动/主动关系,请运行带有 -activeactive 参数的 mkrcrelationship 命令。 例如,输入以下命令:
mkrcrelationship -master master_volume_id -aux aux_volume_id -cluster system_id -activeactive其中,master_volume_id 是主卷的标识,aux_volume_id 是辅助卷的标识,system_id 是远程系统的标识。
父主题: 管理高速镜像、全局镜像和主动/主动关系