[Pacemaker] How to use the crm command to modify the heartbeat / corosync the interval / timeout value?

Dan Frincu df.cluster at gmail.com
Wed Jun 8 07:40:26 EDT 2011


Hi,

2011/6/8 飞爱曦 <renwofei423 at gmail.com>

>  How to use the crm command to modify the heartbeat / corosync the interval
> / timeout value?
> For example:
>     primitive Filesystem_3 ocf: heartbeat: Filesystem \
>     op monitor interval = "120s" timeout = "60s" \
>     params device = "-U56c48cba-c365-40fc-8895-d85916755f28" directory = "/
> d7" fstype = "ext3"
> I want to modify the
> op monitor interval = "120s" timeout = "60s"
>  as
>  op monitor interval = "60s" timeout = "30s"
>  how to use the crm command changes?
> I am looking for a long time did not find, for help ~
>
> Is there a way to without "crm configure edit"? I wrote an web interface to
> the detection and controlheartbeat, I need a command to modify the way ...
>
> crm configure save > filename
Edit filename as to change the values as you need and then
crm configure load replace filename

>
> Poor zhou =.=
>
>
>
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>


-- 
Dan Frincu
CCNA, RHCE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110608/641c05df/attachment-0003.html>


More information about the Pacemaker mailing list