[Linux-HA] Test of HA

Alan Robertson alanr at unix.sh
Tue Oct 18 13:15:59 MDT 2005


Philip Juels wrote:
> Hi all,
> 
> I've successfully set up a simple two-node v2 active/passive Apache 
> cluster.  In order to test failover of a crashed httpd service, I killed 
> the httpd daemon and watched the ha.log to see if HA would recover the 
> service.  Well, my "test" did not work...killing the daemon (or 
> executing a httpd stop) only resulted in a series of errors in the ha.log:
> 
> crmd[28210]: 2005/10/17_11:23:02 info: mask(lrm.c:do_lrm_rsc_op): 
> Performing op start on group_1:httpd_2
> crmd[28210]: 2005/10/17_11:23:03 info: mask(lrm.c:do_lrm_rsc_op): 
> Performing op monitor on group_1:httpd_2
> crmd[28210]: 2005/10/17_11:27:03 ERROR: mask(lrm.c:do_lrm_event): LRM 
> operation (5) monitor on group_1:httpd_2 ERROR: invalid parameter
> crmd[28210]: 2005/10/17_11:27:03 info: mask(lrm.c:do_lrm_rsc_op): 
> Performing op stop on group_1:httpd_2
> crmd[28210]: 2005/10/17_11:27:03 WARN: mask(lrm.c:do_lrm_event): LRM 
> operation (5) monitor on group_1:httpd_2 cancelled
> crmd[28210]: 2005/10/17_11:27:03 ERROR: mask(lrm.c:do_lrm_event): LRM 
> operation (7) stop on group_1:httpd_2 ERROR: unknown error
> crmd[28210]: 2005/10/17_11:27:05 info: mask(lrm.c:do_lrm_rsc_op): 
> Performing op stop on group_1:httpd_2
> crmd[28210]: 2005/10/17_11:27:05 ERROR: mask(lrm.c:do_lrm_event): LRM 
> operation (8) stop on group_1:httpd_2 ERROR: unknown error
> crmd[28210]: 2005/10/17_11:27:07 info: mask(lrm.c:do_lrm_rsc_op): 
> Performing op stop on group_1:httpd_2
> 
> These errrors continue until I restarted httpd on the primary node, 
> after which heartbeat switched the httpd service over to the secondary 
> node:

My guess is that your httpd_2 resource failed when given a stop 
operation when it was already stopped.


-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me 
claim from you at all times your undisguised opinions." - William 
Wilberforce


More information about the Linux-HA mailing list