External VIP not loading.
SmallFries <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
Hello All
Think I have the majority of the ultramonkey setup in place.
I'm having difficulty bringing up the External VIP
Currently the server has 2 interfaces
eth0 NIC1 has an external interface xx.xx.xx.x1 which is used to get to the
server.
eth1 NIC2 192.168.4.104 used to talk to web servers on the 192.168.4 space.
xx.xx.xx.xx = vip external routable ip
______________________________________
haresources
lb1 \
ldirectord::ldirectord.cf \
LVSSyncDaemonSwap::master \
IPaddr2::xx.xx.xx.xx/24/eth0/255.255.255.224
_____________________________________
ha.cf
logfacility local0
bcast eth1 #linux
mcast eth1 224.255.255.255 694 1 0
auto_failback off
node lb1
node lb2
respawn hacluster /usr/lib/heartbeat/ipfail
apiauth ipfail gid=haclient uid=hacluster
________________________________________
ldirectord.cf
checktimeout=10
checkinterval=2
autoreload=no
logfile="local0"
quiescent=yes
#Virtual Server for Apache HTTP
virtual=xx.xx.xx.xx:80
real=192.168.4.199:80 gate
real=192.168.4.200:80 gate
fallback=127.0.0.1:80
service=http
request="ldirector.html"
receive="Test Page"
scheduler=rr
protocol=tcp
checktype=negotiate
Output of ipvsadm
[root@lb1 sysconfig]# ipvsadm -L
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP xx.xx.xx.xx:http rr
-> 192.168.4.199:http Route 0 0 0
-> 192.168.4.200:http Route 0 0 0
-> localhost.localdomain:http Local 1 0 0
when I do an ifconfig I don't see the xx.xx.xx.xx loaded
[root@lb1 ha.d]# ldirectord ldirectord.cf status
ldirectord for /etc/ha.d/ldirectord.cf is running with pid: 6270
[root@lb1 ha.d]# /etc/ha.d/resource.d/LVSSyncDaemonSwap master status
master running
(ipvs_syncmaster pid: 6347)
[root@lb1 ha.d]# /etc/ha.d/resource.d/LVSSyncDaemonSwap backup status
backup stopped
(ipvs_syncmaster pid: 6347)
The 2nd box has not yet been put into production.
Thank You