Converting an offline primary server to an RS secondary server

After a planned or unplanned failover of the primary server to an RS secondary server, you can convert the old primary server to an RS secondary server.

About this task

For example, assume you have a primary server named srv1 that has failed over to an RS secondary server named srv2. The following steps show how to convert the old primary server to an RS secondary server.

  1. On the new primary server (srv2) register the old primary server (srv1 as the RS secondary server.
    onmode -d add RSS srv1
  2. If you are converting the old primary server to an RS secondary server and the server is offline, then initialize the server using backup and restore commands shown here: Starting an RS secondary server for the first time. Alternatively you can initialize the old primary server by running the following command:
    oninit -PHY
    See The oninit utility for more information.
  3. Convert the server to an RS secondary server using the following commands:
    onmode -d RSS srv2