Re: Ultra Monkey load balancing configuration problems -- please help.

"D. Dante Lorenso" <[email protected]>
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
Roxana Diaconescu wrote:
> So, it looks like commenting out the
> #checktype=connect
> line works for this.

Maybe your weights are going to 0 because your check fails?  Have you 
tried to connect to the service on Real Server and verify that the 
connection can be made from the LB?

> 1) However, the question still remains: how to add custom checks for
> non-standard service?
You original request wanted to run a web service on a custom port.  I 
think this will work for you:

virtual=192.168.x.y:80
    virtualhost="www.domain.com"
    real=...
    real=...
    real=...
    ...
    checkport=80
    checktype=negotiate
    request="/index.htm"
    receive="html"
    service=http
    protocol=tcp

> 2) Another question: I want my real servers to listen on different 
> ports. E.g.:
>
> real=192.168.141.131:8001 gate
> real=192.168.141.132:8002 gate

You can specify a different port to check using:

    checkport=8001

But I think all real servers must be checkable on the same port.

Dante


-- 
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.