**Urgent** what order has to be followed to stop EM SERVER

Everything about Control-M Enterprise Manager Server installation or setup.
Post Reply
User avatar
sharas
Nouveau
Nouveau
Posts: 76
Joined: 13 Nov 2007 12:00
Location: Hyderabad
Contact:

**Urgent** what order has to be followed to stop EM SERVER

Post by sharas » 26 Mar 2010 12:50

Hi,

I want to know what order has to be followed while stopping components of Control-M EM to ensure perfect restart of application.

And order of starting of components is vice versa to stopping order?


Thanks for you help..

Sharas

User avatar
nicolas_mulot
Nouveau
Nouveau
Posts: 149
Joined: 07 Jan 2010 12:00

Post by nicolas_mulot » 26 Mar 2010 9:44

sharas,

There is no mandatory order while stopping components, but common sense will tell you to stop operational processes first (gateway, gui server etc..), then the configuration agent, then the configuration server, then the naming service, then the database.

Do not stop the operational components manually using the configuration manager windows for, doing so, they will be marked as "desired state Down" and they will not restart automatically when your systeme comes up: you will have to mark them again manually as "desired state up"

Use the ctl (under windows) or "ecs ctl" under Unix with the following syntax:

ctl <login> -C Config_Agent -cmd shutdown

The effect of this command is to deactivate the operational process, then the configuration agent, whithout modifying the desred state of the components.

For the rest, it depends on what OS you are using.
Under windows, all other components, (configuration server and Naming service) are windows services you can stop by net stop.

Under unix, you can use the stop_ns_daemon to stop the naming service and stop_cms to stop the configuaration server.
You might use the stop_config_agent as well, but I dont think this command stops the operational processes.

All of these commands are documented under the "Activation Menu" in the control-m/EM Admin Guide (630) starting page 151.

You will find there the proper commands to reactivate the processes (use net start for Windows), that you should execute in the reverse order.
When restarting your system, you can use the start_config_agent command without bothering your GUI server Gateways etc.. which will be automatically started by the configuration agent as soon as it comes up.

Cheers
Nicolas Mulot

User avatar
sharas
Nouveau
Nouveau
Posts: 76
Joined: 13 Nov 2007 12:00
Location: Hyderabad
Contact:

Thanks for the information

Post by sharas » 13 Jul 2010 12:42

Thanks for the information. It is really helpful.

Thanks,
Sharas

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 13 Jul 2010 4:40

sorry i'm not in the same mood...
1)
open CCM and put all desirated states in Down if you're not using veritas cluster manager or another cluster, on witch you should have to respect standards define in your compagny
i mean Gateways/GCS/GAS/GUI...
from the 6.3 you can put the Control-M Server in "set to unmanaged" if you want.
2)
logon to the ControlM/EM Server and with root_menu
Stop CONTROL-M Configuration Server
Stop CONTROL-M/EM Configuration Agent
Stop CORBA Naming Service
3)
Stop Database Server

2) and 3) can be done by the stop_all option if you want

you must respect that order to not have any wrong process runing when you restart
regards
Philmalmaison

Post Reply