Hi,
Interesting project, but documentationless (eg. poolname directive is required but not in docs) :>
Why my slbd switch to sitedown after start?
What means: *vip* (host running slbd?), *sitedown* (host used when slbd can't connect to services?) and *services* (servers pool?)?
This is my log:
---
slbd[35693]: Using r_refresh of 15000 milliseconds
slbd[35693]: Using configuration file /usr/local/etc/slbdcap
slbd[35693]: VIP 10.10.74.74:443 configured as "10.10.74.74"
slbd[35693]: VIP 10.10.74.74:443 sitedown at 10.10.8.250:443
slbd[35693]: VIP 10.10.74.74:443 added real service 10.10.0.74:443
slbd[35693]: VIP 10.10.74.74:443 added real service 10.10.0.19:443
slbd[35693]: Switching to sitedown for VIP 10.10.74.74:443
---
And my slbdcap:
---
https|skr:\
:vip=10.10.74.74:\
:vip-port=443:\
:sitedown=10.10.8.250:\
:method=round-robin:\
:sitedown-port=443:\
:service-port=443:\
:services=2:\
:0=10.10.0.74:\
:1=10.10.0.19:\
:poolname=skr:
---
Is this correct?
Is it possible to manipulate r_refresh parameter other way than modify sources?
I'm using slbd 1.3 at FreeBSD 6.1-RELEASE-p10 (from ports).
guzik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You might want to drop an email to the current maintainer. I've moved on
from my previous career, but my name is still on the website.
"sitedown" means that slbd can't contact the server that it is polling.
Also, use telnet or netcat or something to make sure you can reach the real
service from the computer running slbd. That was the problem I found most
frequently - sometimes it was just that my slbd machine couldn't connect to
the real web server.
Good luck.
Jon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
(From Bill Marquette)
On 12/7/06, Bartłomiej Syryjczyk <bsyryjczyk@kamsoft.eu> wrote:
> Hi,
> Interesting project, but documentationless (eg. poolname directive is
> required but not in docs) :>
Yeah, I think I noticed that and wondered why. The config file syntax
isn't exactly my favorite.
> Why my slbd switch to sitedown after start?
Based on your config, you're missing a polling method. Check out the
slbdcap file in the conf directory for examples.
> What means: *vip* (host running slbd?), *sitedown* (host used when slbd
vip == Virtual IP
sitedown == fallback server, the host to use as last resort
> can't connect to services?) and *services* (servers pool?)?
services is the number of servers, 2 in your example
> Is it possible to manipulate r_refresh parameter other way than modify
> sources?
-r command line option
> I'm using slbd 1.3 at FreeBSD 6.1-RELEASE-p10 (from ports).
Nice, wasn't aware there was a port. Thanks, I'll update the web site
to point people to the port in FreeBSD.
--Bill
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Interesting project, but documentationless (eg. poolname directive is required but not in docs) :>
Why my slbd switch to sitedown after start?
What means: *vip* (host running slbd?), *sitedown* (host used when slbd can't connect to services?) and *services* (servers pool?)?
This is my log:
---
slbd[35693]: Using r_refresh of 15000 milliseconds
slbd[35693]: Using configuration file /usr/local/etc/slbdcap
slbd[35693]: VIP 10.10.74.74:443 configured as "10.10.74.74"
slbd[35693]: VIP 10.10.74.74:443 sitedown at 10.10.8.250:443
slbd[35693]: VIP 10.10.74.74:443 added real service 10.10.0.74:443
slbd[35693]: VIP 10.10.74.74:443 added real service 10.10.0.19:443
slbd[35693]: Switching to sitedown for VIP 10.10.74.74:443
---
And my slbdcap:
---
https|skr:\
:vip=10.10.74.74:\
:vip-port=443:\
:sitedown=10.10.8.250:\
:method=round-robin:\
:sitedown-port=443:\
:service-port=443:\
:services=2:\
:0=10.10.0.74:\
:1=10.10.0.19:\
:poolname=skr:
---
Is this correct?
Is it possible to manipulate r_refresh parameter other way than modify sources?
I'm using slbd 1.3 at FreeBSD 6.1-RELEASE-p10 (from ports).
guzik
(From Jonathan Keim)
Hello there,
You might want to drop an email to the current maintainer. I've moved on
from my previous career, but my name is still on the website.
"sitedown" means that slbd can't contact the server that it is polling.
Also, use telnet or netcat or something to make sure you can reach the real
service from the computer running slbd. That was the problem I found most
frequently - sometimes it was just that my slbd machine couldn't connect to
the real web server.
Good luck.
Jon
(From Bill Marquette)
On 12/7/06, Bartłomiej Syryjczyk <bsyryjczyk@kamsoft.eu> wrote:
> Hi,
> Interesting project, but documentationless (eg. poolname directive is
> required but not in docs) :>
Yeah, I think I noticed that and wondered why. The config file syntax
isn't exactly my favorite.
> Why my slbd switch to sitedown after start?
Based on your config, you're missing a polling method. Check out the
slbdcap file in the conf directory for examples.
> What means: *vip* (host running slbd?), *sitedown* (host used when slbd
vip == Virtual IP
sitedown == fallback server, the host to use as last resort
> can't connect to services?) and *services* (servers pool?)?
services is the number of servers, 2 in your example
> Is it possible to manipulate r_refresh parameter other way than modify
> sources?
-r command line option
> I'm using slbd 1.3 at FreeBSD 6.1-RELEASE-p10 (from ports).
Nice, wasn't aware there was a port. Thanks, I'll update the web site
to point people to the port in FreeBSD.
--Bill