I have just find out the problem. Actually was a problem with the logic on how nginx check the status of the PID. I just fixed the init script and now it is returning no error.
On Tue, Feb 26, 2013 at 5:59 PM, Charles Mean <charles.m...@gmail.com>wrote: > Hey guys, > > I think I get it. > After I cleaned the resource(HA_NGINX) and now it just reports an error on > monitoring the passive host. > > Failed actions: > NGINX_HA_monitor_0 (node=host04, call=55, rc=1, status=complete): > unknown error > > Once the resource is running on host03, I guess it is normal, isn't it ? > > Thank you again > > > On Tue, Feb 26, 2013 at 2:42 PM, Charles Mean <charles.m...@gmail.com>wrote: > >> Hey there, >> >> I am running heartbeat with pacemaker and it is working quite well. >> However, there is an error bugging me off, when I use crm_mon to see the >> cluster status, it show me and section caled "Failed actions". >> >> Failed actions: >> NGINX_HA_monitor_0 (node=host04, call=3, rc=1, status=complete): >> unknown error >> NGINX_HA_monitor_0 (node=host03, call=3, rc=1, status=complete): >> unknown error >> >> Where NGINX_HA is my resource which monitor nginx status through LSB, I >> have changed to hacluster user to run /etc/init.d/nginx status and it >> returns and OK status. >> >> I would like to know a little bit more about this error, do you know >> something about that ? >> >> Thank you >> > >
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org