Page 1 of 1

Script do know info from Agents

Posted: 04 Apr 2013 4:18
by osafr71
Hi there,

I will upgrade my Control-M version 6.4 to 8, and i need to add a new server name to the Authorized Hosts . I have aboute 600 Agents.

Is there any method or SQL script to view or add this new name for Control-M Server for those Agents?

Thanks in advance

osafr71

Posted: 04 Apr 2013 10:19
by Manii
Hi,

If you are using same ports ( Server-to-agent & Agent-to-server ) in new version 8, then you need to update 2 parameter in agent configuration

Update the config.dat file under
<agent>/ctm/data

First 2 parameters are CTMSHOST and CTMPERMHOSTS, here you need to replace/add the new control_M server host name

CTMSHOST <New>
CTMPERMHOSTS <New>

NOTE --> changing only these 2 parameter will work only if u r using the same ports to communicate between server and agent as previous installation

otherwise check the config.dat file for other parameter to be updated

This does not required agent restart as well

Posted: 05 Apr 2013 5:16
by osafr71
Hi.

Ok, i will do that.
Another questions, where i can find inormation of all agents, like for example the informations when we click on Properties of the Agent on CCM?

Is there any XML or DAT file with all info?

Posted: 08 Apr 2013 7:13
by Manii
you can run the following command on Control-M Server DB to get all Nodes associated to it and used in Jobs


select distinct NODEID from CMS_JOBDEF ;