LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   LVS - VIP Seems to be NOT Responding! (https://www.linuxquestions.org/questions/linux-networking-3/lvs-vip-seems-to-be-not-responding-731514/)

justemail 06-08-2009 05:38 PM

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?

justemail 06-10-2009 03:34 AM

I have figured out that ports on VIP are all closed. That is why LVS is not responding. This post is closed.

archtoad6 07-01-2009 03:13 AM

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.


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