When you use the SWITCH mode to fail over automatically, you must restart the active server and resume database connections, and so on, to recover the high-availability environment. This section describes the steps you must take to do this.
Table 4-6 uses the following acronyms:
ADB – the active database name
ADS – the active data server name
SDB – the standby database name
SDS – the standby data server name
LDS – the logical data server name
LDB – the logical database name
Step |
Server |
Example command line |
---|---|---|
1) Start the active Adaptive Server. |
Active Adaptive Server |
On Windows, On UNIX, |
2) Resume the active Replication Server connections. |
Replication Server |
|
3) Suspend connections to the standby Adaptive Server. |
OpenSwitch |
|
4) Monitor the Replication Agent thread. |
Standby Adaptive Server |
or watch for the last transaction in the active Adaptive Server |
5 ) Stop the Replication Agent thread. |
Standby Adaptive Server |
|
6) Switch the Replication Server connections. |
Replication Server |
|
7) Monitor the switching process. |
Replication Server |
|
8) Start Active Adaptive Server Replication Agent. |
Active Adaptive Server |
|
9) Switch users back to active Adaptive Server. |
OpenSwitch |
|
10) Resume the standby Replication Server connections. |
Replication Server |
|
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |