<br><br><div class="gmail_quote">On Wed, Jan 18, 2012 at 1:59 PM, Ranjith Rajaram <span dir="ltr"><<a href="mailto:rrajaram@redhat.com">rrajaram@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div bgcolor="#ffffff" text="#000000"><div class="im">
<br>
<br>
On 01/18/2012 07:22 PM, Khapare Joshi wrote:
<blockquote type="cite">
Hi, all,<br>
<br>
first time poster. I recently deployed lvs (primary and backup)
with piranh and ran into few issues. I turned off the primary lvs
to see backup lvs will take over. However it does not take over
right a way seem require restart pulse. How does this fail over
works if primary goes down ? should not this be happen right a way
if primary lvs goes down ?<br>
</blockquote></div>
If primary goes, secondary has to take it over<br>
<br>
It depends on deadtime<br>
<br>
deadtime = n<br>
Length of time before a node is declared dead and IP
takeover occurs.<br>
<br>
<a href="http://lvs.cf" target="_blank">lvs.cf</a> needs to be checked together with system configuration. Look
at /var/log/messages<div class="im"><br>
<br>
<br>
I configured these parameter as this :<br></div></div></blockquote><div><table><tbody><tr><td>Heartbeat interval (seconds):</td>
<td><input name="hb_interval" size="5" value="2" type="TEXT">
</td>
</tr>
<tr>
<td>Assume dead after (seconds):</td>
<td><input name="dead_after" size="5" value="10" type="TEXT"> </td>
</tr>
<tr>
<td>Heartbeat runs on port:</td>
<td><input name="hb_port" size="5" value="539" type="TEXT"> </td>
</tr>
<tr>
<td>Monitor NIC links for failures:</td>
<td><input name="monitor_links" checked type="checkbox"> </td>
</tr>
<tr>
<td>Syncdaemon:</td>
<td><input name="syncdaemon" checked type="checkbox"></td></tr></tbody></table><br>and copied <a href="http://lvs.cf">lvs.cf</a> to redudant server as well. <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#ffffff" text="#000000"><div class="im">
<br>
<blockquote type="cite">
<br>
And I have four real server- and it sees if one goes down whole
system is unavailable (httpd service). Then I restart pulse and
get the httpd service. I do not think this is right. could be
please guide me in right direction to make reliable.<br>
<br>
</blockquote>
<br></div>
Do you have separate boxes for LVS directors and real server's ?
[Are you running pulse on any of the two real server's ?]<br></div></blockquote><div><br>I have two servers for lvs i.e lvs1 lvs2 and configured using piranha tool. I started pulse on these two machines. Rest of other four server I only started httpd not the pulse <br>
</div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#ffffff" text="#000000">
<br>
check the output of ipvsadm -L -n from the active lvs server [paste
it here]<br>
<br>
<br>
<blockquote type="cite"><div class="im">PS: I use direct routing and have <br>
<br>
net.ipv4.conf.lo.arp_ignore = 1<br>
net.ipv4.conf.lo.arp_announce = 2<br>
<br>
in /etc/sysctl.conf<br>
<br>
sorry for too many question.<br>
<br>
Thanks
</div><pre><fieldset></fieldset>
_______________________________________________
Piranha-list mailing list
<a href="mailto:Piranha-list@redhat.com" target="_blank">Piranha-list@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/piranha-list" target="_blank">https://www.redhat.com/mailman/listinfo/piranha-list</a></pre>
</blockquote>
<br>
<pre cols="72"></pre>
</div>
<br>_______________________________________________<br>
Piranha-list mailing list<br>
<a href="mailto:Piranha-list@redhat.com">Piranha-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/piranha-list" target="_blank">https://www.redhat.com/mailman/listinfo/piranha-list</a><br></blockquote></div><br>