LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-08-2009, 05:38 PM   #1
justemail
LQ Newbie
 
Registered: Apr 2009
Posts: 29

Rep: Reputation: 15
LVS - VIP Seems to be NOT Responding!


Hello:

It seems that VIP 65.103.190.107 on my LVS is NOT responding!

I have setup a simple LVS. Two Virtual servers (vs1.tib.com & vs2.tib.com) and one Real Server (rs1.tib.com) on CentOS 5.3. Now when I trying to display a test Web site (on rs1), the request times out.

On vs1 there is nothing in the logs. No error message. Just nothing.

From VS1, I can display any outside (http://www.msn.com) but can't display internal web (http://www.tib.com) pages.

I have a hunch that the virtual setting for HTTP in piranha-gui is not correct. But what? After two days, I need direction.

===========================
/etc/sysconfig/ha/lvs.cf

serial_no = 17
primary = 65.103.190.106
primary_private = 192.168.1.1
service = lvs
backup_active = 1
backup = 65.103.190.108
backup_private = 192.168.1.2
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = nat
nat_router = 192.168.1.254 eth1:1
nat_nmask = 255.255.255.0
debug_level = NONE
monitor_links = 0
syncdaemon = 0
virtual HTTP {
active = 1
address = 65.103.190.107 eth0:1
vip_nmask = 255.255.255.248
port = 80
send = "GET / HTTP/1.0\r\n\r\n"
expect = "HTTP"
use_regex = 0
load_monitor = none
scheduler = wlc
protocol = tcp
timeout = 6
reentry = 15
quiesce_server = 0
server rs1 {
address = 192.168.1.10
active = 1
weight = 1000
}
}


======================
This may help; I open the piranha-gui to look & see if there was any error. After I closed the piranha-gui screen, Inoticed the following errors in /var/log/piranha/piranha-gui:

[Mon Jun 08 16:13:40 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jun 08 16:13:40 2009] [notice] Digest: done
[Mon Jun 08 16:13:40 2009] [notice] Apache/2.2.3 (CentOS) PHP/5.1.6 configured -- resuming normal operations

[Mon Jun 08 16:15:22 2009] [error] [client 127.0.0.1] PHP Notice: Undefined index: sorry_server in /etc/sysconfig/ha/web/secure/virtual_edit_virt.php on line 262, referer: http://localhost:3636/secure/virtual_main.php

[Mon Jun 08 16:15:35 2009] [error] [client 127.0.0.1] PHP Notice: Undefined index: edit_action in /etc/sysconfig/ha/web/secure/virtual_edit_real_edit.php on line 2, referer: http://localhost:3636/secure/virtual...elected_host=1

[Mon Jun 08 16:15:35 2009] [error] [client 127.0.0.1] PHP Notice: Undefined index: nmask in /etc/sysconfig/ha/web/secure/virtual_edit_real_edit.php on line 162, referer: http://localhost:3636/secure/virtual...elected_host=1

[Mon Jun 08 16:15:35 2009] [error] [client 127.0.0.1] PHP Notice: Undefined index: nmask in /etc/sysconfig/ha/web/secure/virtual_edit_real_edit.php on line 163, referer: http://localhost:3636/secure/virtual...elected_host=1

[Mon Jun 08 16:15:35 2009] [error] [client 127.0.0.1] PHP Notice: Undefined index: nmask in /etc/sysconfig/ha/web/secure/virtual_edit_real_edit.php on line 164, referer: http://localhost:3636/secure/virtual...elected_host=1
[Mon Jun 08 16:15:35 2009] [error] [client 127.0.0.1] PHP Notice: Undefined index: nmask in /etc/sysconfig/ha/web/secure/virtual_edit_real_edit.php on line 165, referer: http://localhost:3636/secure/virtual...elected_host=1

[Mon Jun 08 16:15:35 2009] [error] [client 127.0.0.1] PHP Notice: Undefined index: nmask in /etc/sysconfig/ha/web/secure/virtual_edit_real_edit.php on line 166, referer: http://localhost:3636/secure/virtual...elected_host=1

( There are 10-15 more similar error messages........ )

Is it causing the problem I am encountering? What is this error? Is it supposed to be there?
 
Old 06-10-2009, 03:34 AM   #2
justemail
LQ Newbie
 
Registered: Apr 2009
Posts: 29

Original Poster
Rep: Reputation: 15
I have figured out that ports on VIP are all closed. That is why LVS is not responding. This post is closed.
 
Old 07-01-2009, 03:13 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
Linux Virtual Server (LVS):
Quote:
Linux Virtual Server (LVS) is an advanced load balancing solution for Linux systems. It is an open source project started by Wensong Zhang in May 1998. The mission of the project is to build a high-performance and highly available server for Linux using clustering technology, which provides good scalability, reliability and serviceability.
is probably what OP is talking about.

The OP would be more easily understood & therefore this thread would be much more useful if the link had been included. HTH someone.
 
  


Reply

Tags
vip


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 LVS/TUN support OR alternative web interface for configuring LVS ajitabhpandey Red Hat 0 05-18-2009 09:37 PM
Cannot ping virtual ip addresses (VIP) mixxalot Linux - Networking 3 11-25-2007 01:50 PM
How to Define VIP in Suse Ilya Rabinovich Linux - Networking 1 09-25-2006 02:31 PM
VIP entry into any nightclub alexhen22 Linux - General 1 02-08-2006 11:42 AM
What is the quickest install for VWnc/VIP spider_2004 Linux - Newbie 1 08-29-2004 11:12 AM


All times are GMT -5. The time now is 03:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration