Wednesday 9 March 2011

ControlM Enterprise Server and Control Agent Processes

 In this post I am just going to mention about the process of ControlM EM server and controlM agent which should be up for a healthy system.So if you wanna check if your system is running fine just make sure each of these process is up.So first let see ControlM EM server.
EM server has 7 components ,each component has got a process associated with it.If process related to that component is running that means that component is running.

1)GUI Server Process--ecs.guisrv
2)Global Alert Server---ecs.gasrv -name <controlM EM server name>
3)Global Condition Server--ecs.gcsrv
4)Gateway Server--ecs.gtw -DC <Datacentre Name> which means basically controlM server name the output of which needs to be displayed by it.
5)Administrative Agent--ecs.maintag.
It is the first process to run and bring other process up as required.
6)Database:- Database process can be greped to check to check if database is running.

To start all components of EM directly go to home directory of EM server user and then go to scripts folder i.e go to %homedir/scripts and issue
./start-all for starting all components and
./stop-all for stopping all the components.
Now as far as Control M agent is concerned there are two process running in agent one is Tracker and other one is called as Listener.The tracker process name is p_ctmat while the name of the process for listener is p_ctmag.However in newer versions only listener process exists no tracker process is there.
There is also a third process called as p_ctmar(for routing purpose) but its a limited one.

So if both server and agent are installed on one machine then
ps -ef | grep -i p_ctm would display all process for servers as well as agent.
Another intresting thing to note is agent process are run by root not agent user unlike the case with EM server and  controlM server where there user is able to run these process here we need root priviliges for executing these.start-ag and shut-ag are the commands used to start and stop agent respectively.

So these are all the processes that needs to keep running on EM server and agent for them to keep running.Each of these process can be grep in UNIX boxes to see their PID and status.

No comments:

Post a Comment