On Friday 26 February 2010 13:56:50 [email protected] wrote: > 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.
You can not modify the configuration of a managed resource. Did you try to set it to unmanaged and then change the configuration ? crm_resource -t primitive -r <rsc_id> -p is-managed -v false Marian > > 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. -- Best regards, Marian Marinov
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
