Am Montag, 3. März 2008 11:51 schrieb Marco Leone: > Hi, > (...) > While I saw lot of mail and info about mysql (I'm reading through those > right now) I didn't find any specific information for jboss neither an > OCF agent in heartbeat distribution. > > I suppose I just need to write a simple agent that will manage start and > stop with the run.sh script provided by Jboss and I can get the status > part from the tomcat agent.
Yes. For LSB compatible Resource agents see: http://www.linux-ha.org/LSBResourceAgent start, stop and status with the correct return values are needed. > Anyone has already done something similar? There does exist a tomcat OCF-RA. Perhaps this is of use for you. > For the apache2 cib.xml configuration i used the python script and > started from a very simple haresource file; can anyone point me to the > right steps to take to build che cib.xml for the ip, drbd and jboss > resources (with this exact order)? Use groups! See: http://www.linux-ha.org/GettingStartedV2/Apache and http://www.linux-ha.org/v2/Examples/Advanced -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: [EMAIL PROTECTED] web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
