LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Maxium number of VIP's per physical interface.

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Maxium number of VIP's per physical interface.
From: Mike Radomski <Mike.Radomski@xxxxxxxxxxxxxxxxxx>
Date: Tue, 07 Oct 2003 12:15:22 -0400
On 10/6/03 3:56 PM, "Peter Mueller" <pmueller@xxxxxxxxxxxx> wrote:

>> If you post in ascii, rather than html, then my mail client will put it into
>> the reply.
>> 
> Yes please, thank you!
> 
>> I don't think there's any limit to the number of IPs on any NIC. However
>> support for ethernet aliases (eg eth0:5) is not good in 2.4.x kernels and
>> most tools expect you to be using the iproute2 tools instead.
>> 
> I'm sure there's a limit, but not one most people are going to run into and
> certainly at least in the hundreds :).
> 
> Can you post your ldirectord.conf and haresources file?
> 

#
#        /etc/ha.d/haresources
#

buflvs02 IPaddr::136.223.18.180/24 ldirectord::ldirectord.cf
buflvs02 IPaddr::136.223.18.181/24 ldirectord::ldirectord.cf
buflvs02 IPaddr::136.223.18.182/24 ldirectord::ldirectord.cf
buflvs02 IPaddr::136.223.18.23/24 ldirectord::ldirectord.cf
buflvs02 IPaddr::136.223.18.140/24 ldirectord::ldirectord.cf
buflvs02 IPaddr::136.223.18.141/24 ldirectord::ldirectord.cf

# /etc/ha.cf/ldirectord.cf
#Global Directives
checktimeout=3
checkinterval=1
autoreload=yes

#SLN Virtual Server for HTTP(http://sln.suny.edu)
virtual=136.223.18.180:80
        real=136.223.18.184:80 gate 5
        real=136.223.18.185:80 gate 5
        real=136.223.18.186:80 gate 5
        service=http
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800


#SLN Virtual Server for HTTPS(https:/sln.suny.edu)
virtual=136.223.18.180:443
        real=136.223.18.184:443 gate 5
        real=136.223.18.185:443 gate 5
        real=136.223.18.186:443 gate 5
        service=https
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800

#SLN Virtual Server for MAIL(http://mail.sln.suny.edu)
virtual=136.223.18.181:80
        real=136.223.18.172:80 gate 5
        real=136.223.18.173:80 gate 5
        service=http
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800

#Coursespace Virtual Server for http(http://coursespace.suny.edu)
virtual=136.223.18.23:80
        real=136.223.18.21:80 gate 5
        real=136.223.18.22:80 gate 5
        request="alive.html"
        receive="alive"
        scheduler=wlc
        persistent=1800

#Coursespace Virtual Server for https(https://coursespace.suny.edu)
virtual=136.223.18.23:443
        real=136.223.18.21:443 gate 5
        real=136.223.18.22:443 gate 5
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800

#Appdev Virtual Server for appdev(http://appdev.sln.suny.edu)
virtual=136.223.18.182:80
        real=136.223.18.168:80 gate 5
        real=136.223.18.169:80 gate 5
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800

#Appdev Virtual Server for appdev https(https://appdev.sln.suny.edu)
virtual=136.223.18.182:443
        real=136.223.18.168:443 gate 5
        real=136.223.18.169:443 gate 5
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800

#NCCC Virtual Server for inb http(http://inb.sln.suny.edu:20000)
virtual=136.223.18.140:20000
        real=136.223.18.136:20000 gate 5
        real=136.223.18.137:20000 gate 5
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800

#NCCC Virtual Server for inb http(http://inb.sln.suny.edu:30000)
virtual=136.223.18.140:30000
        real=136.223.18.136:30000 gate 5
        real=136.223.18.137:30000 gate 5
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800

#NCCC Virtual Server for inb http(http://inb.sln.suny.edu:40000)
virtual=136.223.18.140:40000
        real=136.223.18.136:40000 gate 5
        real=136.223.18.137:40000 gate 5
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800

#NCCC Virtual Server for inb http(http://inb.sln.suny.edu:50000)
virtual=136.223.18.140:50000
        real=136.223.18.136:50000 gate 5
        real=136.223.18.137:50000 gate 5
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800

#NCCC Virtual Server for web4 http(http://inb.sln.suny.edu:20003)
virtual=136.223.18.141:20003
        real=136.223.18.136:20003 gate 5
        real=136.223.18.137:20003 gate 5
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800

#NCCC Virtual Server for web4 http(http://inb.sln.suny.edu:30003)
virtual=136.223.18.141:30003
        real=136.223.18.136:30003 gate 5
        real=136.223.18.137:30003 gate 5
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800

#NCCC Virtual Server for web4 http(http://inb.sln.suny.edu:40003)
virtual=136.223.18.141:40003
        real=136.223.18.136:40003 gate 5
        real=136.223.18.137:40003 gate 5
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800

#NCCC Virtual Server for web4 http(http://inb.sln.suny.edu:50003)
virtual=136.223.18.141:50003
        real=136.223.18.136:50003 gate 5
        real=136.223.18.137:50003 gate 5
        request="alive.html"
        receive="alive"
        scheduler=wlc
        protocol=tcp
        persistent=1800




-- 
Mike Radomski

SUNY - ITEC
Information Technology Exchange Center
Systems Programmer/Analyst
E-mail: Mike.Radomski@xxxxxxxxxxxxxxxxxx
Systems E-Mail: scsys@xxxxxxxxxxxxxxxxxx
Phone: (716)878-4832
Cellular: (716)807-4040
Fax: (716)878-3485

There are only 10 types of people...
Those who understand binary and those who don't.

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