Latest LQ Deal: Linux Power User Bundle
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 07-10-2008, 11:22 AM   #1
Registered: Oct 2004
Location: Athens, Greece
Distribution: Suse Linux
Posts: 98

Rep: Reputation: 16
Heartbeat Cluster setup. Is it correct?

Hi all,
I try configure a cluster with 2 nodes (server1, server2).
The 2 servers have different applications running on them. Specifically:

Server 1:
Apache/Webmail, Samba
eth0:, eth1:

Server 2:
eth0:, eth1:

Virtual IP for Apache/Webmail, Samba is
Virtual IP for Oracle is

Now, what I want, is:
In case server1 fails, server 2 will have to take over all functionality. Thus, in case of server1 failure, server2 will run Apache, Webmail, Postfix, Oracle.

Heartbeat is the package I will use.
I have configured ha on both servers as:

auto_failback on
debugfile /var/log/ha/debug
logfile /var/log/ha/log
logfacility     local0
keepalive 60
deadtime 30
udpport 694
udp     eth1
bcat	eth1
ucast   eth1
server1's haresources is:
server1 IPaddr:: httpd smb
server1's haresources is:
server2 IPaddr:: oracle
This will failover services between 2 servers. But, that way, in case of server1 failure, oracle will loose the virtual IP (because ha will assign the new virtual ip to eth0), or apache/smb will loose their virtual ip etc.
How can I have both virtual ips on one server? Can I add a second line to each haresource file with the virtual ip of the other services?

Thank you,


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 cluster help ufmale Linux - Server 3 05-23-2008 08:16 PM
heartbeat cluster delayed response time problem...... raklo Linux - Software 1 02-18-2008 12:07 AM
heartbeat cluster configuration problem!!!!!! raklo Linux - Software 0 01-31-2008 06:43 AM
heartbeat cluster on different subnets blanks Linux - Networking 1 04-03-2007 04:50 PM
High availability Samba cluster DRBD + Heartbeat djalex Linux - Networking 3 09-05-2006 02:14 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:28 AM.

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