Home |
Previous Page | Next Page Fault Tolerance > Using High-Availability Data Replication (Enterprise/Workgroup Editions) >
You
can change the type of either the primary or the secondary database server.
You can change the database server type from secondary to standard only
if HDR is turned off on the secondary database server. HDR is turned off when
the data replication connection to the primary database server breaks or data
replication fails on the secondary database server. When you take the standard
database server offline and bring it back online, it does not attempt to connect
to the other database server in the replication pair.
Use the following commands to switch the type:
- hdrmksec.[sh|bat] and hdrmkpri.[sh|bat] scripts
To switch the database server
type using hdrmkpri and hdrmksec scripts
- Shut down the primary database server (ServerA):
onmode -ky
- With the secondary database server (ServerB) online,
run the hdrmkpri.sh script on UNIX or hdrmkpri.bat script on Windows. Now ServerB is
a primary database server.
- For ServerA, run the hdrmksec.sh script on UNIX or hdrmksec.bat script on Windows.
Now ServerA is a secondary database server.
- Bring ServerB (primary database server) online.
Home |
[ Top of Page | Previous Page | Next Page | Contents |
Index ]