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
|