VMware Cloud Community
njmn_hyperic
Contributor
Contributor

Multiple HQ Agents on one machine

Does Hyperic support multiple HQ Agent on the same machine?

I would like to run one agent with IBM JVM JDK1.4 (Websphere JVM) and one agent with SUN JVM 1.5.

thanks
0 Kudos
7 Replies
excowboy
Virtuoso
Virtuoso

Hi,

mmh I dont know exactly. Install each in a separate directory You need to configure two different ports for each Agent instance. One the websphere one, you may disable every unnecessary plugin. I'm pretty sure that you can connect to two different servers
But I don't know if a single HQ server can handle two agent instances from the same host because I'm not sure how HQ server seperates hosts. There are several values like IP adress and so on.

Cheers,
Mirko
0 Kudos
jschwartz73
Contributor
Contributor

This is possible. We are doing it in our environment. As mentioned above, you need to have both agents running on different ports.

Here is how we did it:

1) Un-tarred the hyperic-hq-agent-xxx.tgz file to two different directories, one for each agent.
2) Modified both the agent.properties file:
a) changed the ports to be different between the two files
b) changed the platform.fqdn to be different between the two files
3) Changed manually set the HQ_JAVA_HOME in the hq_agent.sh to point to
different jdks.

Started both agents.
0 Kudos
BradFelmey
Hot Shot
Hot Shot

Okay, I'm *dying* to know why. I've seen threads about this, but for the life of me I can't understand why anyone would need >1 agent.
0 Kudos
ipicco
Contributor
Contributor

I have an example:

DB2 Monitor Agent plugin needs some environment variables, including instance name and instance home.
I have 3 DB2 instance workin' on same host. How to solve this?

Simple and trivial: we run 3 agents.
0 Kudos
mbaker3
Enthusiast
Enthusiast

I am trying to do this to handle having multiple versions of WebLogic on the same machine. I built two agents but when I try to configure the second WebLogic it wants to go back to the original agent, which won't work. How do you control which agent accesses which server on the machine?

Thanks
0 Kudos
TheChristoph
Contributor
Contributor

This would also solve the problem of running 2 different JBoss Versions on the same platform. Thanks for the information.
0 Kudos
admin
Immortal
Immortal

We do this in our QA labs to simulate multiple plaforms. You should
use different agent ports and platform.fqdn (in agent.properties).

Charles


0 Kudos