Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We use the Varnish HTTP accelerator, and heartbeat. It would be good to have heartbeat aware of varnish so it can handle moving IPs and starting up varnish as one service and ensure that the route through from the outside works

Does anyone know of a good resource file for varnish to do this?

share|improve this question
up vote 0 down vote accepted

What exactly should heartbeat do to varnish when migrated? Usually you start varnish at boot time, and it will wait patiently until it's being put to work because heartbeat moved the ip to that specific machine. Varnish is usually pretty stateless (unlike say, mysql or some clustered filesystem with read-only nodes), and if you only want to start it upon activating a certain cluster node, the LSB scripts should do the trick.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.