I need to manage ActiveMQ 4.1.1 daemon as an OCF resource in a Linux HA cluster.
Has someone already written/tested an OCF resource agent for ActiveMQ (4.1.1)? In particular: an OCF resource agent needs to implement a monitor status function for the resource that would identify conclusively if the resource is active or not. Is there a foolproof way to determine if ActiveMQ broker is running and is operational? Is there a way to connect (via a shell script) to the broker's openwire port to determine if the broker is listening for requests? Any help appreciated, Regards, /U