LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Strange problems...

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Strange problems...
From: Jeremy Kerr <kerrj01@xxxxxxxxxxxxx>
Date: Mon, 5 Aug 2002 23:37:38 +0800
> SERVICE=t http 8080 rr 10.80.1.21 10.80.1.22

you've supplied the port twice there (one in text form 'http', one in 
numerical, '8080'), so it thinks rr is the address of a real server

from the lvs docs, the format of the SERVICE line is:

proto port scheduler IP|name:port[,weight] [IP|name:port[weight]]

so I'm guessing you want

SERVICE=t 80 rr 10.80.1.21:8080 10.80.1.22:8080

This should assign your two real server's http processes (listening on port 
8080, right?), to the virtual service on port 80.

If your real servers are listening on port 80, just replace 8080 with 80.

I haven't used the configure script before, so I'm just reading this from the 
docs. So I may be grossy incorrect :D


Jeremy




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