Re: [Linux-HA] Heartbeat does not take over if BOTH machinesarebootedat the same time

2010-08-10 Thread David Lang
On Tue, 10 Aug 2010, Igor Chudov wrote: On Tue, Aug 10, 2010 at 6:41 PM, David Lang david.l...@digitalinsight.com wrote: On Tue, 10 Aug 2010, Igor Chudov wrote: Guys, I have a bit of clarification. In an attempt to avoid the timing issues, an hour ago I tried adding a configuration change

Re: [Linux-HA] Heartbeat does not take over if BOTH machinesarebootedat the same time

2010-08-10 Thread Igor Chudov
On Tue, Aug 10, 2010 at 7:05 PM, David Lang david.l...@digitalinsight.com wrote: On Tue, 10 Aug 2010, Igor Chudov wrote: On Tue, Aug 10, 2010 at 6:41 PM, David Lang david.l...@digitalinsight.com wrote: On Tue, 10 Aug 2010, Igor Chudov wrote: Guys, I have a bit of clarification. In an

Re: [Linux-HA] Heartbeat does not take over if BOTH machinesarebootedat the same time

2010-08-10 Thread David Lang
On Tue, 10 Aug 2010, Igor Chudov wrote: On Tue, Aug 10, 2010 at 7:05 PM, David Lang david.l...@digitalinsight.com wrote: On Tue, 10 Aug 2010, Igor Chudov wrote: On Tue, Aug 10, 2010 at 6:41 PM, David Lang david.l...@digitalinsight.com wrote: On Tue, 10 Aug 2010, Igor Chudov wrote: As I

Re: [Linux-HA] Heartbeat does not take over if BOTH machines arebootedat the same time

2010-08-09 Thread Pushkar Pradhan
From: linux-ha-boun...@lists.linux-ha.org on behalf of Igor Chudov Sent: Thu 8/5/2010 9:47 PM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Heartbeat does not take over if BOTH machines arebootedat the same time On Thu, Aug 5, 2010 at 6:32 PM

Re: [Linux-HA] Heartbeat does not take over if BOTH machines arebootedat the same time

2010-08-09 Thread Nick Calvert
: linux-ha-boun...@lists.linux-ha.org on behalf of Igor Chudov Sent: Thu 8/5/2010 9:47 PM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Heartbeat does not take over if BOTH machines arebootedat the same time On Thu, Aug 5, 2010 at 6:32 PM, Pushkar Pradhan push...@ipvideosys.com

Re: [Linux-HA] Heartbeat does not take over if BOTH machines arebootedat the same time

2010-08-09 Thread David Lang
Subject: Re: [Linux-HA] Heartbeat does not take over if BOTH machines arebootedat the same time I have the same problem, its not a huge issue for me but i wouldn't mind fixing it. If this issue is resolved id appreciate if the 'solution' is posted on-list. Cheers, Nick On Mon, Aug 9

Re: [Linux-HA] Heartbeat does not take over if BOTH machinesarebootedat the same time

2010-08-09 Thread Dimitri Maziuk
On Monday 09 August 2010 16:34, Pushkar Pradhan wrote: So it seems other people also have this problem? I thought only Igor was having this issue. I've seen it a while back and my (vague) recollection is drbd was in secondary/secondary state. However, I didn't investigate it back then. Dima

Re: [Linux-HA] Heartbeat does not take over if BOTH machines arebootedat the same time

2010-08-09 Thread Igor Chudov
: Thu 8/5/2010 9:47 PM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Heartbeat does not take over if BOTH machines arebootedat the same time On Thu, Aug 5, 2010 at 6:32 PM, Pushkar Pradhan push...@ipvideosys.com wrote: I set up two Ubuntu Lucid machines to serve as a two-node

Re: [Linux-HA] Heartbeat does not take over if BOTH machines arebootedat the same time

2010-08-09 Thread David Lang
: [Linux-HA] Heartbeat does not take over if BOTH machines arebootedat the same time On Thu, Aug 5, 2010 at 6:32 PM, Pushkar Pradhan push...@ipvideosys.com wrote: I set up two Ubuntu Lucid machines to serve as a two-node Heartbeat cluster without Corosync. They support a DRBD service, IP

Re: [Linux-HA] heartbeat startup causes shared IP to stop responding

2010-08-06 Thread Jim
Forgive me if this is a lengthy email, this is my first HA issue and I've included some logs at the end. For the sake of privacy, I've used dummy IPs here. My master is 192.168.1.101, slave is 192.168.1.102, shared IP is 192.168.1.103 My servers at at Rackspace and the configurations were done

Re: [Linux-HA] heartbeat startup causes shared IP to stop responding

2010-08-06 Thread Pushkar Pradhan
From: linux-ha-boun...@lists.linux-ha.org on behalf of Jim Sent: Fri 8/6/2010 2:25 AM To: linux-ha@lists.linux-ha.org Subject: Re: [Linux-HA] heartbeat startup causes shared IP to stop responding Forgive me if this is a lengthy email, this is my first HA

Re: [Linux-HA] heartbeat startup causes shared IP to stop responding

2010-08-06 Thread Jim
} exit 1 esac exit $rc From: linux-ha-bounces at lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha on behalf of Jim Sent: Fri 8/6/2010 2:25 AM To: linux-ha at lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha Subject: Re: [Linux-HA] heartbeat startup

Re: [Linux-HA] Heartbeat does not take over if BOTH machines are bootedat the same time

2010-08-05 Thread Igor Chudov
On Thu, Aug 5, 2010 at 6:32 PM, Pushkar Pradhan push...@ipvideosys.com wrote: I set up two Ubuntu Lucid machines to serve as a two-node Heartbeat cluster without Corosync. They support a DRBD service, IP address, NFS and Samba services. Things mostly work, and if I reboot one server, the

Re: [Linux-HA] heartbeat IPaddr problem

2010-08-02 Thread Dejan Muhamedagic
: [Linux-HA] heartbeat IPaddr problem Hi , Try like this below in haresources file. configvm1 IPaddr::192.168.1.100 drbddisk::r0 Filesystem::/dev/drbd0::/usr/local::xfs where configvm1 your primary host name 192.168.1.100 is the floating IP. r0 is resource in /etc/drbd.conf

Re: [Linux-HA] heartbeat IPaddr problem

2010-07-21 Thread Francois LE FOLL
20, 2010 4:07 PM Subject: Re: [Linux-HA] heartbeat IPaddr problem Hi , Try like this below in haresources file. configvm1 IPaddr::192.168.1.100 drbddisk::r0 Filesystem::/dev/drbd0::/usr/local::xfs where configvm1 your primary host name 192.168.1.100 is the floating IP. r0 is resource in /etc

Re: [Linux-HA] heartbeat IPaddr problem

2010-07-21 Thread Francois LE FOLL
Subject: Re: [Linux-HA] heartbeat IPaddr problem Hi, Thanks a lot for your answer, I tried the following: configvm1 IPaddr::192.168.1.100 drbddisk::disk0 Filesystem::/dev/drbd0::/replicated::ext3 but still have the same problem, no VIP attached to configvm1 eth0. I finally decided

Re: [Linux-HA] heartbeat IPaddr problem

2010-07-20 Thread jayesh shinde
Hi , Try like this below  in  haresources file. configvm1 IPaddr::192.168.1.100 drbddisk::r0 Filesystem::/dev/drbd0::/usr/local::xfs where    configvm1 your primary host name    192.168.1.100 is the floating IP.    r0 is  resource in /etc/drbd.conf  ( check out what u

Re: [Linux-HA] heartbeat drdb failover failed

2010-07-14 Thread Lars Ellenberg
On Wed, Jul 14, 2010 at 03:41:11PM +1000, Jai wrote: Hi, I'm not sure if this is the right place to ask as it could be a drdb issue. I have a Centos 5.2 with heartbeat-2.1.4-2.1 and drbd82-8.2.6-1.el5.centos. After having tested various scenarios during construction, one being a reboot

Re: [Linux-HA] Heartbeat Clone with vIPs constraints

2010-07-02 Thread Xeno1234
Andrew Beekhof-3 wrote: You should really think about upgrading to 3.0 + Pacemaker 1.0 (that where the crm lives now). http://www.clusterlabs.org/rpm/ --- EPEL =~ RHEL 2.1.4 is not supported. That's not possible unfortunately. The company uses 2.1.4 all over the place, so I

Re: [Linux-HA] Heartbeat Clone with vIPs constraints

2010-07-02 Thread Andrew Beekhof
On Fri, Jul 2, 2010 at 1:54 PM, Xeno1234 trash...@gmx.net wrote: Andrew Beekhof-3 wrote: You should really think about upgrading to 3.0 + Pacemaker 1.0 (that where the crm lives now).   http://www.clusterlabs.org/rpm/   --- EPEL =~ RHEL 2.1.4 is not supported. That's not possible

Re: [Linux-HA] Heartbeat Clone with vIPs constraints

2010-07-01 Thread Andrew Beekhof
On Wed, Jun 30, 2010 at 3:10 PM, Xeno1234 trash...@gmx.net wrote: Hi, I am currently trying to setup a cluster using heartbeat. Unfortunatly it does not do what I want to do. I am using heartbeat 2.1.4-11 on a readhat system. You should really think about upgrading to 3.0 + Pacemaker 1.0

Re: [Linux-HA] Heartbeat Starting Issue

2010-06-21 Thread Q S Tahmeed
Dear All, I have fixed the group/user problem as mentioned earlier with the log chown: `hacluster:haclient': invalid group I am now getting only the followings while starting HB: Starting High-Availability services: 1: Failure: (127) Device minor not allocated Command '/sbin/drbdsetup 1 role'

Re: [Linux-HA] Heartbeat Starting Issue

2010-06-21 Thread Patrice Laramee
...@lists.linux-ha.org [mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of Q S Tahmeed Sent: June-21-10 3:58 AM To: linux-ha@lists.linux-ha.org Subject: Re: [Linux-HA] Heartbeat Starting Issue Dear All, I have fixed the group/user problem as mentioned earlier with the log chown

Re: [Linux-HA] Heartbeat fails to start services after failure

2010-05-20 Thread Joel Daynes
I may have solved my own problem. It appears that my init script wasn't executing properly, so I instead used the wrapper provided here: http://dev.mysql.com/doc/refman/5.1/en/ha-heartbeat-drbd.html This seems to be working better. Sorry for the false alarm! Joel On May 20, 2010, at 10:56

Re: [Linux-HA] heartbeat fails to install in non-default path and as non root user

2010-05-19 Thread Pushkar Pradhan
Hello, I am trying to install heartbeat 3.0.3 on Fedora 8 as non priveleged user from sources. Is it not possible to install heartbeat from sources without being root? I plan to deploy heartbeat on a busybox machine, which is separate from my development machine. I was able to make and make

Re: [Linux-HA] Heartbeat Failing over by itself repetitively

2010-05-18 Thread DarenTay
Morning folks (morning where I am), I just found out that during the same time frame, mysql reported via monit that there were too many connections and could not connect to MySQL server over the VIP. Will the scenario of having the mysql clogging up the VIP, cause the heartbeat to repetitively

Re: [Linux-HA] Heartbeat 2.1.3 and LIO Stac

2010-05-17 Thread Dejan Muhamedagic
Hi, On Fri, May 14, 2010 at 01:24:00PM -0700, Matthew F. Hymowitz wrote: Hi I am trying to use heartbeat 2.1.3 That's very old, you should really upgrade. with the 1.0.3 resource agents to move a iSCSI (LIO) target across two machines. The two machines are named sedona and toltec.

Re: [Linux-HA] Heartbeat and Postfix

2010-05-10 Thread Lars Ellenberg
On Thu, May 06, 2010 at 08:50:21AM +0200, Michael Schwartzkopff wrote: Am Donnerstag, 6. Mai 2010 01:22:13 schrieb Dimitri Maziuk: Cameron Smith wrote: Yeah! Since I already have that in place for http and mysql I just wanted to know if there was anything unique I need to do for

Re: [Linux-HA] Heartbeat and Postfix

2010-05-10 Thread Michael Schwartzkopff
Am Freitag, 7. Mai 2010 17:06:44 schrieb Lars Ellenberg: On Thu, May 06, 2010 at 08:50:21AM +0200, Michael Schwartzkopff wrote: Am Donnerstag, 6. Mai 2010 01:22:13 schrieb Dimitri Maziuk: Cameron Smith wrote: Yeah! Since I already have that in place for http and mysql I just wanted

Re: [Linux-HA] Heartbeat and Postfix

2010-05-10 Thread Dimitri Maziuk
Michael Schwartzkopff wrote: The only reason to do a postfix cluster is to deliver locally queued mail after a failover. Ah! That's what I didn't think of. In theory you could restart postfix w/ different config files: send only on the passive node and full setup on the active. Dima

Re: [Linux-HA] Heartbeat and Postfix

2010-05-06 Thread Michael Schwartzkopff
Am Donnerstag, 6. Mai 2010 01:22:13 schrieb Dimitri Maziuk: Cameron Smith wrote: Yeah! Since I already have that in place for http and mysql I just wanted to know if there was anything unique I need to do for postfix config for when it is running on primary (managed by heartbeat) and how

Re: [Linux-HA] Heartbeat vs OpenAIS

2010-05-06 Thread Andrew Beekhof
On Tue, May 4, 2010 at 9:30 PM, Florian Haas florian.h...@linbit.com wrote: On 05/04/2010 07:30 PM, Lars Marowsky-Bree wrote: On 2010-04-25T11:39:10, Smaïne Kahlouch smain...@free.fr wrote: Do we have to move from Heartbeat to OpenAIS ? Now or in the future ? What are the differences between

Re: [Linux-HA] Heartbeat vs OpenAIS

2010-05-06 Thread Florian Haas
On 05/06/2010 08:59 AM, Andrew Beekhof wrote: About the only time I start heartbeat is for a few days before a release. And even then only for 1.0 releases, 1.1 is only tested against corosync. Probably true, though the amount of testing LINBIT does on both messaging layers is quite

Re: [Linux-HA] Heartbeat vs OpenAIS

2010-05-06 Thread Andrew Beekhof
On Thu, May 6, 2010 at 9:29 AM, Florian Haas florian.h...@linbit.com wrote: On 05/06/2010 08:59 AM, Andrew Beekhof wrote: About the only time I start heartbeat is for a few days before a release. And even then only for 1.0 releases, 1.1 is only tested against corosync. Probably true, though

Re: [Linux-HA] Heartbeat and Postfix

2010-05-05 Thread Dimitri Maziuk
Cameron Smith wrote: Yeah! Since I already have that in place for http and mysql I just wanted to know if there was anything unique I need to do for postfix config for when it is running on primary (managed by heartbeat) and how do I handle the sending of system emails on the secondary

Re: [Linux-HA] Heartbeat and Postfix

2010-05-04 Thread David Lang
On Tue, 4 May 2010, Cameron Smith wrote: I am currently using Heartbeat to manage http, mysql and a DRBD device between two nodes. I want to also manage Postfix with Heartbeat. What things should I keep in mind in the configuration of Postfix so that mail services are tied to the IP

Re: [Linux-HA] Heartbeat vs OpenAIS

2010-05-04 Thread Lars Marowsky-Bree
On 2010-04-25T11:39:10, Smaïne Kahlouch smain...@free.fr wrote: Do we have to move from Heartbeat to OpenAIS ? Now or in the future ? What are the differences between these two project ? Will the project heartbeat continue or will be replaced by OpenAIS/Corosync. In addition to what Florian

Re: [Linux-HA] Heartbeat and Postfix

2010-05-04 Thread Michael Schwartzkopff
Am Dienstag, 4. Mai 2010 17:45:34 schrieb Cameron Smith: I am currently using Heartbeat to manage http, mysql and a DRBD device between two nodes. I want to also manage Postfix with Heartbeat. What things should I keep in mind in the configuration of Postfix so that mail services are tied

Re: [Linux-HA] Heartbeat and Postfix

2010-05-04 Thread Cameron Smith
On Tue, May 4, 2010 at 10:17 AM, David Lang david.l...@digitalinsight.comwrote: On Tue, 4 May 2010, Cameron Smith wrote: I am currently using Heartbeat to manage http, mysql and a DRBD device between two nodes. I want to also manage Postfix with Heartbeat. What things should I keep

Re: [Linux-HA] Heartbeat and Postfix

2010-05-04 Thread Michael Schwartzkopff
Am Dienstag, 4. Mai 2010 20:19:02 schrieb Cameron Smith: On Tue, May 4, 2010 at 10:17 AM, David Lang david.l...@digitalinsight.comwrote: On Tue, 4 May 2010, Cameron Smith wrote: I am currently using Heartbeat to manage http, mysql and a DRBD device between two nodes. I want to

Re: [Linux-HA] Heartbeat and Postfix

2010-05-04 Thread Cameron Smith
On Tue, May 4, 2010 at 11:26 AM, Michael Schwartzkopff mi...@multinet.dewrote: Am Dienstag, 4. Mai 2010 20:19:02 schrieb Cameron Smith: On Tue, May 4, 2010 at 10:17 AM, David Lang david.l...@digitalinsight.comwrote: On Tue, 4 May 2010, Cameron Smith wrote: I am currently using

Re: [Linux-HA] Heartbeat vs OpenAIS

2010-05-04 Thread Florian Haas
On 05/04/2010 07:30 PM, Lars Marowsky-Bree wrote: On 2010-04-25T11:39:10, Smaïne Kahlouch smain...@free.fr wrote: Do we have to move from Heartbeat to OpenAIS ? Now or in the future ? What are the differences between these two project ? Will the project heartbeat continue or will be replaced

Re: [Linux-HA] Heartbeat and Postfix

2010-05-04 Thread David Lang
On Tue, 4 May 2010, Cameron Smith wrote: On Tue, May 4, 2010 at 10:17 AM, David Lang david.l...@digitalinsight.comwrote: On Tue, 4 May 2010, Cameron Smith wrote: I am currently using Heartbeat to manage http, mysql and a DRBD device between two nodes. I want to also manage Postfix with

Re: [Linux-HA] Heartbeat vs OpenAIS

2010-04-25 Thread Florian Haas
On 04/25/2010 11:39 AM, Smaïne Kahlouch wrote: Hi everyone, I know the question has already been asked. see http://lists.linux-ha.org/pipermail/linux-ha/2009-March/036725.html The answer is however not clear for me and i would like to have other opinions. Do we have to move from

Re: [Linux-HA] Heartbeat doesn't see other nodes in cluster

2010-04-15 Thread Greg Woods
On Wed, 2010-04-14 at 16:24 -0700, Stephen Punak wrote: Heartbeat appears to start just fine on all nodes, but none of them see each other. Any chance there is a firewall blocking the heartbeat packets? You'd still see them with wireshark, but they would be blocked from getting to the

Re: [Linux-HA] heartbeat unplug ethernet cable

2010-03-16 Thread Nikita Michalko
Hi, as already x-times mentioned, we don't have any crystall ball ;-) - Version, configuration, logs ...??? Nikita Michalko Am Montag, 15. März 2010 10:01 schrieb Liang Xiao Zhu: Hi all, I done everything but heartbeat works only when i use service heartbeat stop, when i unplug the

Re: [Linux-HA] Heartbeat 2 and start process timeout

2010-03-10 Thread Andrew Beekhof
http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-operation-defaults.html#s-operation-timeouts On Tue, Mar 9, 2010 at 4:35 PM, Carlos Eduardo Chiriboga Calderon cchirib...@palosanto.com wrote: Hi everybody, I have a serious problem with my cluster: Sometimes, the

Re: [Linux-HA] heartbeat upgrade from 2.1.4 to 3.0.2 'Digest comparision failed:' error

2010-02-18 Thread Andreas Kurz
On Fri, February 19, 2010 00:05, Brian Witt wrote: Hi, I'm trying to upgrade from Heartbeat 2.1.4 (CRM-enabled) on CentOS 5 (using the epel packages) to the latest heartbeat 3.0.2 using packages from http://www.clusterlabs.org/rpm/ but am running into a Digest comparision failed: error

Re: [Linux-HA] Heartbeat 2 and DRBD issue

2010-01-26 Thread Lars Ellenberg
On Mon, Jan 25, 2010 at 08:56:52PM -0500, Carlos Eduardo Chiriboga Calderon wrote: Hi all, I'm trying to configure a heartbeat cluster with 2 nodes and a drbd filesystem (the cib.xml is attached to this message). The problem is that, when I try to move the resource from a node to

Re: [Linux-HA] heartbeat v3 / pacemaker / corosync Questions

2010-01-24 Thread Andrew Beekhof
On Sat, Jan 23, 2010 at 10:24 AM, Ilo Lorusso sneak...@gmail.com wrote: Hi, I'm busy setting an Active/Passive cluster using the below version of all the above mentions software. Now i have a few question hope full which will solve the problems I'm experience. heartbeat-3.0.1-1.el5

Re: [Linux-HA] HeartBeat for openSuse 10.2

2010-01-21 Thread Michael Schwartzkopff
Am Donnerstag, 21. Januar 2010 10:30:20 schrieb pqy_java_web: hi,all Who can tell me ,where is Heartbeat for openSuse10.2? no heartbeat any more. See www.clusterlabs.org -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 -

Re: [Linux-HA] Heartbeat GUI Client

2010-01-20 Thread Dejan Muhamedagic
Hi, On Wed, Jan 20, 2010 at 10:26:17AM -0500, Ruiyuan Jiang wrote: Hi, Can anyone point me to the source code of the location of GUI client? I downloaded the pre-compiled GUI client for Redhat Enterprise server from opensuse site but I got memory fault message when I launch it. #

Re: [Linux-HA] Heartbeat GUI Client

2010-01-20 Thread Ruiyuan Jiang
...@lists.linux-ha.org] On Behalf Of Dejan Muhamedagic Sent: Wednesday, January 20, 2010 11:13 AM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Heartbeat GUI Client Hi, On Wed, Jan 20, 2010 at 10:26:17AM -0500, Ruiyuan Jiang wrote: Hi, Can anyone point me to the source code

Re: [Linux-HA] heartbeat waits for initdead even after all nodes have joined

2010-01-15 Thread Lars Ellenberg
On Fri, Jan 15, 2010 at 01:22:45AM -0500, David Sickmiller wrote: I don't have autojoin in my ha.cf, and I believe it defaults to autojoin none, so that wouldn't explain why heartbeat keeps waiting after all nodes have joined. True. That should be fixed. Can you please open a

Re: [Linux-HA] heartbeat waits for initdead even after all nodes have joined

2010-01-14 Thread Dejan Muhamedagic
Of Dejan Muhamedagic Sent: Tuesday, January 12, 2010 3:51 AM To: General Linux-HA mailing list Subject: Re: [Linux-HA] heartbeat waits for initdead even after all nodes have joined Hi, On Mon, Jan 11, 2010 at 03:21:05PM -0500, David Sickmiller wrote: Hi, I was hoping

Re: [Linux-HA] heartbeat waits for initdead even after all nodes have joined

2010-01-14 Thread Lars Ellenberg
On Thu, Jan 14, 2010 at 01:57:31PM +0100, Dejan Muhamedagic wrote: Hi, On Wed, Jan 13, 2010 at 07:55:28PM -0500, David Sickmiller wrote: I don't have autojoin in my ha.cf, and I believe it defaults to autojoin none, so that wouldn't explain why heartbeat keeps waiting after all nodes

Re: [Linux-HA] heartbeat waits for initdead even after all nodes have joined

2010-01-14 Thread David Sickmiller
I don't have autojoin in my ha.cf, and I believe it defaults to autojoin none, so that wouldn't explain why heartbeat keeps waiting after all nodes have joined. True. That should be fixed. Can you please open a bugzilla for this issue, Thanks for your help! I've filed this as Bug 2311

Re: [Linux-HA] heartbeat waits for initdead even after all nodes have joined

2010-01-13 Thread David Sickmiller
: Tuesday, January 12, 2010 3:51 AM To: General Linux-HA mailing list Subject: Re: [Linux-HA] heartbeat waits for initdead even after all nodes have joined Hi, On Mon, Jan 11, 2010 at 03:21:05PM -0500, David Sickmiller wrote: Hi, I was hoping to configure my 2-node cluster to start as soon

Re: [Linux-HA] heartbeat waits for initdead even after all nodes have joined

2010-01-12 Thread Dejan Muhamedagic
Hi, On Mon, Jan 11, 2010 at 03:21:05PM -0500, David Sickmiller wrote: Hi, I was hoping to configure my 2-node cluster to start as soon as both nodes were present but wait up to 15 minutes if the other node was missing upon system startup. In my case, a delay of several minutes is

Re: [Linux-HA] Heartbeat and Lotus Domino?

2010-01-08 Thread Harakiri
--- On Fri, 1/8/10, Carlos Eduardo Chiriboga Calderon cchirib...@palosanto.com wrote: From: Carlos Eduardo Chiriboga Calderon cchirib...@palosanto.com Subject: [Linux-HA] Heartbeat and Lotus Domino? To: General Linux-HA mailing list linux-ha@lists.linux-ha.org Date: Friday, January 8, 2010,

Re: [Linux-HA] Heartbeat and Lotus Domino?

2010-01-08 Thread Carlos Eduardo Chiriboga Calderon
Hi Harakiri, thanks for your answer, Because, the Lotus Domino's replication is already working with another remote server. We have many applications with Lotus Domino, the master server is in another city and, I would like the local Lotus Domino server to be a cluster with heartbeat. I'm

Re: [Linux-HA] Heartbeat v3.0 and Client API

2010-01-05 Thread Dejan Muhamedagic
Hi, On Tue, Jan 05, 2010 at 06:50:38PM +0800, Javen Wu wrote: Hi Folks, I wrote a simple client by use of the Heartbeat client API and build it on the top of the heartbeat 3.0. My client is to form a simple private multi-node cluster and support autojoin. --%--segment of my

Re: [Linux-HA] Heartbeat v3.0 and Client API

2010-01-05 Thread Javen Wu
The system was reboot automatically after I set crm to yes :( %=== Jan 05 19:08:52 na40-58 crmd: [6104]: info: crmd_init: Starting crmd Jan 05 19:08:52 na40-58 crmd: [6104]: info: G_main_add_SignalHandler: Added signal handler for signal 17 Jan 05 19:08:52 na40-58 heartbeat: [6091]: WARN:

Re: [Linux-HA] Heartbeat v3.0 and Client API

2010-01-05 Thread Dejan Muhamedagic
Hi, On Tue, Jan 05, 2010 at 07:15:24PM +0800, Javen Wu wrote: The system was reboot automatically after I set crm to yes :( Use crm respawn instead of crm yes then. %=== Jan 05 19:08:52 na40-58 crmd: [6104]: info: crmd_init: Starting crmd Jan 05 19:08:52 na40-58 crmd: [6104]: info:

Re: [Linux-HA] Heartbeat v3.0 and Client API

2010-01-05 Thread Javen Wu
Hi Dejan, Actually I don't need CCM ,I tried to write my private CCM just leverage Heartbeat's messaging channel and heartbeat function. I want a my private memberhsip management. Is it possible? I think heartbeat layer supports multiple nodes which means heartbeat can sendclustermsg() to

Re: [Linux-HA] Heartbeat v3.0 and Client API

2010-01-05 Thread Dejan Muhamedagic
Hi, On Tue, Jan 05, 2010 at 07:35:26PM +0800, Javen Wu wrote: Hi Dejan, Actually I don't need CCM ,I tried to write my private CCM just leverage Heartbeat's messaging channel and heartbeat function. I see. I want a my private memberhsip management. Is it possible? Definitely. I think

Re: [Linux-HA] Heartbeat v3.0 and Client API

2010-01-05 Thread Andrew Beekhof
On Tue, Jan 5, 2010 at 12:35 PM, Javen Wu wu.ja...@gmail.com wrote: Hi Dejan, Actually I don't need CCM ,I tried to write my private CCM Ok, I'm officially scared. What are you trying to achieve here? just leverage Heartbeat's messaging channel and heartbeat function. I want a my private

Re: [Linux-HA] heartbeat nfs config - help needed

2009-12-23 Thread SANKARANARAYANAN VISWANATHAN
I have configred heartbeat with each one Virtual IP resource for each node and configured few lvm partitions for each node as per the requirement. Tested the failover of IP and lvm partitions, it is working fine. Now I want to configure NFS Server resource on nodeA and proper mount points -

Re: [Linux-HA] heartbeat and network failures

2009-12-10 Thread thomas polnik
Kamran Hanif wrote: Please add the following in both of your nodes before the ping line and then try again. respawn hacluster /usr/lib/heartbeat/ipfail I hope it should work. this works, if I add a second interface on each node only for ipfail and one interface connection goes down. But in

Re: [Linux-HA] heartbeat and network failures

2009-12-10 Thread thomas polnik
If yes, which options should I use? Pingd # cat /etc/ha.d/haresources node1 IPaddr2::192.168.100.100 drbddisk::r1 Filesystem::/dev/drbd0::/drbd::ext3::defaults Its V1 style.. you should/must consider for V2. V2 with xml config files is a little bit ugly, but I will try it. Thank

Re: [Linux-HA] heartbeat and network failures

2009-12-10 Thread Andrew Beekhof
On Thu, Dec 10, 2009 at 2:21 PM, thomas polnik linux...@polnik.de wrote: If yes, which options should I use? Pingd # cat /etc/ha.d/haresources node1 IPaddr2::192.168.100.100 drbddisk::r1 Filesystem::/dev/drbd0::/drbd::ext3::defaults Its V1 style.. you should/must consider for V2. V2

Re: [Linux-HA] heartbeat and network failures

2009-12-08 Thread Muhammad Sharfuddin
can heartbeat detect a network failure? Yes If yes, which options should I use? Pingd # cat /etc/ha.d/haresources node1 IPaddr2::192.168.100.100 drbddisk::r1 Filesystem::/dev/drbd0::/drbd::ext3::defaults Its V1 style.. you should/must consider for V2. Regards Muhammad Sharfuddin

Re: [Linux-HA] Heartbeat + DRBD + NFSv4 automatic failover problem

2009-12-02 Thread Jason Maur
-Original Message- From: linux-ha-boun...@lists.linux-ha.org [mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of alex handle Sent: November 27, 2009 5:39 AM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Heartbeat + DRBD + NFSv4 automatic failover problem

Re: [Linux-HA] Heartbeat and Apache

2009-12-02 Thread Chris May
The error I get in the messages file is. hb1 apache[18714]: [18782]: ERROR: command failed: sh -c wget -O- -q -L --bind-address=127.0.0.1 http://*:80 | tr '\012' ' ' | grep -Ei / *body *[[:space:]]*/ *html * /dev/null -Original Message- From: Chris May Sent: Wednesday, December

Re: [Linux-HA] heartbeat - execute a script on a running node when the other node is back?

2009-11-30 Thread Joe Bill
On Thu, Nov 19, 2009 at 12:33:09PM +0100, Tomasz Chmielewski wrote: When one PostgreSQL server fails, the setup will still work fine. When the failed PostgreSQL instance is back, the data should be first synchronized from the running PostgreSQL server to a server which was failed a while ago.

Re: [Linux-HA] Heartbeat + DRBD + NFSv4 automatic failover problem

2009-11-27 Thread alex handle
On Fri, Nov 20, 2009 at 5:47 PM, Jason Maur jm...@dawsoncollege.qc.ca wrote: I have used the exact same setup and i didn't find a solution to the problem and there was also a bug with nfsv4 locking https://bugzilla.redhat.com/show_bug.cgi?id=524520 so i switched to nfsv3 and now the failover

Re: [Linux-HA] heartbeat - execute a script on a running node when the other node is back?

2009-11-20 Thread Alan Robertson
Actually, The heartbeat API will allow you to get notified when you lose a single link or it recovers - not just the whole node. Quoting Dejan Muhamedagic deja...@fastmail.fm: Hi, On Thu, Nov 19, 2009 at 12:33:09PM +0100, Tomasz Chmielewski wrote: Dejan Muhamedagic wrote: When one

Re: [Linux-HA] Heartbeat + DRBD + NFSv4 automatic failover problem

2009-11-20 Thread alex handle
On Thu, Nov 19, 2009 at 6:53 PM, Jason Maur jm...@dawsoncollege.qc.ca wrote: Not sure if this is a problem per se, but I'm here's my situation: I have a cluster set up with CentOS + Heartbeat v1 + DRBD + NFSv4.  When I failover from one node to the other (by stopping the heartbeat service on

Re: [Linux-HA] Heartbeat + DRBD + NFSv4 automatic failover problem

2009-11-20 Thread Jason Maur
I have used the exact same setup and i didn't find a solution to the problem and there was also a bug with nfsv4 locking https://bugzilla.redhat.com/show_bug.cgi?id=524520 so i switched to nfsv3 and now the failover time is about 4 seconds :) Thanks for the reply Alex, I switched over to

Re: [Linux-HA] heartbeat - execute a script on a running node when the other node is back?

2009-11-19 Thread Tomasz Chmielewski
Dejan Muhamedagic wrote: When one PostgreSQL server fails, the setup will still work fine. When the failed PostgreSQL instance is back, the data should be first synchronized from the running PostgreSQL server to a server which was failed a while ago. It is best if such a script could be

Re: [Linux-HA] heartbeat - execute a script on a running node when the other node is back?

2009-11-19 Thread Dejan Muhamedagic
Hi, On Thu, Nov 19, 2009 at 12:33:09PM +0100, Tomasz Chmielewski wrote: Dejan Muhamedagic wrote: When one PostgreSQL server fails, the setup will still work fine. When the failed PostgreSQL instance is back, the data should be first synchronized from the running PostgreSQL server to a

Re: [Linux-HA] Heartbeat not taking over - ERROR: NV failure (msgfromsteam)

2009-11-18 Thread Rolf Schmidt
Hi, On Tue, 17 Nov 2009, Casey Allen Shobe wrote: Nov 17 12:43:45 radha heartbeat: [28049]: WARN: No STONITH device configured. Do not use it without STONITH. I assume you have STONITH enabled for the cluster in crm_config but no device configured. And update to the latest version.

Re: [Linux-HA] Heartbeat not taking over - ERROR: NV failure (msgfromsteam)

2009-11-18 Thread Casey Allen Shobe
On Wed, Nov 18, 2009 at 6:45 AM, Rolf Schmidt rolf.schm...@novell.comwrote: Do not use it without STONITH. I assume you have STONITH enabled for the cluster in crm_config but no device configured. I don't intentionally have any stonith configured - I don't have any hardware to enable this. I

Re: [Linux-HA] heartbeat - execute a script on a running node when the other node is back?

2009-11-16 Thread Dejan Muhamedagic
Hi, On Sun, Nov 15, 2009 at 09:09:53PM +0100, Tomasz Chmielewski wrote: I have two nodes, node_1 and node_2. node_2 was down, but is now up. How can I execute a custom script on node_1 when it detects that node_2 is back? That's not possible. What would you want to with that script?

Re: [Linux-HA] heartbeat - execute a script on a running node when the other node is back?

2009-11-16 Thread Tobias Appel
On 11/15/2009 09:09 PM, Tomasz Chmielewski wrote: I have two nodes, node_1 and node_2. node_2 was down, but is now up. How can I execute a custom script on node_1 when it detects that node_2 is back? This is a little off the heartbeat list I guess, but we use Nagios to monitor our

Re: [Linux-HA] heartbeat - execute a script on a running node when the other node is back?

2009-11-16 Thread Tomasz Chmielewski
Dejan Muhamedagic wrote: Hi, On Sun, Nov 15, 2009 at 09:09:53PM +0100, Tomasz Chmielewski wrote: I have two nodes, node_1 and node_2. node_2 was down, but is now up. How can I execute a custom script on node_1 when it detects that node_2 is back? That's not possible. What would you

Re: [Linux-HA] heartbeat - execute a script on a running node when the other node is back?

2009-11-16 Thread Dominik Klein
Tomasz Chmielewski wrote: Dejan Muhamedagic wrote: Hi, On Sun, Nov 15, 2009 at 09:09:53PM +0100, Tomasz Chmielewski wrote: I have two nodes, node_1 and node_2. node_2 was down, but is now up. How can I execute a custom script on node_1 when it detects that node_2 is back? That's not

Re: [Linux-HA] heartbeat - execute a script on a running node when the other node is back?

2009-11-16 Thread Dejan Muhamedagic
Hi, On Mon, Nov 16, 2009 at 02:39:52PM +0100, Dominik Klein wrote: Tomasz Chmielewski wrote: Dejan Muhamedagic wrote: Hi, On Sun, Nov 15, 2009 at 09:09:53PM +0100, Tomasz Chmielewski wrote: I have two nodes, node_1 and node_2. node_2 was down, but is now up. How can I execute

Re: [Linux-HA] heartbeat and drbd83 CentOS5.4

2009-11-04 Thread Michael Schwartzkopff
Am Mittwoch, 4. November 2009 16:24:41 schrieb Testuser SST: Hi, I´m having some trouble setting up a new clustersystem with drbd. I´m using a Cent0S 5.4, heartbeat-2.1.3-3.el5.centos and a drbd83-8.3.2-6.el5_3. This is my config resources master_slave id=ms_drbd_mail

Re: [Linux-HA] Heartbeat + drbd + NFS: secondary node (after being primary) goes nuts

2009-10-21 Thread Paolo Pisati
Paolo Pisati wrote: Dear guys, i've a small problem with an NFS/drbd/heartbeat cluster: basically the secondary node (that was previously promoted as primary) when the primary come up again, is unable to release the resources (ip/drbd) gracefully, and reboots. I know there's resource

Re: [Linux-HA] Heartbeat + drbd + NFS: secondary node (after being primary) goes nuts

2009-10-21 Thread Alex Dean
On Oct 21, 2009, at 5:44 AM, Paolo Pisati wrote: Paolo Pisati wrote: Dear guys, i've a small problem with an NFS/drbd/heartbeat cluster: basically the secondary node (that was previously promoted as primary) when the primary come up again, is unable to release the resources (ip/drbd)

Re: [Linux-HA] Heartbeat + drbd + NFS: secondary node (after being primary) goes nuts

2009-10-21 Thread Paolo Pisati
Alex Dean wrote: This is mentioned in the HaNFS tutorial. See #3 in the 'Hints' section. http://www.linux-ha.org/HaNFS thanks, didn't know about that document. ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org

Re: [Linux-HA] Heartbeat with MySQL question

2009-10-20 Thread Andrew Beekhof
On Sun, Oct 18, 2009 at 3:20 PM, Meir Chanan meir.cha...@gmail.com wrote: So my question is - Does Linux HA R2-like support such configuration of mysql master-master  (Active-Active) cluster with floating VIP (Active-Passive)  ? I believe so. 1.      How do I configure it ? Try:

Re: [Linux-HA] Heartbeat considers the other node is dead

2009-09-29 Thread Peter P GMX
second repeat :-) It works now. As you've said, it was a firewall problem, where the UDP ports below 1024 were blocked for all interfaces, so eth2 was also affected. I've learnt today that ngrep reads the network data before it may be filtered by iptables. Best regards Peter Lars Ellenberg

Re: [Linux-HA] Heartbeat considers the other node is dead

2009-09-28 Thread Lars Ellenberg
On Sun, Sep 27, 2009 at 07:07:16PM +0200, Peter P GMX wrote: The strange thing is: We can see in the ngrep logs below that both machines receive communication on upd port 694 . That was the first I crosschecked, as this is not the first machine we setup sucessfully. And if the firewall lets

Re: [Linux-HA] Heartbeat considers the other node is dead

2009-09-27 Thread Peter P GMX
The strange thing is: We can see in the ngrep logs below that both machines receive communication on upd port 694 . That was the first I crosschecked, as this is not the first machine we setup sucessfully. And if the firewall lets through the messages on port 694, as we can see on both macines,

Re: [Linux-HA] Heartbeat considers the other node is dead

2009-09-25 Thread Peter P GMX
Some more info: I compared the open ports to another HA inmstalltion which works and found a difference. The working HA cluster has another port open for heartbeat: Proto Recv-Q Send-Q Local Address Foreign Address State Benutzer Inode PID/Program name raw

Re: [Linux-HA] Heartbeat considers the other node is dead

2009-09-25 Thread Alan Robertson
This kind of problem is nearly /always/ a firewall problem. People tell me they don't have one. I repeat my advice. This repeats 2 or 3 times and eventually they find the problematic firewall - and either open port 694 on it, or shut the firewall off. Then the problem goes away. I cannot count

Re: [Linux-HA] Heartbeat considers the other node is dead

2009-09-24 Thread Michael Schwartzkopff
Am Donnerstag, 24. September 2009 20:14:22 schrieb Peter P GMX: Hello, This is the frist heartbeat I setup with heartbeat: version 2.1.3. Some setups with older versions worked fine. Do yourself a favor and do not use that old version any more. It's buggy. However I have a problem with a 2

Re: [Linux-HA] Heartbeat considers the other node is dead

2009-09-24 Thread Peter P GMX
Hello Michael, I updated to 2.99-3 (pacemaker-heartbeat package for Ubuntu Hardy) and still have the same behaviour. FS3 still ignores that FS2 is up and vice versa. (Btw: For auth method CRC it complained, that a shared secret is not valid, so I shouldn't use one). On each server I can ping

<    1   2   3   4   5   6   7   8   >