I'm trying to connect a bamboo remote agent to bamboo. In the log file of the remote agent I find the line
[BambooActiveMQConnectionFactory] Setting broker URL to 'failover:(tcp://our_bamboo_server.domain_old:54663?wireFormat.maxInactivityDuration=300000)?maxReconnectAttempts=10&initialReconnectDelay=15000'
The only thing I see is that the bamboo server it's trying to connect to is our_bamboo_server.domain_old (anonymised name). It should however be our_bamboo_server.domain_new.
Long before installing the remote agent we have changed our domain from domain_old to domain_new.
The bamboo instance is running on a Red-Hat linux server which has been migrated from domain_old to domain_new.
Now my question is two fold:
- How does the bamboo-remote-agent determine the name of the bamboo server. In it's wrapper.conf file it only states the configuration:
wrapper.app.parameter.2=http://our_bamboo_server/bamboo/agentServer/
I could not find any other reference to our_bamboo_server.
- Is it possible to add/change something in the configuration of the remote agent to force the connection to our_bamboo_server.domain_new:54663.
Thanks in advance.