Create a watchdog application!
I need to create a watchdog application to ping the JMS resource. The watchdog application will be running on the two nodes that are in the cluster . The node that does not have the message queue running on it will be pinging the JMS resource on the other node and if at a specific interval its not available, it will start its own broker. I'm new to this so can someone help me out here.
Thanks in advance.
[421 byte] By [
j_ray] at [2007-11-26 9:22:43]

# 1
But this is what the cluster itself does best! Why not create a HA-MQ service which
would make the message queue highly available. Agents are available for SUN's MQ
server as well as for IBM's message queue.
Perhaps i am not understanding what exactly are you trying to do. Say more about it,
and also, why not use a pre-existing Agent for it.
# 4
Hi j_ray,
You would install the SunCluster Agent for Message Queue, look around on your
media, the resource type is called SUNW.s1mq.
Look up documentation on how to make use of SunCluster Message Broker Agent.
Here is a pointer i looked up on docs.sun.com
http://docs.sun.com/app/docs/doc/817-4643?q=sun+cluster+s1mq
This explains, in detail on how to configure the Agent to make the broker highly available.
since you need to instances (named A & B) you would create two resources of
resource type SUNW.s1mq. Follow the documentation on the details.
HTH,
-ashu