Monitoring JBoss instances on Amazon EC2
flsusp-br Sep 17, 2010 10:41 AMI have a cluster configured on Amazon EC2 Cloud but I am having trouble to configure my volatile JBoss instances on RHQ 3.0.0. Basically I did the following:
1) I created an image of my default JBoss instance machine with the JBoss and RHQ Agent;
2) On a new machine startup there is a script that changes the agent bind address that is configured on $HOME/.java/.userPrefs/rhq-agent/default/prefs.xml (file generated by the RHQ Agent setup). It changes also the property "rhq.agent.name" to something like "backend-${bindAddress}" (cause I have another cluster that we call "frontend"). As each machine has a different IP/Bind Address, there should be no issues for the RHQ server;
When I start the a new machine, automatically starting the RHQ Agent, the agent is correctly registered on the RHQ Server, but with the wrong agent name. The name registered maches the hostname of the new machine. I want it to match the name on the configuration file, for organization purposes. There is something I'm missing?
I'd like also to remove some servers from the Auto-Inventory. There is some way to do this?
Thanks,
Fábio.