I'm posting this for
> Peter Mueller wrote:
who can't post to the LVS list yet.
> if you want, I'd appreciate it. I was actually trying to respond on the
> list to someone else and point them to some documentation I had seen... but
> since I'm stuck.. :)
>
> I'm up to the point now where I'm now messing around with heartbeat.
> Unfortunately I can't get it to start. I was originally attempting to get
> heartbeat to run over two serial lines between the two boxes (ttyS0 and
> ttyS1), but ttyS1 never showed a UART on either machines. Thus instead of
> adding another NIC and dealing with that headache on both machines, I
> thought that perhaps utilizing shared ethernet (10.0.1.0/24) would be best.
> (In production both NICs will be utilized already, so those 'free' ethernet
> shown in the ifconfig(s) isn't actually available).
>
> I'm using ultramonkey since we run VALinux boxes here.
>
> relevant files :
>
> http://fe4034.sidestep.com/haresources
> http://fe4034.sidestep.com/authkeys
> http://fe4034.sidestep.com/ha.cf
> http://fe4034.sidestep.com/ldirectord.cf
> http://fe4034.sidestep.com/ifconfig.vs1
> http://fe4034.sidestep.com/ifconfig.stage-monitor
>
> note : (haresources, authkeys, ldirectord.cf, and ha.cf are the same on both
> LVS boxes)
>
> [root@vs1 ha.d]# ls -l
> total 16
> -rw------- 1 root root 651 Apr 16 17:01 authkeys
> drwxr-xr-x 2 root root 1024 Apr 16 12:39 conf
> -rw-r--r-- 1 root root 2488 Apr 19 10:22 ha.cf
> -rwxr-xr-x 1 root root 650 May 3 2000 harc
> -rw-r--r-- 1 root root 3835 Apr 18 18:13 haresources
> -rw-r--r-- 1 root root 934 Apr 19 10:51
> ifconfig.stage-monitor
> -rw-rw-r-- 1 root root 934 Apr 19 10:49 ifconfig.vs1
> drwxr-xr-x 2 root root 1024 Mar 27 16:21 rc.d
> drwxr-xr-x 2 root root 1024 Mar 28 10:56 resource.d
> -rwxr-xr-x 1 root root 1226 May 3 2000 shellfuncs
>
> [root@vs1 conf]# ls -l
> total 2
> -rw-r--r-- 1 root root 1122 Apr 16 12:39 ldirectord.cf
>
> */ ASCII diagram of final setup follows /*
>
> LVS-DR
> ________
> | |
> | client |
> |________|
> | CIP
> |
> router - eth0 - 10.0.0.0/24
> |
> |
> router - eth1 - GW, 10.0.1.2
> |
> __________ | __________
> | | DIP | |
> + director +------+ director |
> |__________| VIP |__________|
> |
> |
> |
> +-----------------+----------------+
> | | |
> | | |
> RIP1, VIP RIP2, VIP RIP3, VIP
> ____________ ____________ ____________
> | | | | | |
> |real-server1| |real-server2| |real-server3|
> |____________| |____________| |____________|
>
> CIP = 10.0.0.0/24
> DIP = 10.0.1.11 vs1
> DIP2 = 10.0.1.5 stage-monitor
> VIP1 = 10.0.1.10
> RIP1 = 10.0.1.3
> RIP2 = 10.0.1.4
> RIP3 = not present in QA tests
> DGW = 10.0.1.2 (Linux box joining 10.0.0.0/24 and
> 10.0.1.0/24)
--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
|