[Pacemaker] About a stop/restart of the monitor.
renayama19661014 at ybb.ne.jp
renayama19661014 at ybb.ne.jp
Thu Aug 6 02:42:46 EDT 2009
Hi Andrew,
> iirc, there you can also set enabled=false. Check out the schema
> files. It may even be in the PDF
Thank you.
I tried to test the next command.
# cibadmin -R -X '<op id="prmDummy1-monitor" interval="10s" name="monitor" on-fail="restart"
timeout="60s" enabled=false />'
But, the monitor of the resource does not stop.
I use Pacemaker of Pacemaker-1-0-c0a1d730fe44.
Will Pacemaker which I use be old?
Or is the usage of my command wrong?
Best Regards,
Hideo Yamauchi.
--- Andrew Beekhof <andrew at beekhof.net> wrote:
> iirc, there you can also set enabled=false. Check out the schema
> files. It may even be in the PDF
>
> -- Andrew via PDA
>
> On 2009-08-06, at 7:25, <renayama19661014 at ybb.ne.jp> wrote:
>
> > Hi,
> >
> > We examined a method to reopen after having stopped the monitor of
> > the resource in environment of
> > latest Pacemaker.
> >
> > Of course we understand that a monitor stops by making a cluster a
> > maintenance mode.
> > However, our customer wants to stop a monitor individually without
> > making a cluster a maintenance
> > mode.
> >
> > Two next methods were found.
> >
> > Method 1)I stop a monitor by a cibadmin command and I add it by a
> > crm command and restart.
> > * cibadmin -D -X '<op id="prmDummy1-monitor" interval="10s"
> > name="monitor" on-fail="restart" />'
> > -----> stop monitor
> > * crm(live)# configure
> > * crm(live)configure# monitor prmDummy1 10s:60s -----> append monitor
> > * crm(live)configure# commit ----> restart monitor
> > * exit
> > * cibadmin -R -X '<op id="prmDummy1-monitor-10s" interval="10s"
> > name="monitor" timeout="60s"
> > on-fail="restart" />' ----> update monitor
> >
> > Method 2)I change a monitor interval by a cibadmin command and stop
> > and restart.
> > * cibadmin -R -X '<op id="prmDummy1-monitor" interval="0"
> > name="monitor" on-fail="restart" />' ----->
> > stop monitor
> > * [root at node01 ~]# cibadmin -R -X '<op id="prmDummy1-monitor"
> > interval="10s" name="monitor"
> > on-fail="restart" />' -----> restart monitor
> >
> > Operation was the simplest, and the operation that it was easy to
> > use was the second method.
> > We are going to recommend the second method to a customer.
> >
> > If there is the stop method of the monitor which community else
> > recommends, please teach it.
> >
> > Best Regards,
> > Hideo Yamauchi.
> >
> >
> > _______________________________________________
> > Pacemaker mailing list
> > Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
More information about the Pacemaker
mailing list