Re: Antw: How to modify crm configure by command line
Moullé Alain <[email protected]>
| Newsgroups | gmane.linux.highavailability.user |
|---|---|
| Message-ID | <[email protected]> |
Hi I think there is no easy command line to modify a timeout, except if you can write a good filter script to be used on command line such as : crm -F configure filter "sed, or whatever ..." Alain Le 28/07/2014 11:45, Dang Zhiqiang a écrit : > thanks, > I know this method, but I want to modify it by command line, provides an interface for other user. > > > > At 2014-07-28 05:25:15, "Ulrich Windl" <[email protected]> wrote: >>>>> "Dang Zhiqiang" <[email protected]> schrieb am 28.07.2014 um 11:18 in Nachricht >> <[email protected]>: >>> hi, >>> I want to modify op start timeout value through command line, but I search >>> on internet find nothing. >>> I try crm_resource comand, but I only modify params and meta. >>> >>> >>> root@host2:~# crm configure show test-ip >>> primitive test-ip ocf:openindiana:IPaddr \ >>> params ip="192.168.1.253" nic="igb0" cidr_netmask="24" \ >>> op start interval="0s" timeout="60s" on-fail="restart" \ >>> op monitor interval="10s" timeout="60s" on-fail="restart" \ >>> op stop interval="0s" timeout="60s" on-fail="stop" \ >>> meta target-role="Stopped" >> "crm configure edit test-ip"? >> >>> _______________________________________________ >>> Linux-HA mailing list >>> [email protected] >>> http://lists.linux-ha.org/mailman/listinfo/linux-ha >>> See also: http://linux-ha.org/ReportingProblems >> >> >> _______________________________________________ >> Linux-HA mailing list >> [email protected] >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems