Returning to the primary Control-M/Server

This procedure describes how to return to the primary Control-M/Server after fixing a problem with the server.

To return to the primary Control-M/Server:

  1. On the host computer, shut down the failover Configuration Agent and Control-M/Server by typing the following commands:
  2. On the failover Control-M Server, type the ctm_menu command.

    The Control-M Main Menu appears.

  3. Type the number for Database Mirroring.

    The Database Mirroring Menu appears.

  4. In the Database Mirroring Menu, enter the number for Stop Failover.
  5. On the host computer, ensure that the primary Configuration Agent and Control-M/Server are shut down by typing the following commands:
  6. To restore data to the primary Control-M/Server database, do the following on the primary Control-M/Server:
    1. Repeat steps 2 and 3.
    2. From the Database Mirroring Menu, type the number for Restore Control-M Database from Mirror.
    3. For every remote host that appears in Database parameters enter the following command:

      ctm_agstat -AGSTAT <remoteHostName> R R

      Each time that you run this command, replace the <remoteHostName> variable with the name of a remote host from the list that was generated in Preparing the failover Control-M/Server.

  7. Start the primary Configuration Agent and Control-M/Server by entering the following commands on the host computer:

    All processing is performed by the primary Control-M/Server on the primary and failover database.

Parent Topic

Failover implementation