<span style>Hi all.</span><div style><br></div><div style>I'd like to determine if it's possible, via hack or otherwise, to preferentially round robin 'collections' of backends.</div><div style><br></div><div style>
For context:</div><div style><br></div><div style>We run services in EC2.</div><div style><br></div><div style>We have 3 web heads, one per availability zone (a,b,c)</div><div style><br></div><div style>For one of our services we have 9 backends, 3 per availability zone (1a,2a,3a,1b,2b,3b,1c,2c,3c).</div>
<div style><br></div><div style>All varnish instances know about all backends.</div><div style><br></div><div style>What I'd like to do is have to have each varnish web head in each availability zone round robin healthy backends in the same AZ, only "falling back" to web services in another AZ in the event of all services being sick.</div>
<div style><br></div><div style>Ie Varnish in AZ 1 round robins 1a,2a,3a, but can fall back to 1b,2b,3b,1c,2c,3c in the event of sickness, and so forth.</div><div style><br></div><div style>Any advice gratefully received!</div>
<div style><br></div><div style>Kind Regards,</div><div style><br></div><div style>Neil Saunders.</div>