Https with configure 0.8

Andy Erickson andy at emji.net
Mon Jun 26 16:10:35 BST 2000


still getting the same problem. here is the config file and the ipvs table

#----------lvs_dr.conf----------------------------------------
LVSCONF_FORMAT=1.0
LVS_TYPE=VS_DR
INITIAL_STATE=on
CLEAR_IPVS_TABLES=no
VIP=eth0:110 207.100.37.10 255.255.255.255 207.100.37.10
DIRECTOR_INSIDEIP=eth0 207.100.37.2 255.255.255.0 207.100.37.255
#no default gw for director with VS-DR or VS-Tun
#DIRECTOR_GW=
#SERVICE=t telnet rr sneezy bashfull
SERVICE=t http rr 207.100.37.3:80 207.100.37.4:80 207.100.37.5:80
SERVICE=t https rr 207.100.37.3:443 207.100.37.4:443 207.100.37.5:443
SERVER_VIP_DEVICE=lo:110
SERVER_NET_DEVICE=eth0
SERVER_GW=207.100.37.1
#----------end lvs_dr.conf------------------------------------


the table

IP Virtual Server version 1.0.8 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port             Forward Weight ActiveConn InActConn
TCP  207.100.37.10:0 rr persistent 360
  -> lvsrs1.emji.net:0              Route   1      0          0
TCP  207.100.37.10:www rr
  -> lvsrs3.emji.net:www            Route   1      0          0
  -> lvsrs2.emji.net:www            Route   1      0          0
  -> lvsrs1.emji.net:www            Route   1      0          0

Thanks for any help
Andy

--On Thursday, June 21, 2001 3:12 PM -0400 Joseph Mack 
<mack.joseph at epa.gov> wrote:

> Andy Erickson wrote:
>>
>> I have one more problem for the group. When I use the configure script to
>> add the https service for three lvs-dr servers. Only the first server
>> gets added to the table. Here is the lvs_dr.conf.443 script I am using.
>>
>> #----------lvs_dr.conf----------------------------------------
>> LVSCONF_FORMAT=1.0
>> LVS_TYPE=VS_DR
>> INITIAL_STATE=on
>> CLEAR_IPVS_TABLES=no
>> VIP=eth0:443 207.100.37.10 255.255.255.255 207.100.37.10
>            ^^^
> I think this has to be a number 0-255.
> I use the last part of the quad of the VIP, just so I don't have a name
> space collision and can have multiple independant VIPs.
>
>> DIRECTOR_INSIDEIP=eth0 207.100.37.2 255.255.255.0 207.100.37.255
>> #no default gw for director with VS-DR or VS-Tun
>> #DIRECTOR_GW=
>> #SERVICE=t telnet rr sneezy bashfull
>> #SERVICE=t ftp rr sneezy bashfull
>> SERVICE=t https rr 207.100.37.3 207.100.37.4 207.100.37.5
>> SERVER_VIP_DEVICE=lo:443
>                        ^^^
> same here
>
>> SERVER_NET_DEVICE=eth0
>> SERVER_GW=207.100.37.1
>> #----------end lvs_dr.conf------------------------------------
>
> otherwise looks OK. Let's see if the problem persists after fixing the lo
> device.
>
> Joe
>
> --
> Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
> contractor to the National Environmental Supercomputer Center,
> mailto:mack.joseph at epa.gov ph# 919-541-0007, RTP, NC, USA






More information about the lvs-users mailing list