Automic Workload Automation

 View Only

 Issues with Linux agents

Omer Nuri's profile image
Omer Nuri posted Jan 31, 2021 04:03 PM
Hi all, 
We have issues with our Linux agents.
We installed agent and service manager according to the instructions in the documentations.
We know that we have a problem with the DNS server, so we configured the agent INI file with the IP of the engine server.
When we restart the server (Linux or AE) the agent lose connection to the engine.
We tried to find what cause this and found out that there is a part of the INI file called "CP list" which looks like that:
[CP LIST]
2217= engine server name
2218 = engine server name
2219 = engine server name

When we change the server name to IP, that fix the connection, but always return to the server name so the problem return.
anyone knows why is happens and how to fix it?

Thank you


ChristianVal's profile image
ChristianVal
I would suggest to use the actual engine server hostname in your agent ini entry.
To ensure that your agent is able to resolved the address, add your engine server details to your hosts file.

Remote that CP list from the ini entry and restart your agent:

2217= engine server name
2218 = engine server name
2219 = engine server name
Nicole Boeger's profile image
Nicole Boeger
Dear Omer,

have a look at the ucsrv.ini of your engine. There is a parameter named: hostName=


If you set the hostname of the engine server here, this name will be set in the ini-file of your agent. If you leave it empty, the ip address is used.

Please have a closer look on the ucsrv.ini documentation of your automic version.

Franz Zalubil's profile image
Franz Zalubil

Hi,

to work with hostname= instead of IP address is a good decision. 

How to handle this until the issue of this LInux box with DNC is solved. I would recommend to put the hostname in the host of this linux box until the issue is solved from the admins or networkteam. 

When you change the ucsrv.ini and deactivate the hostname=, it would meand to change from hostname to ip on all other components connecting to the CP. Understanding your post, you just have the issue with one Linux box and the rest of the Agents, the AWI, ... is working fine. Hope I understand it well.

Best,
Franz

Omer Nuri's profile image
Omer Nuri
HI,
Thank you all for your replies.
I looked at the ucsrv.ini and saw that we don't use hostname at all.
After consulting with the IT team we added the AE server name to the hosts file (apparently, they do it with every server that connect to the Linux machine).
It seems that this solved the problem.

Again, thank you.
Regards, Omer