3 ms·
Does Varnish run on all four machines on the off chance they will claim the IP, or does it come up when needed? When a machine becomes the Varnish server, does
by crb 14y ago
Does Varnish run on all four machines on the off chance they will claim the IP, or does it come up when needed?
When a machine becomes the Varnish server, does it stop being an Apache server? What port do you run Apache on?
- stevekemp 14y agoApache runs on all hosts, on port 8080. It cannot run on the loopback adapter, because it has to be externally visible to the varnish instance which is running and listening on the floating IP. (However it is firewalled such that it is only accessible within the VLAN.) The floating IP is implemented via ucarp, and when a host becomes the master pound and varnish are both started automatically. (They should be stopped when a machine loses the master-IP, but this is not currently done.)