LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-23-2009, 06:15 PM   #1
TheGorf
LQ Newbie
 
Registered: Feb 2009
Posts: 11

Rep: Reputation: 0
Stuck trying to use Piranha and LVS


Is this networking? Is this server? I figured networking works...

Anyway, I'm trying to get LVS up and running on CentOS 5.3 x86-64. Everything setup fine and went according to documentation here:

http://www.centos.org/docs/5/html/Vi...ion/index.html

Except when I actually go to start the pulse service, I get the following error:

Starting pulse: pulse: no active lvs services defined in /etc/sysconfig/ha/lvs.cf [FAILED]

This is my first adventure into using LVS for load balancing, so I'm not sure where to go next. For reference here is my lvs.conf:

Code:
serial_no = 26
primary = 192.168.16.210
primary_private = 10.3.0.1
service = lvs
backup_active = 0
backup = 192.168.16.247
backup_private = 10.3.0.2
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = nat
nat_router = 10.3.0.3 eth0:1
nat_nmask = 255.255.0.0
debug_level = NONE
monitor_links = 0
syncdaemon = 0
virtual www.testdomain.com {
     active = 0
     address = 192.168.16.221 eth1:1
     vip_nmask = 255.255.255.0
     port = 80
     use_regex = 0
     load_monitor = none
     scheduler = wlc
     protocol = tcp
     timeout = 6
     reentry = 15
     quiesce_server = 0
     server web1.prod.testdomain.com {
         address = 10.3.1.1
         active = 0
         weight = 1
     }
     server web2.prod.testdomain.com {
         address = 10.3.1.2
         active = 0
         weight = 1
     }
}
Thoughts or opinions?

Thanks!
 
Old 04-23-2009, 07:41 PM   #2
TheGorf
LQ Newbie
 
Registered: Feb 2009
Posts: 11

Original Poster
Rep: Reputation: 0
dear lord, the answer was staring me in the face. On the main Piranha page on the Virtual Servers tab, you have to click the radio button next to the virtual server and click the "activate" button. That changes the lvs.cf entry from this:

Code:
virtual www.testdomain.com {      
    active = 0
to this

Code:
virtual www.testdomain.com {      
    active = 1
I still can't get packets through, but at least the service is now running.
 
Old 04-18-2013, 04:25 AM   #3
jmazaredo
LQ Newbie
 
Registered: Feb 2011
Posts: 4

Rep: Reputation: 0
dear lord

AMEN to that. staring at me also
 
  


Reply

Tags
lvs


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
Piranha and Keepalive linux2man Linux - Networking 0 08-03-2008 05:22 PM
piranha problem hfloresl Linux - Newbie 0 06-23-2008 06:32 PM
How to access a piranha cluster from within? Fnutt Linux - Server 0 03-27-2008 06:11 AM
piranha-gui service fails - (LVS-nat)Fedoracore 6 xxx_anuj_xxx Linux - Networking 0 04-06-2007 01:30 PM
Piranha Configuration Tool cAg3 Linux - Software 0 11-15-2004 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:00 AM.

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
Open Source Consulting | Domain Registration