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

Re: [Linux-HA] ipvssync/ldirectord

2010-02-25 Thread Michael Schwartzkopff
Am Donnerstag, 25. Februar 2010 10:19:08 schrieb bi...@antworte.me: > 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 a

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

Re: [Linux-HA] ipvssync/ldirectord

2010-02-25 Thread Michael Schwartzkopff
Am Donnerstag, 25. Februar 2010 10:34:17 schrieb bi...@antworte.me: > > 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

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 Michael Schwartzkopff
Am Donnerstag, 25. Februar 2010 11:13:41 schrieb bi...@antworte.me: > >> 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? > >> > >>

Re: [Linux-HA] ipvssync/ldirectord

2010-02-25 Thread Malte Geierhos
Am 25.02.10 11:13, schrieb bi...@antworte.me: > >>> 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!

Re: [Linux-HA] ipvssync/ldirectord

2010-02-25 Thread Darren.Mansell
-Original Message- From: linux-ha-boun...@lists.linux-ha.org [mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of Malte Geierhos Sent: 25 February 2010 10:18 To: linux-ha@lists.linux-ha.org Subject: Re: [Linux-HA] ipvssync/ldirectord Am 25.02.10 11:13, schrieb bi...@antworte.me: >

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

[Linux-HA] Filesystem starting at the wrong time

2010-02-25 Thread Frank Lazzarini
Hi there, I have a config setup in Ubuntu 9.10 with Pacemaker 1.0.5 here it is node $id="76df8738-d836-4a95-afe3-732bc5cc7b66" ewadata2 \ attributes standby="off" node $id="fd56770d-eef2-47e5-97aa-813ae1e71d7f" ewadata1 \ attributes standby="off" primitive IP ocf:heartbeat:IPaddr \

Re: [Linux-HA] ipvssync/ldirectord

2010-02-25 Thread Michael Schwartzkopff
Am Donnerstag, 25. Februar 2010 11:37:24 schrieb bi...@antworte.me: > >> 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 scrip

Re: [Linux-HA] Filesystem starting at the wrong time

2010-02-25 Thread Michael Schwartzkopff
Am Donnerstag, 25. Februar 2010 11:54:57 schrieb Frank Lazzarini: > Hi there, I have a config setup in Ubuntu 9.10 with Pacemaker 1.0.5 here > it is > > node $id="76df8738-d836-4a95-afe3-732bc5cc7b66" ewadata2 \ > attributes standby="off" > node $id="fd56770d-eef2-47e5-97aa-813ae1e71d7f" ewada

[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] crm configure edit not allowed in batch mode

2010-02-25 Thread Dejan Muhamedagic
Hi, On Thu, Feb 25, 2010 at 12:45:23PM +0100, bi...@antworte.me wrote: > > 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 >

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

2010-02-25 Thread Florian Haas
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 for cat, "crm configure <". Cheers, Florian signature.asc Description:

Re: [Linux-HA] Command line option to fail back a master/slave resource

2010-02-25 Thread Dejan Muhamedagic
Hi, On Wed, Feb 24, 2010 at 10:45:16AM -0800, Bob Schatz wrote: > Dejan, > > > Sorry for the delay in responding. > > Comments inline with [BS] and questions with "QUESTION #" > > > Thanks! > > Bob > > > > - Original Message > From: Dejan Muhamedagic > To: General Linux-HA maili

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

2010-02-25 Thread Dejan Muhamedagic
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 < > 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

Re: [Linux-HA] Filesystem starting at the wrong time

2010-02-25 Thread Frank Lazzarini
Thanks a bunch Michael, I want to share my current config ... which is working just perfectly like I wanted it to .. with everyonemaybe it helps someone. :) (note my uuids changed since my last post, and cli-prefer-clustergroup was created automatically when I created the group) node $id="3e

Re: [Linux-HA] IP Power 9258 stonith plugin

2010-02-25 Thread Helmut Weymann
Hi Dejan, Am Mittwoch, 24. Februar 2010 schrieb Dejan Muhamedagic: > Hi, > > On Tue, Feb 23, 2010 at 09:13:19PM +0100, Helmut Weymann wrote: > > Hi Dejan, > > > > many thanks for your comments. > > > > I have no idea about the programming standards the linux-ha project uses. > > I am just a simple

Re: [Linux-HA] IP Power 9258 stonith plugin

2010-02-25 Thread Helmut Weymann
Am Freitag, 26. Februar 2010 schrieb Helmut Weymann: > Hi Dejan, > > Am Mittwoch, 24. Februar 2010 schrieb Dejan Muhamedagic: > > Hi, > > > > On Tue, Feb 23, 2010 at 09:13:19PM +0100, Helmut Weymann wrote: > > > Hi Dejan, > > > > > > many thanks for your comments. > > > > > > I have no idea about t