LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: More help....

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: More help....
Cc: list@xxxxxxxxxxxxxx
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Fri, 27 Apr 2001 07:30:16 -0400
Tom Brown wrote:
> 
> Hi,
> 
> When i run the rc.lvs_nat script i get the following errors although the LVS
> box does seem to be balancing http traffic.
> 
> Error: executable fping not found
> Error: executable ntpd not found
> Error: executable ip not found
> Error: executable iptables not found

This is a problem in my script. I've been over enthusiastic
about making sure that all executables are found before
the script starts. I'll fix this for the next version.
You'll get an rc.lvs_xxx file whether or not you have these
errors, but it will not run if critical files aren't
found. In your case it seems to have run.
 
> What i basically want is only HTTP traffic and HTTPS to be balanced and all
> other services to be externally routable. All boxes are redhat 6.2 on the
> 2.2.19 kernel and the single LVS box is running ipvs-1.0.7-2.2.19.
> 
> My lvs_nat.conf looks like this...
> 
> #----------lvs_nat.conf------------------------------------
> LVSCONF_FORMAT=1.0
> LVS_TYPE=VS_NAT
> INITIAL_STATE=on
> CLEAR_IPVS_TABLES=yes
> VIP=eth0 192.168.1.211 255.255.255.0 195.168.1.155
> DIRECTOR_INSIDEIP=eth1 192.168.15.1 255.255.255.0 192.168.15.255
> DIRECTOR_GW=192.168.1.254
> #SERVICE=t ftp rr 192.168.15.2:ftp 192.168.15.3:ftp
> #SERVICE=t 40 rr 192.168.15.2:telnet 192.168.15.3:telnet
> #SERVICE=t netpipe rr 192.168.15.2:netpipe 192.168.15.3:netpipe
> SERVICE=t http rr :http 192.168.15.3:http
> SERVICE=t https rr 192.168.15.2:https 192.168.15.3:https
> SERVER_NET_DEVICE=eth0
> #no server vip device for real-server for VS-NAT
> #SERVER_VIP_DEVICE=
> #no default gw for real-server with VS-NAT
> #SERVER_GW=
> #----------end lvs_nat.conf---------------------------------
> 
> Is this possible so telnet and ftp can bypass the LVS? If so how?

Do you mean that you want to telnet directly to the real-servers
eg to 192.168.15.2

That should be possible whether or not you have telnet as an LVS'ed
service.

Joe

-- 
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center, 
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA


<Prev in Thread] Current Thread [Next in Thread>