pingd is a daemon with is running all the time and does it job you still need to define monitor operation though, what if the daemon dies? op monitor just have a different meaning for ping and pingd. with pingd - monitor daemon with ping - monitor connectivity
as for warnings: crm configure property default-action-timeout="120s" On Tue, May 11, 2010 at 11:00 AM, Gianluca Cecchi <gianluca.cec...@gmail.com > wrote: > On Tue, May 11, 2010 at 1:13 PM, Vadym Chepkov <vchep...@gmail.com> wrote: > >> First of all, none of the monitor operation is on by default in pacemaker, >> this is something that you have to turn on >> For the ping RA start and stop op parameters don't do much, so you can >> safely drop them. >> >> >> > Yes, but for the pacemaker:pingd RA I didn't need to pass the "op monitor" > parameter to have it working.... > > Also, in general I added the start/stop op parameters, because without them > I get, for example with the command you suggested: > > [r...@ha1 ~]# crm configure primitive pinggw ocf:pacemaker:ping \ > > params host_list="192.168.101.1" multiplier="200" timeout="3" \ > > op monitor interval="10" > WARNING: pinggw: default-action-timeout 20s for start is smaller than the > advised 60 > WARNING: pinggw: default-action-timeout 20s for monitor_0 is smaller than > the advised 60 > > Do I have to ignore the warnings? > Or do I have to adapt the resource creation with: > [r...@ha1 ~]# crm configure primitive pinggw ocf:pacemaker:ping \ > > params host_list="192.168.101.1" multiplier="200" timeout="3" \ > > op start timeout="60" > > That gives no warnings (even if I would have expected the warning about the > monitor_0 timeout as I didn't set it...???) > > > > > _______________________________________________ > 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 >
_______________________________________________ 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