-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubernetes-statefulset-agent-using-pvc: ctmping fails from the server #96
Comments
@codytrey could you please help with this? |
Hi @anshul07 Sorry I couldn't reply sooner (I've been out sick). You are correct that in this mode the server does not need to know the name of the Control-M/Agent. However, a new connection is not necessarily opened each time that the agents needs to send data to the server, nor does the server have to wait until the agent reopens the connection because the agent should keep the connection active (ie. persistent mode) It is expected that Please let me know if that helps, if so close the issue. If you have additional questions, depending on what they are I may need to ask you to open a case with us on the BMC Support Central page so that we could discuss in more detail. Thanks! |
Thanks Cody for your reply. It seems it is trying to validate communication from server to agent as well as the start up script is failing for us. I tried doing the telnet to 7005 port of our server and it worked fine. I am using automation api 9.20.100. Is it possible that the issues lies there? Also on the server logs there are many entries for "unable to resolve host" Also, curious to know that if 7006 of agent port is not being used then why do we need to define it in stateful.yaml?
|
Hi @codytrey facing a similar issue as @anshul07 any update on this? |
We have worked around this issue but having the agent setup to use the FQDN and then adding the actual Control-M Server name into CTMPERMHOSTS using ctmcfg in our [container_agent_startup.sh. echo 'Updating CTMPERMHOSTS file' |
Hi,
I am following the tutorial kubernetes-statefulset-agent-using-pvc to run control m agents on Kubernetes and have followed all the steps as mentioned in the read me.
I am successfully able to run the command
kubectl exec -it statefulset-agent-0 -- tcsh -c ag_ping
but when I try ctmping -HOSTID statefulset-agent-0 on the server it fails with the error unknown host as the statefulset-agent- doesn't existIs there same sort of configuration (networking) that is required?
As we are using the ConnectionInitiation=AgentToSever does it mean that everytime server and agent communication needs to happen agent will make a connection and hence server doesn't need to know about the the location of agent as long as agent is able to communicate with server?
The text was updated successfully, but these errors were encountered: