通过CLI配置和管理HyperReplication
配置阵列间HyperReplication(以租户场景下同步网络配置为例)
租户场景下同步网络配置的远程复制的配置流程如图8-1所示。
步骤 |
执行命令行 |
参考章节 |
---|---|---|
检查License |
show license |
请参见对应产品型号《OceanStor V500R007 命令参考》的“show license”章节。 |
FC连接 |
||
配置FC交换机:请参见配置FC交换机章节。 |
||
增加远端设备 |
create remote_device general |
请参见对应产品型号《OceanStor V500R007 命令参考》的“create remote_device general”章节。 |
iSCSI连接 |
||
配置以太网交换机:请参见配置以太网交换机章节。 |
||
配置以太网端口 |
|
请参见对应产品型号《OceanStor V500R007 命令参考》的“change port ipv4_address”、“change port ipv6_address”章节。 |
(可选)添加路由 |
|
请参见对应产品型号《OceanStor V500R007 命令参考》的“add port ipv4_route”、“add port ipv6_route”章节。 |
增加远端设备 |
create remote_device general |
请参见对应产品型号《OceanStor V500R007 命令参考》的“create remote_device general”章节。 |
创建远程复制租户Pair |
create remote_replication_vstore general |
请参见对应产品型号《OceanStor V500R007 命令参考》的“create remote_replication_vstore general”章节。 |
创建远程复制Pair |
create remote_replication general |
请参见对应产品型号《OceanStor V500R007 命令参考》的“create remote_replication general”章节。 |
配置阵列内HyperReplication
阵列内的HyperReplication(也称为本地复制)配置流程如图8-2所示。
操作项 |
执行命令行 |
参考章节 |
---|---|---|
检查License |
show license |
请参见对应产品型号《OceanStor V500R007 命令参考》的“show license”章节。 |
创建阵列内异步复制 |
create remote_replication unified |
请参见对应产品型号《OceanStor V500R007 命令参考》的“create remote_replication unified”章节。 |
管理远程复制租户Pair
操作项 |
执行命令行 |
参考章节 |
---|---|---|
浏览远程复制租户Pair信息 |
show remote_replication_vstore general |
请参见对应产品型号《OceanStor V500R007 命令参考》的“show remote_replication_vstore general”章节。 |
修改远程复制租户Pair属性 |
change remote_replication_vstore general |
请参见对应产品型号《OceanStor V500R007 命令参考》的“change remote_replication_vstore general”章节。 |
同步远程复制租户Pair |
change remote_replication_vstore synchronize |
请参见对应产品型号《OceanStor V500R007 命令参考》的“change remote_replication_vstore synchronize”章节。 |
分裂远程复制租户Pair |
change remote_replication_vstore split |
请参见对应产品型号《OceanStor V500R007 命令参考》的“change remote_replication_vstore split”章节。 |
激活本端逻辑端口 |
change remote_replication_vstore local_vstore_port_status vstore_pair_id=? port_status=active |
请参见对应产品型号《OceanStor V500R007 命令参考》的“change remote_replication_vstore local_vstore_port_status”章节。 |
取消激活本端逻辑端口 |
change remote_replication_vstore local_vstore_port_status vstore_pair_id=? port_status=inactive |
请参见对应产品型号《OceanStor V500R007 命令参考》的“change remote_replication_vstore local_vstore_port_status”章节。 |
切换远程复制租户Pair主从关系 |
swap remote_replication_vstore |
请参见对应产品型号《OceanStor V500R007 命令参考》的“swap remote_replication_vstore”章节。 |
删除远程复制租户Pair |
delete remote_replication_vstore general |
请参见对应产品型号《OceanStor V500R007 命令参考》的“delete remote_replication_vstore general”章节。 |
管理远程复制Pair
操作项 |
执行命令行 |
参考章节 |
---|---|---|
浏览远程复制Pair信息 |
show remote_replication unified |
请参见对应产品型号《OceanStor V500R007 命令参考》的“show remote_replication unified”章节。 |
修改远程复制Pair属性 |
change remote_replication general |
请参见对应产品型号《OceanStor V500R007 命令参考》的“change remote_replication general”章节。 |
同步远程复制Pair |
change remote_replication synchronize |
请参见对应产品型号《OceanStor V500R007 命令参考》的“change remote_replication synchronize”章节。 |
分裂远程复制Pair |
change remote_replication split |
请参见对应产品型号《OceanStor V500R007 命令参考》的“change remote_replication split”章节。 |
切换主从资源关系 |
swap remote_replication |
请参见对应产品型号《OceanStor V500R007 命令参考》的“swap remote_replication”章节。 |
删除远程复制Pair |
delete remote_replication |
请参见对应产品型号《OceanStor V500R007 命令参考》的“delete remote_replication”章节。 |
管理远端设备
操作项 |
执行命令行 |
参考章节 |
---|---|---|
浏览远端设备信息 |
show remote_device general |
请参见《OceanStor V500R007 命令参考》的“show remote_device general”章节。 |
修改远端设备信息 |
change remote_device general |
请参见《OceanStor V500R007 命令参考》的“change remote_device general”章节。 |
修改远端链路高级信息 |
change remote_device link |
请参见《OceanStor V500R007 命令参考》的“change remote_device link”章节。 |
删除远程链路 |
|
请参见《OceanStor V500R007 命令参考》的“remove remote_device link fc”、“remove remote_device link iscsi”章节。 |
添加远程链路 |
|
请参见《OceanStor V500R007 命令参考》的“add remote_device link fc”、“add remote_device link iscsi”章节。 |
移除远端设备 |
delete remote_device |
请参见《OceanStor V500R007 命令参考》的“delete remote_device”章节。 |