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
> [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

Reply via email to