Is it possible to install rhq-agent from rhq-server silently only by specifying agent IP Address.
Asked
Active
Viewed 591 times
1 Answers
3
On Linux:
create the following script and call like script.sh &
This will run in background
pseudo-code
ssh with Agent IP > /dev/null
curl jar file from https://$rhq-server-ip-address:$port/agentupdate/download > /dev/null
ssh root@$agent-ip "java -jar /path/to/rhq-enterprise-jar --install > /dev/null"
this will install the agent with no output.