Re: [Linux-HA] ipvssync/ldirectord

2010-04-12 Thread bitte
Last Question on this. Is it really correct and possible that the master AND backup run on all nodes at the same time with same syncid (as below) to get here no SPOF? That means master AND backup are like a "clone" resource and run on all nodes. Tom. On Thu, 25 Feb 2010 11:53:59 +0100, Michael

[Linux-HA] ptest graph generation

2010-02-26 Thread bitte
Hi, which tasks are to performed to get a graph or xml with ptest? On which node does it have to be performed? I run pacemaker 1.0.7. ptest -L -D cl.dot -G cl.xml creates cl.dot +++ digraph "g" { } +++ cl.xml +++ +++ but no

Re: [Linux-HA] crm configure edit not allowed in batch mode

2010-02-26 Thread bitte
>> >> >> >> 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: loadba

Re: [Linux-HA] crm configure edit not allowed in batch mode

2010-02-26 Thread bitte
>> 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 dele

Re: [Linux-HA] crm configure edit not allowed in batch mode

2010-02-26 Thread bitte
On Thu, 25 Feb 2010 16:17:32 +0100, Florian Haas wrote: > On 2010-02-25 14:01, Dejan Muhamedagic wrote: >> This should do: >> >> cat <> 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 > fo

[Linux-HA] crm configure edit not allowed in batch mode

2010-02-25 Thread bitte
Hi, i want to edit a resource listed by crm configure show via batch/cmdline. current: group loadbalancer ldirectord vip_1 vip_2 should be changed to: group loadbalancer ldirectord vip_1 vip_2 vip_3 I tried echo "group loadbalancer ldirectord vip_1 vip_2 vip_3" | crm configure edit gp_LVS

Re: [Linux-HA] ipvssync/ldirectord

2010-02-25 Thread bitte
>> Does this mean - it doesnt matter what is in the ipvsadm.rules? >> It just needs to have the ipvsadm started ? > > ipvsadm is responsible for the state sync. > ldirectord for the rules. So -- if i have a init script, which does a ipvsadm --start-daemon=master --syncid=254 --mcast-interface=e

Re: [Linux-HA] ipvssync/ldirectord

2010-02-25 Thread bitte
>> Sounds good. IMHO the ipvsadm rules are controlled by ldirectord.cf. >> So my ipvsadm.rules are currently empty. >> which are the minimum ipvsadm.rules to work in your charming setup? >> e.g. for 3 or 4 nodes? >> >> Thanks for your reply! >> >> Tom. > > Don't know. Rules are controlled by ldir

Re: [Linux-HA] ipvssync/ldirectord

2010-02-25 Thread bitte
> I have ipvsadm replication started by the init system and ldirectord > managed > by the cluster (pacemaker). Works like a charm. > > Michael. Sounds good. IMHO the ipvsadm rules are controlled by ldirectord.cf. So my ipvsadm.rules are currently empty. which are the minimum ipvsadm.rules to w

[Linux-HA] ipvssync/ldirectord

2010-02-25 Thread bitte
Hello list, what is the current status/best practise for ipvsadm with ldirectord? should ipvsadm --both defined as a clone resource? which constraints or order should be taken? currently I only run ldirectord on the active VIP. I want to use LVS with DR. Thanks for your reply in advance. Tom.