Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] This ldirectord configuartion is correct?

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


mmontervino at cabal

Apr 29, 2009, 10:07 AM

Post #1 of 2 (573 views)
Permalink
[lvs-users] This ldirectord configuartion is correct?

Could I configure same VIP for different TCP services and different real
server like the file below?

#more ldirectord.cf
logfile="local1"
autoreload = yes
virtual = 10.10.10.1:3389
persistent = 120
protocol = tcp
scheduler = wlc
checkport = 3389
checktype = connect
real = 10.10.10.24:3389 masq 1

virtual = 10.10.10.1:1494
persistent = 120
protocol = tcp
scheduler = wlc
checkport = 1494
checktype = connect
real = 10.10.10.35:1494 masq 1
real = 10.10.10.45:1494 masq 1

Runnig ldirectord RESTART keep the actual session?

Kind regards

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


horms at verge

Apr 29, 2009, 4:59 PM

Post #2 of 2 (525 views)
Permalink
Re: [lvs-users] This ldirectord configuartion is correct? [In reply to]

On Wed, Apr 29, 2009 at 02:07:12PM -0300, Montervino, Mariano wrote:
> Could I configure same VIP for different TCP services and different real
> server like the file below?

Yes, that looks like it should work.

> #more ldirectord.cf
> logfile="local1"
> autoreload = yes
> virtual = 10.10.10.1:3389
> persistent = 120
> protocol = tcp
> scheduler = wlc
> checkport = 3389
> checktype = connect
> real = 10.10.10.24:3389 masq 1
>
> virtual = 10.10.10.1:1494
> persistent = 120
> protocol = tcp
> scheduler = wlc
> checkport = 1494
> checktype = connect
> real = 10.10.10.35:1494 masq 1
> real = 10.10.10.45:1494 masq 1
>
> Runnig ldirectord RESTART keep the actual session?

No, generally speaking sessions may be lost on restart.

--
Simon Horman
VA Linux Systems Japan K.K. Satellite Lab in Sydney, Australia
H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.