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:
On the host computer, shut down the failover Configuration Agent and Control-M/Server by typing the following commands:
shut_ca
shut_ctm
On the failover Control-M Server, type the ctm_menu command.
The Control-M Main Menu appears.
Type the number for Database Mirroring.
The Database MirroringMenu appears.
In the Database Mirroring Menu, enter the number for Stop Failover.
On the host computer, ensure that the primary Configuration Agent and Control-M/Server are shut down by typing the following commands:
shut_ca
shut_ctm
To restore data to the primary Control-M/Server database, do the following on the primary Control-M/Server:
Repeat steps 2 and 3.
From the Database Mirroring Menu, type the number for Restore Control-M Database from Mirror.
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.
Start the primary Configuration Agent and Control-M/Server by entering the following commands on the host computer:
start_ctm
start_ca
All processing is performed by the primary Control-M/Server on the primary and failover database.