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

Renwofei renwofei423 at gmail.com
Wed Jun 8 15:57:08 UTC 2011


Great! I will try it later,thans!

发自我的 iPad

在 2011-6-8,19:40,Dan Frincu <df.cluster at gmail.com> 写道:

> 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
> 
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110608/8fbd4f5e/attachment.htm>


More information about the Pacemaker mailing list