Hi all,
I try to finish my LVS, but I think I have a problem with keepalived. At this
step, I only have one director (waiting for the machine for the second). So, my
conf file is simple :
global_defs {
notification_email {
pingouin@xxxxxxxxxxxxxxxxx
}
notification_email_from cluster_linux@xxxxxxxxxxxxxxxxx
smtp_server 192.250.185.230
smtp_connect_timeout 30
lvs_id LVS_DEVEL
}
virtual_server VIP 80 {
delay_loop 6
lb_algo wrr
lb_kind DR
persistence_timeout 3600
protocol TCP
real_server 172.16.1.1 80 {
weight 1
HTTP_GET {
url {
path /do/entry
}
connect_timeout 10
nb_get_retry 3
delay_before_retry 5
}
}
real_server 172.16.1.2 80 {
weight 1
HTTP_GET {
url {
path /do/entry
}
connect_timeout 3
nb_get_retry 3
delay_before_retry 3
}
}
}
In /var/log/messages, I have :
Oct 29 10:27:30 lxtdp1 Keepalived: Starting Keepalived v1.1.3 (29/09, 2003)
Oct 29 10:27:30 lxtdp1 Keepalived_vrrp: Registering Kernel netlink reflector
Oct 29 10:27:30 lxtdp1 Keepalived_vrrp: Registering Kernel netlink comand channe
l
Oct 29 10:27:30 lxtdp1 Keepalived_vrrp: Registering gratutious ARP shared channe
l
Oct 29 10:27:30 lxtdp1 Keepalived: Starting VRRP child process, pid=21830
Oct 29 10:27:30 lxtdp1 Keepalived_vrrp: Configuration is using : 70802 Bytes
Oct 29 10:27:30 lxtdp1 Keepalived_vrrp: ------< Global definitions >------
Oct 29 10:27:30 lxtdp1 Keepalived_vrrp: LVS ID = LVS_DEVEL
Oct 29 10:27:30 lxtdp1 Keepalived_vrrp: Smtp server = 192.250.185.230
Oct 29 10:27:30 lxtdp1 Keepalived_vrrp: Smtp server connection timeout = 30
Oct 29 10:27:30 lxtdp1 Keepalived_vrrp: Email notification from =
cluster_linux@xxxxxxxxxxxxxxxxx
Oct 29 10:27:30 lxtdp1 Keepalived_vrrp: Email notification =
pingouin@xxxxxxxxxxxxxxxxx
Oct 29 10:27:30 lxtdp1 Keepalived_vrrp: Watchdog: Starting listener on
/tmp/.vrrp wdog socket
Oct 29 10:27:35 lxtdp1 Keepalived: Watchdog: success connecting /tmp/.vrrp wdog
socket
That's all. Is there a way to debug keepalived config file ? Where can I find a
doc about what is required ? the second realserver is not configured yet to
answer to the HTTP_GET, so I should have an error message and it should be
removed from the IPVS tables, no? Am I missing one more thing ?
François.
|