Welcome! Log In Create A New Profile

Advanced

Re: Heart beat

September 08, 2009 05:26PM
> Does anyone know how to implement heart beat when using Nginx for load balancing between web servers?

AFAIK heartbeat is just to make sure a daemon is running (and acting
upon the reply), but i'm often wrong.

> Ideally I would like it to work, so that it checks the content for a web page and if that is not correct then the server is dropped out from the load balancer.

So it's kind of like making sure all servers are up to date on their
contents and cache? I don't know about nginx proper, but you could use
cron, wget, some (perl?) scripting... especially if you can target
specific (worker) processes. Otherwise i'm not sure how could you tell
nginx (or other daemons) what "correct content" is.

Just a layman's suggestion...

--
() ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\ ascii ribbon campaign - against html e-mail
Subject Author Posted

Heart beat

ojaro September 08, 2009 05:08PM

Re: Heart beat

vesperto September 08, 2009 05:26PM

Re: Heart beat

ojaro September 08, 2009 06:22PM

Re: Heart beat

vesperto September 08, 2009 06:36PM

Re: Heart beat

James Litton September 18, 2009 03:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 59
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready