Table of ContentsLibraryView in Frames

get-mirrors

The get-mirrors command enables you to retrieve the SnapMirror status for the set of volumes that you configure as mirrors. You can also retrieve all SnapMirror relationships in the specified Business Continuance plan.

Description

        get-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 get-mirrors command enables you to retrieve the SnapMirror status for the set of volumes, 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 an optional 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 of the parameter sets BcPlan, FailoverTo, and ExchServer. If you specify BcPlan, SnapManager takes it as input , otherwise SnapManager uses the list of mirrors that you explicitly specify as input. Do not use them in tandem.

Example: Retrieving the SnapMirror status

This command retrieves the SnapMirror status for the "boston_nyc_drplan" Business Continuance plan. -exsvr cms_Ex -bcserver drcluster -bcplan boston_nyc_drplan -to nyc -verbose -confirm