[Linux-HA] crm configure edit not allowed in batch mode
Dejan Muhamedagic
dejanmm at fastmail.fm
Thu Feb 25 08:44:01 MST 2010
On Thu, Feb 25, 2010 at 04:17:32PM +0100, Florian Haas wrote:
> On 2010-02-25 14:01, Dejan Muhamedagic wrote:
> > This should do:
> >
> > cat <<EOF | crm configure
> > delete loadbalancer
> > group loadbalancer ldirectord vip_1 vip_2 vip_3
> > EOF
>
> You will also need to insert "commit" before EOF. And of course, no need
> for cat, "crm configure <<EOF" will do. Or just put that config snippet
> into a text file, and do "crm configure load update <filename>".
Thanks Florian for setting me straight. IIRC, "load update -"
reads from stdin so it could also be:
echo group loadbalancer ldirectord vip_1 vip_2 vip_3 |
crm configure load update -
Cheers,
Dejan
> Cheers,
> Florian
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA
mailing list