Home | Previous Page | Next Page   Fault Tolerance > Using High-Availability Data Replication (Enterprise/Workgroup Editions) >

Changing the Database Server Type

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:

To switch the database server type using hdrmkpri and hdrmksec scripts
  1. Shut down the primary database server (ServerA):
    onmode -ky
  2. 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.
  3. For ServerA, run the hdrmksec.sh script on UNIX or hdrmksec.bat script on Windows. Now ServerA is a secondary database server.
  4. Bring ServerB (primary database server) online.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]