LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: 2 questions regarding LVS

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: 2 questions regarding LVS
Cc: ultramonkey-users@xxxxxxxxxxxxxxx
From: Horms <horms@xxxxxxxxxxxx>
Date: Wed, 19 Oct 2005 17:43:24 +0900
On Tue, Oct 18, 2005 at 09:35:22PM +0530, ankush grover wrote:
> hey ,
>  I had recently configured StreamLine Load Balancing & High
> Avaliability(ultramonkey) on Fedora Core3.I have 2 questions.
>  a) One of the my servers will be primary one.How can I redirect all the
> requests to the primary server?
> For ex Server 1 is the primary server all the requests should go to this
> server if this goes down or some problem occurs with this then the requests
> should be redirected to the other server.If the first goes down and again
> comes back it should again be the master.

For this case, list the Server 1 as the real server and Server 2 as
the failback server.

>  b) With 2 servers I want to add additional ethernet cards on both the
> Servers and these servers will be connected to each other through these
> cards also.How do I configure heartbeat to look for eth0 and for eth1 also.

That depends a bit on what you want to do with the extra NICs, but
the short answer is just add eth1 to haresources.cf

As you are using the streamline setup, and from memory I think
you are using arp_ignore and arp_announce, make sure you set these
variables on eth1 as you did for eth0.

-- 
Horms

<Prev in Thread] Current Thread [Next in Thread>