On Thu, Apr 29, 2010 at 12:42:04PM -0400, Vadym Chepkov wrote:
> 
> On Apr 29, 2010, at 9:51 AM, Rasto Levrinc wrote:
> > 
> > If it must be scriptable, I don't know if you can do it with crm shell.
> > You can use cibadmin with -R option to modify whatever you want.
> 
> back to xml times ? :)
> 
> It would be nice to be able to do
> 
> crm configure ping set params host_list="10.10.10.1"
> 
> Just a humble feature request

crm configure show your_ping_resource_id |
sed -e 's/host_list="\([^"]*\)"/host_list="10.10.10.1"/ |
crm configure load update -

?

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to