<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Century Gothic";
panose-1:2 11 5 2 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Century Gothic","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>I’ve
looked all over for information on how to configure varnish to use a VIP and
have not been able to find much – so I’m hoping someone here can
assist.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Our
setup goes like this: Hardware Loadbalancer (sticky sessions enabled) with one VIP(perf-drupal.domain.com)
directs to three Apache identical webservers (each running Varnish – (perf-drupal1.domain.com,
perf-drupal2.domain.com & perf-drupal3.domain.com)). With the VCL that we
currently have, it works like a charm on each individual server, but when we
try to use the VIP we get errors (50% of the time) when trying to access the
site, stating that it is not available. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>I’ve
tried:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>backend
newsite {<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>
.host = "localhost";<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>
.port = "8080";<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>}<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>set
req.http.host = "perf-drupal.domain.com";<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>set
req.backend = newsite;<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>and
using the default backend:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>backend
default {<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>
.host = "127.0.0.1";<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>
.port = "8080";<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>}<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>I’ve
read about the DNS Director, but that’s not available in the version I
have installed - 2.1.3. But since we are only running one site, I don’t
know if it will help. I don’t have access to any additional hardware, so I
cannot split out Varnish from the Apache web server. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'>Any
assistance would be greatly appreciated! </span><span style='font-family:
Wingdings'>J</span><span style='font-family:"Century Gothic","sans-serif"'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-family:"Century Gothic","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Century Gothic","sans-serif";
color:purple'>Candace Copper</span><span style='font-size:12.0pt;font-family:
"Times New Roman","serif";color:black'> <br>
<br>
</span><span style='font-size:12.0pt;font-family:"Century Gothic","sans-serif";
color:black'><o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>