[Linux-HA] Help Setting up HA with 2 ETH interface

Victor Chin stackoverflow84 at hotmail.com
Sun Aug 14 20:14:27 MDT 2005



>From: Alan Robertson <alanr at unix.sh>
>Reply-To: General Linux-HA mailing list <linux-ha at lists.linux-ha.org>
>To: General Linux-HA mailing list <linux-ha at lists.linux-ha.org>
>Subject: Re: [Linux-HA] Help Setting up HA with 2 ETH interface
>Date: Sun, 14 Aug 2005 20:03:07 -0600
>
>Victor Chin wrote:
>>Hi i wanna setup a HA setting with 2 connections to a router which will 
>>then route to the internet domain so it's kinda like this
>>
>>  172.16.1.1(HA1)eth1 <Master-Server> 192.168.0.2-eth0 (Link to 
>>router)<router>
>>       |
>>       |
>>172.16.1.2(HA2)eth1 <Master-Server> Hibernate-eth0 (waiting)<router>
>>
>>*HA1 being master and HA2 being slave*
>>
>>So from the router , then it get's hosted on the internet via port 
>>forwarding.
>>eth1 will have the dedicated Connection to both servers for heartbeat 
>>purposes.
>>
>>eth0 are the connections to the router. So each server has 2 NIC's.
>>
>>My current configuration are as follows :
>>ha.cf
>>------------------------------------------------------------
>>logfacility daemon
>>node ha1
>>node ha2
>>keepalive 2
>>deadtime 60
>>warntime 10
>>bcast eth0
>>auto_failback no
>>respawn hacluster /usr/lib/heartbeat/ipfail
>>logfile /var/ha.log
>>
>>haresources
>>-------------------------------------------------------------
>>ha1 IPaddr2::192.168.0.2/24/eth0 httpd::start mysql::start
>
>
>You should probably heartbeat over both interfaces - you're only 
>heartbeating over the eth0 interface, and you said you were going to do it 
>over eth1.
>
>The ::start stuff isn't needed - and will probably keep things from 
>working.
>
>So, drop the ::start stuff, and add a bcast eth1 directive to ha.cf
>
>--
>     Alan Robertson <alanr at unix.sh>
>
>"Openness is the foundation and preservative of friendship...  Let me claim 
>from you at all times your undisguised opinions." - William Wilberforce
>_______________________________________________
>Linux-HA mailing list
>Linux-HA at lists.linux-ha.org
>http://lists.linux-ha.org/mailman/listinfo/linux-ha
>See also: http://linux-ha.org/ReportingProblems

Hmm i don't quite get it but isn't this line supposed to switch my 
master/slave whichever concerned to serve httpd and mysql on 192.168.0.2 
over ETH0(which is my interface to router)?
ha1 IPaddr2::192.168.0.2/24/eth0 httpd mysql

so i take that i'm to change to
bcast eth0
bcast eth1
thx for the reply

_________________________________________________________________
Find just what you are after with the more precise, more powerful new MSN 
Search. http://search.msn.com.my/ Try it now.




More information about the Linux-HA mailing list