How to rename a unix agent

Everything about Control-M agents installation or setup.
Post Reply
User avatar
Navanees
Nouveau
Nouveau
Posts: 13
Joined: 17 Sep 2012 12:00

How to rename a unix agent

Post by Navanees » 14 Jan 2013 11:20

Hi,
I need to rename a Unix agent in controlM. Can someone help me to do it?

Agent is already configured and jobs are running on the this machine.
Only the name is getting changed.
I need to know which all places should I change the name.

User avatar
Navanees
Nouveau
Nouveau
Posts: 13
Joined: 17 Sep 2012 12:00

Post by Navanees » 15 Jan 2013 2:07

Can someone help me on this??

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

Post by fyot » 17 Jan 2013 7:31

Hi

If your server name changed, and your Control-m server know it,
you must modify all jobs definition working on it.

User avatar
Navanees
Nouveau
Nouveau
Posts: 13
Joined: 17 Sep 2012 12:00

Post by Navanees » 18 Jan 2013 5:46

Thanks for your reply.
Could let me know how do we change the agen name in the server side?

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

Post by nicolas_mulot » 24 Jan 2013 5:36

Navanees,
In case the hosname of your agent has changed from "hostold" to "hostnew", I understand that jobs are still submitted to "hostold" for it is still used in the NodeId/Group field of thejob definitions, in which case your jobs probably turn blue instead of expected yellow.
The simplest is to set up a logical association between "hosthold" and "hostnew".

You can do this be defining a nodegroup named "hostold" and which contains the only nodeid "hostnew".
This definition is done using ctm_menu --> 6 - Node Group --> 2 - Edit Node Group --> 2 - Add Node ID

Cheers
Nicolas Mulot

User avatar
livcyxingfoe
Nouveau
Nouveau
Posts: 3
Joined: 08 Apr 2013 12:00
Contact:

Post by livcyxingfoe » 08 Apr 2013 8:26

I need to rename a Unix agent in controlM. Can someone help me to do it?





_________________
Runescape Gold|cheap runescape gold|Diablo 3 Gold

User avatar
Manii
Nouveau
Nouveau
Posts: 46
Joined: 28 Jul 2011 12:00

Post by Manii » 08 Apr 2013 8:45

Hi ,

You can update the CONFG.dat file for agent in below path

~<controlm>/ctm/data/CONFIG.dat

LOCALHOST <New>
LOGICAL_AGENT_NAME <New>

Then u can verify it by ctmagcfg

after this restart the agent services to know gateway know the new name

Thanks,
Mani

Post Reply