Hi,
I have a working OCF resource agent for Neo4j. OCF resource agents are
basically supersets of LSB init scripts. Mine would also make a
perfectly find init script.
The main extra things are:
You can configure them through environment variables - to support
multiple instances and alternative configurations
They support "real" monitoring, including multiple levels of
monitoring difficulty/expense/depth
They provide metadata describing how to configure them (I haven't
added that to mine yet)
Both the Pacemaker project and Red Hat's older cluster offerings support
OCF resource agents.
The code for this resource agent can be found here:
http://hg.linux-ha.org/assimilation/file/ac5e22344a48/ocf/neo4j
This one supports two levels of monitoring depth - as we talked about my
previous emails.
I also have the code in the Assimilation project to recognize neo4j is
running and automatically start monitoring it with this resource agent.
So, now whenever I see neo4j, I start monitoring it for correct
operation -- automatically ;-)
[We do it for many other things as well, but the neo4j part seems most
interesting to this mailing list].
--
Alan Robertson <[email protected]> - @OSSAlanR
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.