Problem setting up lvs

Colin Bruce ccx004 at coventry.ac.uk
Fri Jul 2 23:35:17 BST 2004


Dear Todd,

Well that explains it. Thanks for that. ipvsadm complains if it isn't
persistent if there is no port specified. I thought it referred to sessions
only (e.g. a web connection) but I guess that would be impossible to
implement when I think about it. I guess then if a number of different
services are being offered they should be specified individually rather
than using the ":0" to say all services because that option requires the
-p.

Best wishes....
Colin

On Fri, 2 Jul 2004, Todd Lyons wrote:

> Colin Bruce wanted us to know:
>
> >ipvsadm -ln
> >    IP Virtual Server version 1.0.11 (size=4096)
> >    Prot LocalAddress:Port Scheduler Flags
> >      -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> >    TCP  192.168.255.17:0 rr persistent 360
>
>    -p, --persistent [timeout]
>           Specify that a virtual service is persistent. If this option  is
>           specified, multiple requests from a client are redirected to the
>           same real server selected for the  first  request.
>
> >      -> 192.168.255.26:0             Route   1      4          4
> >      -> 192.168.255.28:0             Route   1      0          0
>
> And that's what it's doing.
> --



More information about the lvs-users mailing list