LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Multiple VIP Setup

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Multiple VIP Setup
From: James Bourne <james@xxxxxxxxxxxxxx>
Date: Mon, 23 Jun 2003 17:44:20 +1000
I want to setup multiple VIPs using LVS-DR (for SSL virtual hosting). I'm stuck on general setup ...

Sample haresources (obviously this only sets up a single interface alias and gratuitous arp - do I need two lines here?):

director00.domain.com IPaddr::10.10.2.128 ldirectord::/path/to/ldirectord.conf

Sample from ldirectord.conf (this works fine):

virtual = 10.10.2.128:443
       real            =       10.10.2.20:443 gate
       real            =       10.10.2.21:443 gate
       service         =       https
       scheduler       =       wrr
       protocol        =       tcp
       checktype       =       negotiate
       persistent      =       60
       netmask         =       255.255.255.255

virtual = 10.10.2.129:443
       real            =       10.10.2.20:443 gate
       real            =       10.10.2.21:443 gate
       service         =       https
       scheduler       =       wrr
       protocol        =       tcp
       checktype       =       negotiate
       persistent      =       60
       netmask         =       255.255.255.255

I also assume I need multiple loopback aliases on each real server ...

Thanks in advance!

James

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