Hi all, Here is a question which I suppose should interest many people : How to configure Heartbeat(v1.2.3)+Mon(v0.99.2) for this : - You have an active/active cluster whith the group of resources G1 active on node 1 and G2 active on node 2. - Mon is supposed to monitor simultaneously one resource of G1 and one resource of G2.
Until now I have configured Heartbeat+Mon for an active/passive cluster, G1 (Apache+Mon+logical address) active on node 1 that's all, and Mon monitoring Apache (either on node 1 or on node 2 according to which node has overtaken the resources). Here the associated mon.cf configuration file : ************************************************************************************************ alertdir = /usr/lib/mon/alert.d mondir = /usr/lib/mon/mon.d histlength = 100 hostgroup HTTP_DEAD 135.9.216.51 hostgroup HTTP_FAILURE 135.9.216.51 watch HTTP_DEAD service http interval 10s monitor http.monitor -p 80 -u /index.html period wd {Mon-Sun} numalerts 2 alert mail.alert [EMAIL PROTECTED] upalert mail.alert [EMAIL PROTECTED] alert arreterheartbeat.alert alert reboot_node.alert alertafter 50s alertevery 10s watch HTTP_FAILURE service http interval 10s monitor http.monitor -p 80 -u /index.html period wd {Mon-Sun} numalerts 3 alert restart_apache.alert alertafter 10s alertevery 10s ************************************************************************************************ And the Heartbeat haresources file : ************************************************************************************************ EEPCLU1 135.9.216.51 apacheDebian mon ************************************************************************************************ The files mon.cf being the same on both nodes, it seems difficult to configure it so that it monitors resources of both groups. Do you how to perform this ? Thanks by advance. Fabrice _______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon