Node ID & Agent

Everything about Control-M Server installation or setup.
Post Reply
User avatar
Yanky
Nouveau
Nouveau
Posts: 16
Joined: 26 Mar 2009 12:00

Node ID & Agent

Post by Yanky » 16 Apr 2009 6:15

Hello Team,

What is Node ID & Agent ?
What is the difference between Node ID & Agent ?

Thanks,
P

User avatar
gglau
Nouveau
Nouveau
Posts: 317
Joined: 13 Jun 2007 12:00

Post by gglau » 17 Apr 2009 2:46

No difference. They are two different names referring to the same thing.

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

Post by philmalmaison » 20 Apr 2009 9:10

false

you can have more than one agent on the same host using the load balancing process

so the name of your agent , depend of the user on wich it's defined.


regards
philmalmaison[/b]

User avatar
rahulsehgal
Nouveau
Nouveau
Posts: 148
Joined: 19 Mar 2009 12:00
Location: Delhi
Contact:

Post by rahulsehgal » 22 Apr 2009 11:30

Hi,

I think Node Group is use for the Load Balancing purpose, Node id and agent are same.

regards,

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

Post by philmalmaison » 23 Apr 2009 10:19

FALSE

LOAD balancing but on the same host


just have a look, all agents are on the same host, with a different name even if one with the hostname allways exist

Agent : ctmagt5-prd retention : 3 jours

Agent 'ctmagt5-prd' cleanup ended successfully.
RC = 0
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Agent : ctmagt6-prd retention : 3 jours

Agent 'ctmagt6-prd' cleanup ended successfully.
RC = 0
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Agent : ctmagt3-prd retention : 3 jours

Agent 'ctmagt3-prd' cleanup ended successfully.
RC = 0
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Agent : ctmagt4-prd retention : 3 jours

Agent 'ctmagt4-prd' cleanup ended successfully.
RC = 0
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Agent : ctmagt9-prd retention : 3 jours

Agent 'ctmagt9-prd' is unavailable.
RC = 0
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Agent : ctmagt2-prd retention : 3 jours

Agent 'ctmagt2-prd' cleanup ended successfully.
RC = 0
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Agent : saptep05 retention : 3 jours

Agent 'saptep05' cleanup ended successfully.
RC = 0
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Fin des Traitements de maintenance Controlm 0239
---------------------------------------------------------------------------------
ALL THOSES AGENTS REFER TO THE SAME HOST

regards
philmalmaison

User avatar
gglau
Nouveau
Nouveau
Posts: 317
Joined: 13 Jun 2007 12:00

Post by gglau » 23 Apr 2009 4:38

Philmalmaison,

We are trying to help a person to understand the fundamental difference between Agent and Node ID. I believe a simple "Yes they are the same" helps him/her more than complicating the matter of mutliple agents on the same host.

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

Post by philmalmaison » 24 Apr 2009 10:48

I believe a simple "No they aren't the same"

regards
Philmalmaison

User avatar
fyot
Nouveau
Nouveau
Posts: 736
Joined: 26 Apr 2005 12:00
Location: PARIS
Contact:

Post by fyot » 25 Apr 2009 10:27

Hi

NODEID and Agent is different and not.

Considering AGENT and NODEID contain the HOSTNAME where you want to execute your script, the rule is the same.

But, when you define your job you will declare AGENT hostname.
When your job wil be launch, NODEID become the real host where your job will be launch.

Example, in cas of Cluster mode, or NODEGROUP usage, you decided to use AGENTGO as Hostname defined in your job.

In reality, that AGENTGO could be different machine SERVER01, SERVER,02, etc...

When your job will be submitted, you must find SERVER01 or other real hostname, depending on wich node will be activated or available.

Considering normal, or load balancing, or nodegroup usage, the result will be the same. You defined a hostname, and Control-M returns the correct server where your script will be launch.

Hope is clearest.

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

Post by philmalmaison » 27 Apr 2009 10:51

And not,
We're all agree about, depending of the way to start it and number of agent defined on the same host.
ok there all refer to the same host, but control-m make the differents beetween the agents name and transfert information on the specific agent if needed.
So the sysout and proclog should be only part of the agent that have submit the job.
As you start an agent with "root", and as you can have more than one agent on the same host, control-m server use the username of the agent, AND RECORD IT.
So you can see that using the ctmaglst utility.
But it's clear ...
regards
Philmalmaison

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

Philmalmaison,

Post by sharas » 05 May 2009 4:53

I have a question.


How can we install multiple agents on one host. from your previous post, do you mean we can install more than one agent using different acoounts on that host? and how will load balancing be done? if one agent is occupied will the next agent automatically take the new task?

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

Post by philmalmaison » 12 May 2009 1:47

yes you can do it with different users, just if you want to centralize the sysout to make a link to the first agent installed.

so if you code a job directly using node_group defined with your agents, job should take the first free agent in the group

regards
philmalmaison

Post Reply