Emilio,
You seem to understand that you need to use HAport and you're correct. The
HAport directive only checks for the existence of a open or closed port. If the
port is closed, the BackEnd is considered dead. For example, let's say your
configuration file looks like this:
Service
BackEnd
Address 192.168.x.x
Port 80
HAport 192.168.x.x 8080
End
End
Every 'Alive' seconds Pound will check for a open port on 192.168.x.x:8080. The
state of the HAport should be controlled by an intelligent application or
script. Your program can do something as simple as GET or it might actually
being doing intelligent business logic to determine if a BackEnd should be
removed. Depending on your skill set and time frame you may want to look at
Python as your 'HAport' control language. It supports socket, url handling and
many other useful modules and classes to quickly make a robust application.
That being said, it is out of scope for Pound to do error handling at the level
you're concerned with. The HAport directive powered by an intelligent
application is the way to go.
Thanks,
Chris
-----Original Message-----
From: Emilio Campos [mailto:[email protected]]
Sent: Thursday, April 08, 2010 5:23 AM
To: [email protected]
Subject: [Pound Mailing List] scripts for check backends status
Hi , one question.
I would like to know if I can use a directive in pound to do a check url
to backend for check better the backend status, actually i know that pound
check only backend ports, no backend service status with a GET for example.
Is it for new versions? Is it implemented?
Thanks
--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.
________________________________
This e-mail message, including any attachments, from Verrus Mobile Technologies
Inc. or Verrus UK Limited (collectively, "Verrus") is confidential and for the
personal use of the recipient(s) identified above. This message may also be
legally privileged. If it is not intended for you, do not disclose, copy or
distribute the message but delete it immediately and notify the sender by
e-mail or telephone +1 866 783 7787 or +44 1453 760000 (UK).
Any views or opinions expressed in this message are those of the author and not
necessarily those of Verrus. The message shall not form part of any legally
binding contract or obligation.
Verrus electronic communication systems are monitored without user consent to:
investigate or to detect unauthorized use; prevent or detect crime; establish
the existence of facts relevant to Verrus; or ascertain compliance with
regulatory practices relevant to the business of Verrus.
This e-mail has been scanned for viruses by a third party e-mail management
provider. Verrus cannot accept liability for any damage which you may suffer as
a result of virus infection. We recommend that you carry out your own virus
checks before opening any attachment.
--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.