On Thu, 25 Feb 2010 16:17:32 +0100, Florian Haas <[email protected]> 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>". > > Cheers, > Florian
But - it seems not to work for a running resource : crm configure << EOF > delete loadbalancer > group loadbalancer ldirectord vip_1 vip_2 vip_3 > verify > EOF INFO: no curses support: you won't see colors WARNING: 1: resource loadbalancer is running, can't delete it ERROR: 2: loadbalancer: id is already in use Do you have another idea. When performing a crm configure edit loadbalancer it works -- but i need to do it from cmdline. If I try the "load update" the message loadbalancer: id is already in use occurs. Thanks for your reply in advance. Tom. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
