<div>Hi David.</div>
<div> </div>
<div>I tested the below scenario with 3.0.5 version</div>
<div> </div>
<div>Pool range of 192.168.10.10 to 192.168.10.50 as soon as i enabled the failover with split 255 and started the dhcpd service, in the syslog messages the state of the servers turned to normal with "free=21 and backup =20"</div>
<div> </div>
<div> Meanwhile in the primary & secondary lease file was updated with the ip address from 192.168.10.31 to 192.168.10.50 with binding state as backup.</div>
<div> </div>
<div><strong>Question :</strong> should both the servers be updated with free state as well isn't it ? why it is not happening ?</div>
<div> </div>
<div> I then simulated the 31 clients to send a discover, and as expected all offer were given by primary and acknowledged , at this point the syslog was reading "free=4 and backup=5 "<br></div>
<div> i tried to check the ipaddress in free state and backup which where not allocated so far and those are.</div>
<div> </div>
<div><strong>free:</strong></div>
<div>192.168.10.10, 192.168.10.12, 192.168.10.37, 192.168.10.38</div>
<div> </div>
<div><strong>Backup:</strong></div>
<div>192.168.10.32,192.168.10.33,192.168.10.34,192.168.10.35,192.168.10.36</div>
<div> </div>
<div>Now at this state i stopped the service in primary and made my state partner-down in the secondary. (at this time STOS for secondary was 08:09:30, configured mclt was 100)</div>
<div> </div>
<div>again i simulated 40 clients after 8Hr:11min:10sec (STOS +MCLT) what i observed is the secondary offered only 36 clients discover and discarding the rest. </div>
<div> </div>
<div>when i checked what all ip's was not offered and it was all the IP i mentioned in free: 192.168.10.10, 192.168.10.12, 192.168.10.37, 192.168.10.38 </div>
<div> </div>
<div><strong>Question:</strong></div>
<div>why the lease in "free=4" state are not allocated by secondary even after STOS+MCLT expired. should it allocate or not ?</div>
<div>Secondary renewed the lease that are already allocated by primary, it's confusing if it can renew the primary allocated lease why not the ip address from free state to new clients ?</div>
<div> </div>
<div>Can you please let me know is this the expected behavior from the failover scenario?</div>
<div> </div>
<div>Regards</div>
<div>Pat</div>
<div> </div>
<div><br></div>
<div class="gmail_quote">On Wed, Jul 8, 2009 at 1:20 AM, Nicholas F Miller <span dir="ltr"><<a href="mailto:Nicholas.Miller@colorado.edu">Nicholas.Miller@colorado.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I have a question about failover behavior. If one of the DHCP servers goes offline does the server that is still up handle the existing leases for the down server? I know the server that is still up cannot offer leases from the downed server's free leases pool. But when a client, with an existing lease from the down server, asks to renew the lease will the server that is still up handle the renewal?<br>
_________________________________________________________<br>Nicholas Miller, ITS, University of Colorado at Boulder
<div>
<div></div>
<div class="h5"><br><br><br><br>On Jul 7, 2009, at 12:04 PM, David W. Hankins wrote:<br><br></div></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="h5">On Tue, Jul 07, 2009 at 04:49:54PM +0530, pat wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">What will be the time to expire before my secondary responds to all the<br>clients request?<br></blockquote>
<br>Load balancing is only engaged in 'normal' state. In all other<br>operating states, the server will always answer as best it can.<br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">is it 00hr:09min:41sec + 1800 sec = 00hr:39min:41sec so my secondary server<br>will wait for 39min and 41 sec before answering all my clients request.<br>
<br>how do i calculate the STOS+MCLT time.<br></blockquote><br>You got this right. This time effectively determines when the<br>partner's free lease pool will be available for allocation to new<br>clients, although this is actually a case-by-case basis on each<br>
individual lease. The actual time is TSFP+MCLT or STOS+MCLT,<br>whichever is further in the future. Generally free leases have a<br>TSFP that is in the past, so STOS+MCLT is the effective measure.<br><br>However, expired leases, or leases reaching expiry, may have a<br>
TSFP that is still in the future (the TSFP lags ahead of lease<br>expiration so that leases may be extended to lease-times greater<br>than MCLT).<br><br>STOS+MCLT doesn't affect LBA.<br><br>-- <br>David W. Hankins "If you don't do it right the first time,<br>
Software Engineer you'll just have to do it again."<br>Internet Systems Consortium, Inc. -- Jack T. Hankins<br></div></div>
<div class="im">_______________________________________________<br>dhcp-users mailing list<br><a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</div></blockquote>
<div>
<div></div>
<div class="h5"><br>_______________________________________________<br>dhcp-users mailing list<br><a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br><a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</div></div></blockquote></div><br>