Failover Service in CentOS 6.3
Hi,
I am trying to set-up a basic Failover Service for httpd. I have modified lvs.cf file(Below is my lvs.cf file). I followed(remaining) steps from http://docs.huihoo.com/redhat/haserv...ual/x2690.html. But when I start pulse in primary node, httpd is running fine. Once I start pulse in backup node, httpd is getting stopped automatically in primary node after 10 seconds and immediately starting in backup. Failover is happening before stopping primary node. Please provide some solution that why automatically, httpd is getting stopped in primary after 10 seconds?? If you need more details, please let me know. Thanks, Ratikant lvs.cf ============= serial_no = 21 service = fos primary = 10.77.247.150 rsh_command = ssh backup_active = 1 backup = 10.77.247.143 heartbeat = 1 heartbeat_port = 539 keepalive = 6 deadtime = 18 network = direct failover httpd { address = 10.77.247.151 eth0:1 vip_nmask = 255.255.255.224 active = 1 port = 80 start_cmd = "/etc/init.d/httpd start" stop_cmd = "/etc/init.d/httpd stop" } |
All times are GMT -5. The time now is 09:07 AM. |