On Thu, April 29, 2010 9:00 pm, Vadym Chepkov wrote:
>
> On Apr 29, 2010, at 1:00 PM, Lars Ellenberg wrote:
>
>> crm configure show your_ping_resource_id | sed -e
>> 's/host_list="\([^"]*\)"/host_list="10.10.10.1"/ |
>> crm configure load update -
>
> :)
>
>
> lovely
>
> /etc/{passwd,group,shadow,gshadow} also can be changed with sed.
> But majority use usermod/gpasswd and such instead, ingrates :)
>
What about something like that:
crm_resource -r your_ping_resource_id -p host_list -v 10.10.10.1
No xml no sed, but I agree that crm shell should have some "set" command,
if it doesn't have it.
Rasto
--
: Dipl-Ing Rastislav Levrinc
: DRBD-MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) 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