[Keepalived-devel] KL v1.1.11 on RH ES v4 U2: Simple 2 node Apache Farm
Status: Beta
Brought to you by:
acassen
|
From: Shaun M. <sha...@xb...> - 2006-02-22 10:27:58
|
Hi,
A few months ago I setup a 2 node Apache farm that
looks like this
VIP 10.0.58.30/24
|
|
|
--------------------------------------------------
|
Real Server A Real Server B
10.0.58.21/24 10.0.58.22/24
Real Server A is the KL Master and Real Server B
is the KL Backup. There
is only one VIP (10.0.58.30).
Initially things looked very good, but both PCs
crashed every few weeks.
None of the crashes were caused by a kernel panic,
but every time
the systems went down they would only respond to
pings. No errors were
reported in /var/log/messages. It was not possible
to login on the
console. Even pressing the enter key did not yield
a new login prompt,
both systems just froze. We use Dell 2650's so I
tried moving the discs
to a different 2650 thinking there might be an
intermittent hardware
fault. However the fault has persisted.
Both Dells are running the latest BIOS and RAID
Firmware.
I've shutdown KL on one system to see if this runs
OK without KL.
As there is no kernel panic I'm not sure how to go
about investigating
this, any suggestions would be most welcome.
Thanks for your time and thanks to everyone for
continued development of
KL.
TIA
Shaun
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
vrrp_instance VR1 {
state BACKUP
interface eth1
track_interface {
eth1
}
lvs_sync_daemon_inteface eth1
virtual_router_id 221
priority 100
advert_int 5
smtp_alert
authentication {
auth_type PASS
auth_pass xxxxx
}
virtual_ipaddress {
10.0.58.30/24
}
notify_master "/sbin/ifdown lo:1"
notify_backup "/sbin/ifup lo:1"
notify_fault
/usr/local/etc/keepalived_fault.sh
garp_master_delay 1
}
virtual_server 10.0.58.30 80 {
delay_loop 5
lb_algo lc
lb_kind DR
protocol TCP
persistence_timeout 50
real_server 10.0.58.21 80 {
weight 1
inhibit_on_failure
TCP_CHECK {
connect_port 80
connect_timeout 5
}
}
real_server 10.0.58.22 80 {
weight 1
inhibit_on_failure
TCP_CHECK {
connect_port 80
connect_timeout 5
}
}
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
/etc/sysctl.conf
net.ipv4.conf.lo.arp_ignore =3D 1
net.ipv4.conf.lo.arp_announce =3D 2
net.ipv4.conf.all.arp_ignore =3D 1
net.ipv4.conf.all.arp_announce =3D 2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--=20
Shaun McCullagh
Senior System Engineer
XB
Televisieweg 2
1322 AC ALMERE
T +31 (0)36 546 2459
F +31 (0)36 546 2220
M +31 (0)614 800 421
U www.xb.nl
Op dit e-mailbericht is een disclaimer van toepassing, welke te vinden =
is op http://www.xb.nl/disclaimer.html
|