Table of ContentsLibraryView in Frames

exec-bc

The exec-bc command enables you to execute the SnapManager Business Continuance plan.

        exec-bc-ExchServer <Exchange_instance>-BcServer <destination_Business_Continuance_server>-BcPlan <Business_Continuance_plan>-FailoverTo <destination_storage_site>-Tasks <name_of_task>-cleanup_site <True|False>-offline_Exchange <True|False>common parameters

Description

The exec-bc cmdlet enables you to execute the disaster recovery failover of an Exchange instance to a destination Business Continuance server.

This command also supports the following common parameters:
  • -Debug (-db)
  • -ErrorAction (-ea)
  • -ErrorVariable (-ev)
  • -OutBuffer (-ob)
  • -OutVariable (-ov)
  • -Verbose (-vb)
  • -Confirm
To learn more about common parameters, see help about_ubiquitous_parameters.

Parameters

-ExchServer <Exchange_instance>
Short name: exsvr
Specifies the name of the Exchange instance.
By default, it assumes the name of the local machine.
-BcServer <destination_Business_Continuance_server>
Short name: drsvr
Specifies the name of the destination Business Continuance server.
By default, it assumes the name of the local machine.
-BcPlan <Business_Continuance_plan>
Short name: plan
Specifies the name of the Business Continuance plan.
The Business Continuance plan must exist in the disaster recovery server and must be valid for the specified Exchange Server.
-FailoverTo <destination_storage_site>
Short name: to
Specifies the name of the destination storage server for Business Continuance failover.
-FailoverTo is an optional parameter. I
-Tasks <name_of_task>
The following tasks are executed using this parameter:
  • validate_site
  • break_mirrors
  • connect_luns
  • recreate_ex
  • restore_bkup

If you do not specify a particular task, this cmdlet executes all the tasks.

-Tasks is an optional parameter.
-cleanup_site <True|False>
Performs the cleanup tasks of the destination host server.
-offline_Exchange <True|False>
Takes all of the Exchange instances offline before a failover operation.

Example: Executing a Business Continuance failover

This command executes a Business Continuance failover of an Exchange instance exchtstx to the destination Business Continuance server using the Business Continuance plan plantest.

exec-bc -exsvr exchtstx -bcserver DR54 -plan plantest -confirm -verbose

Example: Validating a Business Continuance plan

This command validates a Business Continuance plan for failover of an Exchange instance exchtstx to the destination Business Continuance server using the Business Continuance plan plantest.

exec-bc -exsvr exchtstx -bcserver DR54 -plan plantest -confirm -verbose -tasks validate_site

Example: Connecting LUNs and re-creating Exchange instance tasks in a Business Continuance server

This command connects LUNs and re-creates Exchange instance tasks in the Business Continuance Server.

exec-bc -exsvr exchtstx -bcserver DR54 -plan plantest -confirm -verbose -tasks connect_luns, recreate_ex

Example: Skipping validation

This command skips the validation operation and executes the tasks that you explicitly specify.

exec-bc -exsvr exchtstx -bcserver DR54 -plan plantest -confirm -verbose -tasks break_mirrors,connect_luns,recreate_ex,restore_bkup