LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2013, 10:51 AM   #1
ratikant
LQ Newbie
 
Registered: May 2013
Posts: 1

Rep: Reputation: Disabled
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"
}
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
High Availability and Failover with Centos 6.3 markjohnson Linux - Networking 2 01-15-2013 11:13 PM
CentOS 6.3, VPS, IP FAILOVER Hirogens Linux - Networking 0 09-03-2012 05:24 AM
rgmanager failover service on power failure MasterTH Linux - Server 0 08-29-2012 06:05 AM
Failover in Linux (CentOS) nishith Linux - Networking 1 09-22-2011 08:55 AM
Centos Failover Internet kool_kid Linux - Networking 0 08-08-2007 09:48 AM


All times are GMT -5. The time now is 04:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration