The break-mirrors command enables you to break SnapMirror relationships for the set of volumes that you configure as mirrors. You can also break all SnapMirror relationships in the specified Business Continuance plan.
Description
break-mirrors-ExchServer <server_name>-BcServer <bc_server_name>-BcPlan <bc_plan_name>-FailoverTo <bc_failover_destination>-Mirrors < [storage system1:mirror1:storage system2:mirror1], [storage system1:mirror2:storage system2:mirror2], ...>common parameters
The
break-mirrors command enables you to break SnapMirror relationships with all of the options available through the SnapManager GUI. This command also supports the following common parameters:
- -Debug (-db)
- -ErrorAction (-ea)
- -ErrorVariable (-ev)
- -OutBuffer (-ob)
- -OutVariable (-ov)
- -Verbose (-vb)
- -Confirm
- -ExchServer <server_name>
- Short name: exsvr
- Specifies the Exchange server name.
- This is not a mandatory parameter.
- -BcServer <bc_server_name>
- Short name: drsvr
- Specifies the name of the Business Continuance server that you want to connect to.
- This is not a mandatory parameter.
- -BcPlan <bc_plan_name>
- Short name: plan
- Specifies the name of the Business Continuance plan that you want to implement.
- SnapManager takes all of the SnapMirror relationships constituted by the plan as input. This is not a mandatory parameter.
- -FailoverTo <bc_failover_destination>
- Short name: to
- Specifies the name of the Business Continuance failover destination site.
- -Mirrors < [storage system1:mirror1:storage system2:mirror1], [storage system1:mirror2:storage system2:mirror2], ...>
- Short name: ms
- Specifies the list of the mirrors for the Business Continuance plan as an array separated list.
- This parameter is mutually exclusive with the parameter set BcPlan, FailoverTo, and ExchServer. If you specify BcPlan, SnapManager takes it as input , else SnapManager uses the list of mirrors that you explicitly specify as input. Do not use them in tandom.
Example: Breaking SnapMirror relationships
This command breaks SnapMirror relationships in the "boston_nyc_drplan" Business Continuance plan: -exsvr cms_Ex -bcserver drcluster -bcplan boston_nyc_drplan -to nyc -verbose -confirm