Re: [Linux-HA] Pingd does not react as expected => split brain

2011-04-28 Thread Andrew Beekhof
On Wed, Apr 27, 2011 at 7:18 PM, Stallmann, Andreas wrote: > Hi Andrew, > >> According to your configuration, it can be up to 60s before we'll detect a >> change in external connectivity. >> Thats plenty of time for the cluster to start resources. >> Maybe shortening the monitor interval will hel

Re: [Linux-HA] Pingd does not react as expected => split brain

2011-04-27 Thread Stallmann, Andreas
Hi Andrew, > According to your configuration, it can be up to 60s before we'll detect a > change in external connectivity. > Thats plenty of time for the cluster to start resources. > Maybe shortening the monitor interval will help you. TNX for the suggestion, I'll try that. Any suggestions on r

Re: [Linux-HA] Pingd does not react as expected => split brain

2011-04-27 Thread Andrew Beekhof
On Wed, Apr 27, 2011 at 11:52 AM, Stallmann, Andreas wrote: > Hi Lars, > > Hi Lars! > >> You are exercising complete cluster communication loss. >> Which is cluster split brain. > Correct, yes. > >> If you are specifically exercising cluster split brain, why are you >> surprised that you get exac

Re: [Linux-HA] Pingd does not react as expected => split brain

2011-04-27 Thread RaSca
Il giorno Mer 27 Apr 2011 12:04:57 CET, Stallmann, Andreas ha scritto: > Hi! > -Ursprüngliche Nachricht- > Von: RaSca [mailto:ra...@miamammausalinux.org] > Gesendet: Mittwoch, 27. April 2011 11:28 >> As far as I remember the master suggestion was to use ping instead of pingd, >> so... Try

Re: [Linux-HA] Pingd does not react as expected => split brain

2011-04-27 Thread Stallmann, Andreas
Hi Lars, Hi Lars! > You are exercising complete cluster communication loss. > Which is cluster split brain. Correct, yes. > If you are specifically exercising cluster split brain, why are you surprised > that you get exactly that? Because ping(d) is supposed to keep ressources from starting on

Re: [Linux-HA] Pingd does not react as expected => split brain

2011-04-27 Thread Lars Ellenberg
On Wed, Apr 27, 2011 at 09:11:44AM +, Stallmann, Andreas wrote: > Hi! > > I've two cluster-nodes, both running pingd (as a clone), to keep ressources > from starting on nodes which have not obvious connection to the network. The > ping-nodes are: > > > -appl01 (10.10.10.202) > > -

Re: [Linux-HA] Pingd does not react as expected => split brain

2011-04-27 Thread RaSca
Il giorno Mer 27 Apr 2011 11:11:44 CET, Stallmann, Andreas ha scritto: > Hi! > I've two cluster-nodes, both running pingd (as a clone), to keep ressources > from starting on nodes which have not obvious connection to the network. The > ping-nodes are: [...] > Any ideas? > Thanks for your help, A

[Linux-HA] Pingd does not react as expected => split brain

2011-04-27 Thread Stallmann, Andreas
Hi! I've two cluster-nodes, both running pingd (as a clone), to keep ressources from starting on nodes which have not obvious connection to the network. The ping-nodes are: -appl01 (10.10.10.202) -appl02 (10.10.10.203) -Default GW (10.10.10.254) Before shutting down

Re: [Linux-HA] pingd resource problem

2011-01-04 Thread Dejan Muhamedagic
Hi, On Thu, Dec 30, 2010 at 04:52:38PM +0100, Nico Faerber wrote: > Salute > > I have some troubles setting up a pingd clone resource. > I'm using pacemaker 1.0.8 with corosync 1.2.0 running on a ubuntu 10.04. > > after setting up the resource crm/configure/show gives this: > > primitive pingd

[Linux-HA] pingd resource problem

2010-12-30 Thread Nico Faerber
Salute I have some troubles setting up a pingd clone resource. I'm using pacemaker 1.0.8 with corosync 1.2.0 running on a ubuntu 10.04. after setting up the resource crm/configure/show gives this: primitive pingd ocf:pacemaker:pingd \ params host_list="192.168.250.55" multiplier="100" \

Re: [Linux-HA] Pingd failed

2010-04-29 Thread Andrew Beekhof
On Mon, Apr 26, 2010 at 8:56 AM, Scheffler Heinz wrote: > Hello > > I configured pingd as a clone resource. Now pingd crashed and the > cluster did a failover. Can you show us the configuration of you pingd resource? > Real pingd messages with a failed network > resource looks different Our

[Linux-HA] Pingd failed

2010-04-25 Thread Scheffler Heinz
Hello I configured pingd as a clone resource. Now pingd crashed and the cluster did a failover. Real pingd messages with a failed network resource looks different Our network admins can't detect any failures at the given time. Does anybody know, what the pingd syslog messages mean? Thanks a

Re: [Linux-HA] pingd - rules - problem

2010-03-25 Thread Scheffler Heinz
: Mittwoch, 24. März 2010 15:39 To: General Linux-HA mailing list Subject: Re: [Linux-HA] pingd - rules - problem On Wed, Mar 24, 2010 at 2:49 PM, Scheffler Heinz wrote: > I use dumpen="60s" until my first tests. Perhaps make it higher. > Maybe the order of the rules are relevan

Re: [Linux-HA] pingd - rules - problem

2010-03-24 Thread Andrew Beekhof
a.org > [mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of Scheffler Heinz > Sent: Mittwoch, 24. März 2010 14:12 > To: General Linux-HA mailing list > Subject: Re: [Linux-HA] pingd - rules - problem > > My DTD requires type="number". Anyway, it is a cosmetically correction -

Re: [Linux-HA] pingd - rules - problem

2010-03-24 Thread Scheffler Heinz
HA mailing list Subject: Re: [Linux-HA] pingd - rules - problem On Wed, Mar 24, 2010 at 2:11 PM, Scheffler Heinz wrote: > My DTD requires type="number". Anyway, it is a cosmetically correction - the > behavior of the cluster is the same. "Number" seems to be the default

Re: [Linux-HA] pingd - rules - problem

2010-03-24 Thread Scheffler Heinz
HA mailing list Subject: Re: [Linux-HA] pingd - rules - problem My DTD requires type="number". Anyway, it is a cosmetically correction - the behavior of the cluster is the same. "Number" seems to be the default. The rules are working correct 90% works good. There is a timing pro

Re: [Linux-HA] pingd - rules - problem

2010-03-24 Thread Andrew Beekhof
On Wed, Mar 24, 2010 at 2:11 PM, Scheffler Heinz wrote: > My DTD requires type="number". Anyway, it is a cosmetically correction - the > behavior of the cluster is the same. "Number" seems to be the default. > The rules are working correct 90% works good. There is a timing problem, > depending o

Re: [Linux-HA] pingd - rules - problem

2010-03-24 Thread Scheffler Heinz
defaultgateway first. -Original Message- From: linux-ha-boun...@lists.linux-ha.org [mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of Andrew Beekhof Sent: Mittwoch, 24. März 2010 11:54 To: General Linux-HA mailing list Subject: Re: [Linux-HA] pingd - rules - problem Expressions like these:

Re: [Linux-HA] pingd - rules - problem

2010-03-24 Thread Andrew Beekhof
Expressions like these: Should include type="integer" so that the cluster does the correct type of comparison. Try that and let us know if it improves things. On Wed, Mar 24, 2010 at 11:45 AM, Scheffler Heinz wrote: > Hello > > I have a corosync-pacemaker Cluster with two nodes (mutual takeove

[Linux-HA] pingd - rules - problem

2010-03-24 Thread Scheffler Heinz
Hello I have a corosync-pacemaker Cluster with two nodes (mutual takeover). All resource locations on one node depending on the nodes network connectivitiy. pingd-depending rules for the ip interfaces in a base - group and then colocations for all other groups. I wrote rules around pingd for

Re: [Linux-HA] pingd constraint

2010-02-15 Thread Andrew Beekhof
On Sun, Feb 14, 2010 at 10:24 PM, tomtom wrote: > Hi all, > > if I use pingd and a host_list, > how could a configuration to ensure a resource e.g. "VIP" > runs on the host which reaches the most of host_list hosts? > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ch0

[Linux-HA] pingd constraint

2010-02-14 Thread tomtom
Hi all, if I use pingd and a host_list, how could a configuration to ensure a resource e.g. "VIP" runs on the host which reaches the most of host_list hosts? Thanks for your reply in advance. Thomas. -- sent via tiri messaging -

Re: [Linux-HA] pingd - how configure?

2009-06-25 Thread Paul Gear
Michael Schwartzkopff wrote: > Am Montag, 22. Juni 2009 10:13:28 schrieb Alex Orlov: >> Hi! >> >> How configure pingd on newly created cluster? >> Where i can read about? >> >> http://linux-ha.org/pingd - Page not found. >>... > http://www.clusterlabs.org/wiki/Example_configurations#Failover_IP__Se

Re: [Linux-HA] pingd - how configure?

2009-06-22 Thread Michael Schwartzkopff
Am Montag, 22. Juni 2009 10:13:28 schrieb Alex Orlov: > Hi! > > How configure pingd on newly created cluster? > Where i can read about? > > http://linux-ha.org/pingd - Page not found. > > > ___ > Linux-HA mailing list > Linux-HA@lists.linux-ha.org > http:

[Linux-HA] pingd - how configure?

2009-06-22 Thread Alex Orlov
Hi! How configure pingd on newly created cluster? Where i can read about? http://linux-ha.org/pingd - Page not found. ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.o

[Linux-HA] pingd - Page not found

2009-06-16 Thread Alex Orlov
http://linux-ha.org/pingd - Page not found. ? ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems

Re: [Linux-HA] pingd vs. ipfail: how to compare the ping nodes??

2009-06-10 Thread Patrick Roßbach
Andrew Beekhof schrieb: > On Mon, Jun 8, 2009 at 8:51 AM, Patrick Roßbach > wrote: > >> Hi, >> >> we are migrating from heartbeat v1 to v2 and also want to use pingd >> instead of ipfail. Our two cluster nodes are connected to redundant >> networks (two switches etc.) to communicate to the rest

Re: [Linux-HA] pingd vs. ipfail: how to compare the ping nodes??

2009-06-09 Thread Andrew Beekhof
On Mon, Jun 8, 2009 at 8:51 AM, Patrick Roßbach wrote: > Hi, > > we are migrating from heartbeat v1 to v2 and also want to use pingd > instead of ipfail. Our two cluster nodes are connected to redundant > networks (two switches etc.) to communicate to the rest of the world. > With v1 ipfail compar

[Linux-HA] pingd vs. ipfail: how to compare the ping nodes??

2009-06-07 Thread Patrick Roßbach
Hi, we are migrating from heartbeat v1 to v2 and also want to use pingd instead of ipfail. Our two cluster nodes are connected to redundant networks (two switches etc.) to communicate to the rest of the world. With v1 ipfail compared the number of successful pings of both cluster nodes to let

Re: [Linux-HA] Pingd doesn't send ICMP packets

2009-05-15 Thread Dejan Muhamedagic
Hi, On Fri, May 15, 2009 at 09:40:04AM +0200, alvarez wrote: > Hi, > > I would like to use pingd to check connectivity on my R2-style cluster. The > cluster configuration is very simple at this time: just 2 nodes and 1 IPaddr > resource. > Each node has eth0 interface used for production traffi

[Linux-HA] Pingd doesn't send ICMP packets

2009-05-15 Thread alvarez
Hi, I would like to use pingd to check connectivity on my R2-style cluster. The cluster configuration is very simple at this time: just 2 nodes and 1 IPaddr resource. Each node has eth0 interface used for production traffic and eth1 (cross-cable) for clustering. Pingd should check the eth0 gatew

Re: [Linux-HA] pingd/pacemaker

2009-04-01 Thread Michael Schwartzkopff
Am Mittwoch, 1. April 2009 08:52:37 schrieb Dominik Klein: > > I know. But this attrbiut does not exist in my setup. pacemaker verison > > 1.0.1-1. Is this a feature of 1.0.2? > > 1.0.1 is 4 months old. The RA was updated with those features 3 months > ago. So basically, yes. You could still update

Re: [Linux-HA] pingd/pacemaker

2009-03-31 Thread Dominik Klein
> I know. But this attrbiut does not exist in my setup. pacemaker verison > 1.0.1-1. Is this a feature of 1.0.2? 1.0.1 is 4 months old. The RA was updated with those features 3 months ago. So basically, yes. You could still update the single RA from the mercurial repository though. Regards Domin

Re: [Linux-HA] pingd/pacemaker

2009-03-31 Thread Michael Schwartzkopff
Am Dienstag, 31. März 2009 16:03:28 schrieb Dominik Klein: > Michael Schwartzkopff wrote: > > Am Dienstag, 31. März 2009 15:27:47 schrieb Dominik Klein: > >> Michael Schwartzkopff wrote: > >>> Hi, > >>> > >>> I am testing the pingd from the provider pacemaker. As Dominik told me, > >>> there is no

Re: [Linux-HA] pingd/pacemaker

2009-03-31 Thread Dominik Klein
Michael Schwartzkopff wrote: > Am Dienstag, 31. März 2009 15:27:47 schrieb Dominik Klein: >> Michael Schwartzkopff wrote: >>> Hi, >>> >>> I am testing the pingd from the provider pacemaker. As Dominik told me, >>> there is no need to define ping nodes in the ha.cf any more. OK so far. >>> >>> As I

Re: [Linux-HA] pingd/pacemaker

2009-03-31 Thread Michael Schwartzkopff
Am Dienstag, 31. März 2009 15:44:38 schrieb Michael Schwartzkopff: > Am Dienstag, 31. März 2009 15:27:47 schrieb Dominik Klein: > > Michael Schwartzkopff wrote: > > > Hi, > > > > > > I am testing the pingd from the provider pacemaker. As Dominik told me, > > > there is no need to define ping nodes

Re: [Linux-HA] pingd/pacemaker

2009-03-31 Thread Michael Schwartzkopff
Am Dienstag, 31. März 2009 15:27:47 schrieb Dominik Klein: > Michael Schwartzkopff wrote: > > Hi, > > > > I am testing the pingd from the provider pacemaker. As Dominik told me, > > there is no need to define ping nodes in the ha.cf any more. OK so far. > > > > As I see pingd tries to reach all pin

Re: [Linux-HA] pingd/pacemaker

2009-03-31 Thread Dominik Klein
Michael Schwartzkopff wrote: > Hi, > > I am testing the pingd from the provider pacemaker. As Dominik told me, there > is no need to define ping nodes in the ha.cf any more. OK so far. > > As I see pingd tries to reach all pingnodes of the hostlist attribute every > 10 > seconds. Is it possibl

[Linux-HA] pingd/pacemaker

2009-03-31 Thread Michael Schwartzkopff
Hi, I am testing the pingd from the provider pacemaker. As Dominik told me, there is no need to define ping nodes in the ha.cf any more. OK so far. As I see pingd tries to reach all pingnodes of the hostlist attribute every 10 seconds. Is it possible to pass an attribute to the pingd deamon to

Re: [Linux-HA] Pingd stops working after a certain time

2009-02-13 Thread Andrew Beekhof
You hit a pingd bug. The counter wraps around pingd wasn't able to handle it. This and the logging is fixed for the next version. On Thu, Feb 12, 2009 at 11:33, Tim Verhoeven wrote: > Hi, > > I had a strange problem with one of my clusters last night. As far as > I can see it it seems that the p

[Linux-HA] Pingd stops working after a certain time

2009-02-12 Thread Tim Verhoeven
Hi, I had a strange problem with one of my clusters last night. As far as I can see it it seems that the pingd fails to do successful pings after a certain period. Here is part of the logs from 1 node of my 2 node cluster : Feb 12 03:37:21 slave1 pingd: [4744]: info: stand_alone_ping: Node 10.0.1

Re: [Linux-HA] pingd with multiple networks

2009-02-05 Thread Dejan Muhamedagic
An: General Linux-HA mailing list > Betreff: Re: [Linux-HA] pingd with multiple networks > > Christian Charles wrote: > > Dejan Muhamedagic wrote: > >> Hi, > >> > >> On Fri, Jan 23, 2009 at 02:42:35PM +0100, Christian Charles wrote: > >>

AW: [Linux-HA] pingd with multiple networks

2009-02-05 Thread Arndt Roth
-Ursprüngliche Nachricht- Von: linux-ha-boun...@lists.linux-ha.org [mailto:linux-ha-boun...@lists.linux-ha.org] Im Auftrag von Dominik Klein Gesendet: Montag, 26. Januar 2009 08:03 An: General Linux-HA mailing list Betreff: Re: [Linux-HA] pingd with multiple networks Christian Charles

Re: [Linux-HA] pingd with multiple networks

2009-01-25 Thread Dominik Klein
Christian Charles wrote: > Dejan Muhamedagic wrote: >> Hi, >> >> On Fri, Jan 23, 2009 at 02:42:35PM +0100, Christian Charles wrote: >> >>> Hello, >>> >>> i used the guide at http://www.linux-ha.org/PingdWithMultipleNetworks >>> to monitor connectivity to 2 different nets and it works. >>> >>> I d

Re: [Linux-HA] pingd with multiple networks

2009-01-23 Thread Christian Charles
Dejan Muhamedagic wrote: Hi, On Fri, Jan 23, 2009 at 02:42:35PM +0100, Christian Charles wrote: Hello, i used the guide at http://www.linux-ha.org/PingdWithMultipleNetworks to monitor connectivity to 2 different nets and it works. I don't like that i have to create copies of /usr/lib/hea

Re: [Linux-HA] pingd with multiple networks

2009-01-23 Thread Dejan Muhamedagic
Hi, On Fri, Jan 23, 2009 at 02:42:35PM +0100, Christian Charles wrote: > Hello, > > i used the guide at http://www.linux-ha.org/PingdWithMultipleNetworks to > monitor connectivity to 2 different nets and it works. > > I don't like that i have to create copies of /usr/lib/heartbeat/pingd > though

[Linux-HA] pingd with multiple networks

2009-01-23 Thread Christian Charles
Hello, i used the guide at http://www.linux-ha.org/PingdWithMultipleNetworks to monitor connectivity to 2 different nets and it works. I don't like that i have to create copies of /usr/lib/heartbeat/pingd though, since it means i have to remember to update these copies manually, when i updat

Re: [Linux-HA] pingd - clones, non-symmetrical cluster, rsc_location rules - HA 2.99.1, pacemaker 1.0

2008-11-19 Thread Andrew Beekhof
On Thu, Nov 20, 2008 at 00:30, Alex Strachan <[EMAIL PROTECTED]> wrote: > Non-symmetrical cluster >> > All I get is >> > Resource Group: group_its >> >resource_its_drbd (heartbeat:its_drbddisk): Started itbaims >> >resource_its_fs (ocf::heartbeat:its_Filesystem):Started

RE: [Linux-HA] pingd - clones, non-symmetrical cluster, rsc_location rules - HA 2.99.1, pacemaker 1.0

2008-11-19 Thread Alex Strachan
Non-symmetrical cluster > > All I get is > > Resource Group: group_its > >resource_its_drbd (heartbeat:its_drbddisk): Started itbaims > >resource_its_fs (ocf::heartbeat:its_Filesystem):Started > > itbaims > >resource_its_vip(ocf::heartbeat:IPaddr):Started

Re: [Linux-HA] pingd - clones, non-symmetrical cluster, rsc_location rules - HA 2.99.1, pacemaker 1.0

2008-11-19 Thread Andrew Beekhof
On Wed, Nov 19, 2008 at 05:53, Alex Strachan <[EMAIL PROTECTED]> wrote: > I upgraded the software to > [EMAIL PROTECTED] hb]# rpm -qa | egrep -i "pacemake|heartbeat|openais" > libopenais2-0.80.3-11.1heartbeat-2.99.2-4.1 > libheartbeat2-2.99.2-4.1 heartbeat-resources

RE: [Linux-HA] pingd - clones, non-symmetrical cluster, rsc_location rules - HA 2.99.1, pacemaker 1.0

2008-11-18 Thread Alex Strachan
How do I define rsc=? in the location constraint? How to get pingd to run? > -Original Message- > From: [EMAIL PROTECTED] [mailto:linux-ha- > [EMAIL PROTECTED] On Behalf Of Andrew Beekhof > Sent: Tuesday, 4 November 2008 9:05 PM > To: General Linux-HA mailing list > S

Re: [Linux-HA] pingd - clones, non-symmetrical cluster, rsc_location rules - HA 2.99.1, pacemaker 1.0

2008-11-04 Thread Andrew Beekhof
On Tue, Nov 4, 2008 at 11:31, Adrian Chapela <[EMAIL PROTECTED]> wrote: > Andrew Beekhof escribió: >> >> On Thu, Oct 30, 2008 at 13:00, Adrian Chapela >> <[EMAIL PROTECTED]> wrote: >> >>> >>> Alex Strachan escribió: >>> Hi All, HA non-symmetrical cluster with two nodes; dtbaims,

Re: [Linux-HA] pingd - clones, non-symmetrical cluster, rsc_location rules - HA 2.99.1, pacemaker 1.0

2008-11-04 Thread Adrian Chapela
Andrew Beekhof escribió: On Thu, Oct 30, 2008 at 13:00, Adrian Chapela <[EMAIL PROTECTED]> wrote: Alex Strachan escribió: Hi All, HA non-symmetrical cluster with two nodes; dtbaims, itbaims. HA 2.99.1, pacemaker 1.0 You need to use a last version of Pacemaker, Pacemaker 1.0 st

Re: [Linux-HA] pingd - clones, non-symmetrical cluster, rsc_location rules - HA 2.99.1, pacemaker 1.0

2008-11-04 Thread Andrew Beekhof
On Thu, Oct 30, 2008 at 13:00, Adrian Chapela <[EMAIL PROTECTED]> wrote: > Alex Strachan escribió: >> >> Hi All, >> >> HA non-symmetrical cluster with two nodes; dtbaims, itbaims. >> HA 2.99.1, pacemaker 1.0 >> > > You need to use a last version of Pacemaker, Pacemaker 1.0 stable has pingd > broken

Re: [Linux-HA] pingd - clones, non-symmetrical cluster, rsc_location rules - HA 2.99.1, pacemaker 1.0

2008-10-30 Thread Adrian Chapela
Alex Strachan escribió: Hi All, HA non-symmetrical cluster with two nodes; dtbaims, itbaims. HA 2.99.1, pacemaker 1.0 You need to use a last version of Pacemaker, Pacemaker 1.0 stable has pingd broken. I am trying some config with pingd with bad results too. The last Pacemaker seems to ha

Re: [Linux-HA] pingd - clones, non-symmetrical cluster, rsc_location rules - HA 2.99.1, pacemaker 1.0

2008-10-30 Thread Andrew Beekhof
On Thu, Oct 30, 2008 at 08:21, Alex Strachan <[EMAIL PROTECTED]> wrote: > Hi All, > > HA non-symmetrical cluster with two nodes; dtbaims, itbaims. > HA 2.99.1, pacemaker 1.0 > > > I have been reviewing the pacemaker_configuration guide but no luck with > this config. Lots of variations but no joy.

[Linux-HA] pingd - clones, non-symmetrical cluster, rsc_location rules - HA 2.99.1, pacemaker 1.0

2008-10-30 Thread Alex Strachan
Hi All, HA non-symmetrical cluster with two nodes; dtbaims, itbaims. HA 2.99.1, pacemaker 1.0 I have been reviewing the pacemaker_configuration guide but no luck with this config. Lots of variations but no joy. Error: Oct 30 16:58:35 dtbaims pengine: [27989]: WARN: native_color: Resource pingd

Re: [Linux-HA] Pingd clones constantly fail

2008-08-29 Thread Chase Simms
Thank you for your response. Luckily I found it while I was searching for an answer. Thank you http://www.gossamer-threads.com! Apparently your response was eaten by our spam filter. I was using the GUI and it wouldn't let me leave the value blank as "" is blank. But after adding this constr

Re: [Linux-HA] Pingd clones constantly fail

2008-08-28 Thread Ivan
On Thu, 2008-08-28 at 13:53 -0400, Chase Simms wrote: > So now I am trying to use Pingd clones to monitor both connections and > choose the best. I think that requires different constraints. You can find fairly decent examples here: http://www.linux-ha.org/v2/faq/pingd I chose to use the one wh

Re: [Linux-HA] Pingd and DRBD beginners question

2008-06-23 Thread Dejan Muhamedagic
Hi, On Fri, Jun 20, 2008 at 04:55:14PM +0200, Peter Th?mmel wrote: > Hi, > > > > we have 2 Servers, intend to run an failsave (Pro)Ftp_server. > > DRBD is running fine over an separate ethernet link, also used as heartbeat > link. > > > > When i disconnect a server the other server shoul

[Linux-HA] Pingd and DRBD beginners question

2008-06-20 Thread Peter Thümmel
Von: Peter Thümmel Gesendet: Montag, 9. Juni 2008 14:55 An: 'linux-ha@lists.linux-ha.org' Betreff: Pingd and DRBD beginers question Hi, we have 2 Servers, intend to run an failsave (Pro)Ftp_server. DRBD is running fine over an separate ethernet link, also used as heartbeat link.

Re: [Linux-HA] Pingd and DRBD beginers question

2008-06-09 Thread Dominik Klein
Peter Thümmel wrote: Hi, we have 2 Servers, intend to run an failsave (Pro)Ftp_server. DRBD is running fine over an ethernet link. When i disconnect a server the other server should go to primary-Status. The drbd resource (V2) is installed an run fine. The pingd is cloned and run

[Linux-HA] Pingd and DRBD beginers question

2008-06-09 Thread Peter Thümmel
Hi, we have 2 Servers, intend to run an failsave (Pro)Ftp_server. DRBD is running fine over an ethernet link. When i disconnect a server the other server should go to primary-Status. The drbd resource (V2) is installed an run fine. The pingd is cloned and run also fine. Please hel

Re: [Linux-HA] pingd crm

2008-04-04 Thread Guy
Brilliant, that was the charm. Thanks Andrew. On 04/04/2008, Andrew Beekhof <[EMAIL PROTECTED]> wrote: > Just add: > > > > and everything should work > > > On Fri, Apr 4, 2008 at 11:32 AM, Guy <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm currently starting pingd in the ha.cf file but I'

Re: [Linux-HA] pingd crm

2008-04-04 Thread Andrew Beekhof
Just add: and everything should work On Fri, Apr 4, 2008 at 11:32 AM, Guy <[EMAIL PROTECTED]> wrote: > Hi, > > I'm currently starting pingd in the ha.cf file but I'd like to use the > crm to start it. I've tried using the example from > http://www.linux-ha.org/v2/faq/pingd and the pingd reso

[Linux-HA] pingd crm

2008-04-04 Thread Guy
Hi, I'm currently starting pingd in the ha.cf file but I'd like to use the crm to start it. I've tried using the example from http://www.linux-ha.org/v2/faq/pingd and the pingd resource looks like it has started. Shouldn't I just need to change the attribute name in the constraint to pingd-clone f

Re: [Linux-HA] pingd

2008-03-12 Thread Papp Tamás
Adrian Chapela wrote: Papp Tamás escribió: Dear All, I try to setup a HA firewall, still without real success. I guess, I have to use pingd, the check, the connection is alive or not. 1. I've made an example pingd resource with a host, which impossible to ping and I see, the resource is stil

Re: [Linux-HA] pingd

2008-03-11 Thread Adrian Chapela
Papp Tamás escribió: Dear All, I try to setup a HA firewall, still without real success. I guess, I have to use pingd, the check, the connection is alive or not. 1. I've made an example pingd resource with a host, which impossible to ping and I see, the resource is still running? Why? How sho

Re: [Linux-HA] pingd

2008-03-10 Thread Johan Hoeke
� wrote: > Papp Tam�s wrote: >> Dear All, >> >> I try to setup a HA firewall, still without real success. >> >> I guess, I have to use pingd, the check, the connection is alive or not. >> >> 1. >> I've made an example pingd resource with a host, which impossible to >> ping and I see, the resource i

Re: [Linux-HA] pingd

2008-03-10 Thread Papp Tamás
Papp Tamás wrote: Dear All, I try to setup a HA firewall, still without real success. I guess, I have to use pingd, the check, the connection is alive or not. 1. I've made an example pingd resource with a host, which impossible to ping and I see, the resource is still running? Why? How should

[Linux-HA] pingd

2008-03-10 Thread Papp Tamás
Dear All, I try to setup a HA firewall, still without real success. I guess, I have to use pingd, the check, the connection is alive or not. 1. I've made an example pingd resource with a host, which impossible to ping and I see, the resource is still running? Why? How should it be used? What

Re: [Linux-HA] Pingd

2007-12-07 Thread China
On Dec 7, 2007 10:41 AM, Andrew Beekhof <[EMAIL PROTECTED]> wrote: > > On Dec 7, 2007, at 10:03 AM, China wrote: > > > Ok, but I don't understand why with > > > > pingd: 500 > > PC_A: 100 > > resource_stickiness: 100 (3 resources make 300) > > > > the resource failback. The expressions that you gi

Re: [Linux-HA] Pingd

2007-12-07 Thread Andrew Beekhof
On Dec 7, 2007, at 10:03 AM, China wrote: Ok, but I don't understand why with pingd: 500 PC_A: 100 resource_stickiness: 100 (3 resources make 300) the resource failback. The expressions that you give me returns the same results like with: pingd: 1000 PC_A: 100 resource_stickiness: 100 (3

Re: [Linux-HA] Pingd

2007-12-07 Thread China
Ok, but I don't understand why with pingd: 500 PC_A: 100 resource_stickiness: 100 (3 resources make 300) the resource failback. The expressions that you give me returns the same results like with: pingd: 1000 PC_A: 100 resource_stickiness: 100 (3 resources make 300) but the behavior is differen

Re: [Linux-HA] Pingd

2007-12-06 Thread Andrew Beekhof
On Dec 6, 2007, at 5:15 PM, China wrote: Thank you. I've found the right score with the script: pingd: +1000 PC_A: +100 resource_stickiness: +100 (I've 3 resources so make 300, not 100) Now the problem is that i didn't understood why these score is ok for failover and don't failback. becaus

Re: [Linux-HA] Pingd

2007-12-06 Thread China
Thank you. I've found the right score with the script: pingd: +1000 PC_A: +100 resource_stickiness: +100 (I've 3 resources so make 300, not 100) Now the problem is that i didn't understood why these score is ok for failover and don't failback. And why with pingd score 500 is good for failback to

Re: [Linux-HA] Pingd

2007-12-06 Thread Dominik Klein
China wrote: Last question: how can I see what is the node's score during cluster execution? You can grep it out of the "ptest" output. Or use my script: http://lists.community.tummy.com/pipermail/linux-ha/2007-September/027488.html which has been updated by Robert Lindgren: http://lists.comm

Re: [Linux-HA] Pingd

2007-12-06 Thread China
Last question: how can I see what is the node's score during cluster execution? On Dec 6, 2007 2:59 PM, Dominik Klein <[EMAIL PROTECTED]> wrote: > > But, It's good to use a interface both for heartbeat and for services? > > It's pretty common I think. > ___

Re: [Linux-HA] Pingd

2007-12-06 Thread China
But, It's good to use a interface both for heartbeat and for services? And yes, If I pull the heartbeat's cable I'm in a split brain situation. But it's not my problem now :D On Dec 6, 2007 2:23 PM, Dominik Klein <[EMAIL PROTECTED]> wrote: > China wrote: > > Sorry, I forgot it! > > > > I've two

Re: [Linux-HA] Pingd

2007-12-06 Thread Dominik Klein
But, It's good to use a interface both for heartbeat and for services? It's pretty common I think. ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems

Re: [Linux-HA] Pingd

2007-12-06 Thread Dominik Klein
China wrote: Sorry, I forgot it! I've two connection for the PCs: one with crossover cable, where heartbeat send packets directly to other PC one through network, where the services listen and where pingd test connectivity When I force the failure I disconnect the network cable that give servi

Re: [Linux-HA] Pingd

2007-12-06 Thread China
Sorry, I forgot it! I've two connection for the PCs: one with crossover cable, where heartbeat send packets directly to other PC one through network, where the services listen and where pingd test connectivity When I force the failure I disconnect the network cable that give services from PC_A.

Re: [Linux-HA] Pingd

2007-12-06 Thread Dominik Klein
With this configuration the resources doesn't failover to test, but remains on test-ppc. Why? I can't say. The configuration looks good to me. But again: What are you doing to force the failure? Do you really have just one connection between the nodes and unplug that connection to force the

Re: [Linux-HA] Pingd

2007-12-06 Thread China
This is my new cib.xml:

Re: [Linux-HA] Pingd

2007-12-06 Thread Dominik Klein
China wrote: Ok, I've set resource_stickiness to 150, a score of 100 to the default node PC_A and a score_attribute for pingd. Now the resource when fail doesn't start on PC_B. Why? The way I understand you, and please correct me or post your current cib.xml, is: pingd multiplier: 200 (as su

Re: [Linux-HA] Pingd

2007-12-06 Thread China
Ok, I've set resource_stickiness to 150, a score of 100 to the default node PC_A and a score_attribute for pingd. Now the resource when fail doesn't start on PC_B. Why? On Dec 6, 2007 11:17 AM, Dominik Klein <[EMAIL PROTECTED]> wrote: > China wrote: > > Ok, now it works, but when the PC_A returns

Re: [Linux-HA] Pingd

2007-12-06 Thread Dominik Klein
China wrote: Ok, now it works, but when the PC_A returns up the resource doesn't remains on PC_B and failback to PC_A. How can I configure to switch the first time to PC_B on PC_A failover, but not return back if PC_A returns UP? Set resource stickiness to a reasonable value. Here's roughly ho

Re: [Linux-HA] Pingd

2007-12-06 Thread China
Ok, now it works, but when the PC_A returns up the resource doesn't remains on PC_B and failback to PC_A. How can I configure to switch the first time to PC_B on PC_A failover, but not return back if PC_A returns UP? Thanks On Dec 6, 2007 9:14 AM, Andrew Beekhof <[EMAIL PROTECTED]> wrote: > > On

Re: [Linux-HA] Pingd

2007-12-06 Thread Andrew Beekhof
On Dec 5, 2007, at 6:38 PM, China wrote: Hi, I've configured two machine with Linux-ha in Active/passive mode. With v1 conf all is ok, instead with v2 conf there are the following behaviours: PC_A up with resource and PC_B up without resource | V shu

[Linux-HA] Pingd

2007-12-05 Thread China
Hi, I've configured two machine with Linux-ha in Active/passive mode. With v1 conf all is ok, instead with v2 conf there are the following behaviours: PC_A up with resource and PC_B up without resource | V shutdown heartbeat |

RE: [Linux-HA] pingd return values

2007-12-03 Thread Bill Eaton
On another thread () I've been trying to figure out how to get pingd to play nicely with hb_gui. One of the difficulties of this task is understanding what kind of information pingd provides. Judging from the examples on the pingd web page, the possible return value

Re: [Linux-HA] pingd return values

2007-12-03 Thread Dejan Muhamedagic
Hi, On Thu, Nov 29, 2007 at 02:14:51PM -0800, Bill Eaton wrote: > > > >> On another thread () I've been trying to figure out how > to > >> get pingd to play nicely with hb_gui. One of the > >> difficulties of this task is understanding > >> what kind of information pingd provides. Judging from t

RE: [Linux-HA] pingd return values

2007-11-30 Thread Bill Eaton
> On November 30, 2007 7:36 AM, Eddie C edlinuxguru _at_ gmail.com > I would also seriously advice staying away from the GUI. You may hear > that a lot. For a while I did not believe it myself. Learning how to > use the cib tools is the way to go. The GUI can really only carry you > so far in conf

Re: [Linux-HA] pingd return values

2007-11-30 Thread Eddie C
I would also seriously advice staying away from the GUI. You may hear that a lot. For a while I did not believe it myself. Learning how to use the cib tools is the way to go. The GUI can really only carry you so far in configuration. On Nov 29, 2007 5:14 PM, Bill Eaton <[EMAIL PROTECTED]> wrote:

RE: [Linux-HA] pingd return values

2007-11-29 Thread Bill Eaton
>> On another thread () I've been trying to figure out how to >> get pingd to play nicely with hb_gui. One of the >> difficulties of this task is understanding >> what kind of information pingd provides. Judging from the >> examples on the pingd web page, the possible return >> values are somethi

Re: [Linux-HA] pingd return values

2007-11-29 Thread Dejan Muhamedagic
Hi, On Wed, Nov 28, 2007 at 10:38:59AM -0800, Bill Eaton wrote: > On another thread () I've been trying to figure out how to get pingd to play > nicely with hb_gui. One of the difficulties of this task is understanding > what kind of information pingd provides. Judging from the examples on the > p

[Linux-HA] pingd return values

2007-11-28 Thread Bill Eaton
On another thread () I've been trying to figure out how to get pingd to play nicely with hb_gui. One of the difficulties of this task is understanding what kind of information pingd provides. Judging from the examples on the pingd web page, the possible return values are something like defined

RE: [Linux-HA] pingd configuration with hb_gui

2007-11-27 Thread Bill Eaton
> > I've been struggling for a couple of weeks to figure out > > how to get my node to failover when I unplug the network > > cable. I've read everything I can find > > and I'm still struggling. > > > > I'm running > > Heartbeat-2 2.1.2 > > Heartbeat-Gui(hb_gui) 2.1.2 > > Kubuntu

[Linux-HA] pingd config

2007-11-26 Thread Paul Surgeon
Hi I've read the pingd doc (http://www.linux-ha.org/pingd) more than 10 times now and I can't figure out how to set up a simple working pingd config. What I'm trying to do is ping a group of IPs and then use that as a constraint to transfer control to another cluster if none of the ping nodes can

Re: [Linux-HA] pingd configuration with hb_gui

2007-11-22 Thread Andrew Beekhof
On Nov 21, 2007, at 7:30 PM, Bill Eaton wrote: I've been struggling for a couple of weeks to figure out how to get my node to failover when I unplug the network cable. I've read everything I can find and I'm still struggling. I'm running Heartbeat-2 2.1.2 Heartbeat-Gui(hb_gui

  1   2   >