LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: DR to solaris 8 box

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: DR to solaris 8 box
From: Mark de Vries <markdv.lvsuser@xxxxxxxxxx>
Date: Fri, 21 Apr 2006 14:23:14 +0200 (CEST)
On Fri, 21 Apr 2006, Lasse Karstensen wrote:

> Mark de Vries:
> > I need to do some DR to a solaris 8 box... Anyone know how to set it to
> > ignore arp requests? So far I have only done DR to linux and windows
> > boxen...
>
> At least for Solaris 9, you can just create the file
> "/etc/hostname.lo0:14" (14=some number)
>
> Inside of it you write
> """
> plumb 1.2.3.4 -arp netmask 255.255.255.255 up
> """
>
> where 1.2.3.4 is your vip-address.
>
> I'm pretty sure this also works in Solaris 8.

Ah yes, the -arp option... Yeah works! Not that it matters because half
way throught the exersize I suddenly realized that the service has always
used NAT for a reason; the real servers have the service on different
ports then on the VIP... so DR is a no-go... sigh...

And the whole reason we wanted to use dr in this first, or actually
second, case was because half way through the first attempt at configuring
it as NAT I suddenly realized that wouldn't work because in this case the
realserver has an interface in the same network as the VIP is in (so there
is a direct route to the client and packets won't get de-natted)... So
short of someone pointing me to a source-based-routing-HOWTO-on-solaris
it's just not gonna work out...

And the REAL sad part is that I've hit all these problems before, and it's
souldn't have been that hard to realize it just wouldn't work before
trying (twice!)... Guess this is just one of those fridays....

Nice weekend y'all :)

Mark.

> The solaris-people here also mention that you can just use
> addif in /etc/hostname, if you rather fancy having everything
> in one file.
>

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