Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-21-2012, 02:43 AM   #1
Registered: Jan 2011
Location: Dhaka
Posts: 80

Rep: Reputation: 1
Heartbeat active/passive mode

I've installed Heartbeat in two CentOS 6.2 machine which running http service. I was these machine to be in Active/Passive state. I want only one machine to be active. Here's my file:

logfacility     local0

ucast   eth1

#bcast eth1

keepalive 2

warntime 6

deadtime 10

auto_failback on
use_logd yes

node    web5
node    web5b
And here's the haresources file:

web5    IPaddr::
Problem is when I start heartbeat on both server the, IP stay active in both server. I want it to be active only on Web5 and if web5 goes down it'll be active in Web5b. my heartbeat version is 3.0.4.

Thanks for you help in advance!
Old 05-21-2012, 12:46 PM   #2
Registered: Jan 2011
Location: Dhaka
Posts: 80

Original Poster
Rep: Reputation: 1
one of the machine is 32 bit and another one is 64 bit... Wondering, could this be a problem?
Old 05-24-2012, 09:43 AM   #3
Registered: Mar 2007
Location: Spain
Distribution: Debian
Posts: 201

Rep: Reputation: 36
Heartbeat doesn't work alone anymore, it is a lower layer either for pacemaker or openais/corosync.

You must configure a resource in the CRM for the ip, and make it travel from one node to another.

Here you can find the documentation to configure Pacemaker CRM, and in this thread is an example of how to configure an IP resource.

Last edited by rodrifra; 05-24-2012 at 10:11 AM.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Heartbeat- Active Passive Jamer Linux - Enterprise 1 05-15-2012 01:02 AM
VSFTPD mode lapzlinux Linux - Networking 4 08-06-2011 01:54 AM
ftp - active or passive mode kshkid Programming 1 02-15-2008 09:27 PM
FTP: active and passive mode problem with some windows client tda71 Linux - Networking 2 06-14-2005 08:31 AM
Passive/Active mode in Konqueror & .netrc perl21 SUSE / openSUSE 0 03-18-2005 08:11 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration