Hello!
I've a problem with keepalived. When the http service is not available
than the server is removed from the pool, but when the service is
running the server will not come back in the pool. Does someone had the
same Problem and can tell me why?
! Configuration File for keepalived
global_defs
{
notification_email
{
root
}
notification_email_from x@xxxxx
smtp_server 127.0.0.1
smtp_connect_timeout 30
router_id LV1
}
virtual_server 192.168.1.2 80
{
delay_loop 6
lb_algo rr
lb_kind NAT
nat_mask 255.255.255.0
persistence_timeout 50
protocol TCP
real_server 192.168.2.30 80
{
weight 10
SSL_GET
{
url
{
path /webroot/check.sh
}
connect_timeout 3
nb_get_retry 3
delay_before_retry 5
}
}
}
|