The Switchover-Scenario command enables you to start the switchover process for a given HA scenario. To switch back the roles between the Master and the Replica, use the Switchover-Scenario command again.
Switchover-Scenario [-Name] <String> -WaitJournal [<Boolean>] -run_reverse_scenario <string>
The scenario name.
Whether to wait for journals.
0: Do not wait for journals. You cannot run the reverse scenario if you choose 0.
1: Wait for journals.
Specifies whether to automatically run the reverse scenario.
Value 1 or True automatically runs the reverse scenario.
Value 0 or False do not automatically run the reverse scenario.
Example: Perform switchover
Switchover-Scenario "SQL Server 1" 1
Scenario SQL Server 1 switching over to <Hostname>.
Done!
Copyright © 2015 Arcserve.
All rights reserved.
|
|