Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.