/ Zope / Apsis / Pound Mailing List / Archive / 2005 / 2005-06 / detecting state of backends

[ << ] [ >> ]

[ X-Forwarded-For header / "Dean" ... ] [ detecting state of backends, priority of new ... ]

detecting state of backends
James Billson <james.billson(at)cim.com.au>
2005-06-30 09:59:51 [ FULL ]
Hi all,
we have been messing with Pound for a while but finally managed to
get enough time to implement it on our intranet/mis web servers and
its generally working well.  I have what I hope is an easy question
that I thought I'd find in the documentation but haven't.
Is it possible to specify some sort of test for each backend so that
if a backend is not returning the right results it gets left out of
the pool. E.g. a page is specified that has to return "OK" and this is
pulled up every 2 minutes automatically? I realise that if the
unstable machine is unplugged or shutdown that Pound can work this
out, but this is rarely the case in our setup, its more likely the
machine will become overloaded for some other reason and not return
the correct results.
Any tips on how to configure this kind of thing would be great.
thanks
JMB

James Billson, james.billson(at)cim.com.au
Managing Director
Commercial Interactive Media (CIM) - www.cim.com.au
Delivering smart e-solutions for real business
Tel: + 61 3 9419 4900
Fax: + 61 3 9419 4149

skype me <callto://james_billson>callto://james_billson

The information contained in this email message may be confidential, and 
may also be the subject of privileged or public interest immunity. If you 
are not the intended recipient, any use, disclosure or reproduction of this 
document is unauthorised. If you have received this email in error, please 
notify me by email. Before opening or using attachments, check them for 
viruses and defects. Our liability is limited to resupplying any affected 
attachments

Re: [Pound Mailing List] detecting state of backends
Sascha Ottolski <sascha.ottolski(at)gallileus.de>
2005-06-30 10:38:56 [ FULL ]
Am Donnerstag, 30. Juni 2005 09:59 schrieb James Billson:[...]

man pound

"BackEnd address,port,priority[,ha_port]
Specify  a backend server: address and port. Priority is 1 to 9 and defines a 
weighting - higher priority servers get used more often. May only be used in 
an UrlGroup directive. If no servers are specified, then the specified URLs 
will be simply blocked."

and

"The  ha_port  parameter  specifies  an  additional port that is used only for 
viability checks: if this port is specified in a BackEnd directive, Pound 
will attempt periodically (every Alive seconds) to connect to this port. If 
the port does not respond the server is considered dead."


Cheers, Sascha
[...]

MailBoxer