<html><head><title>Re: failover and loadbalance for relayed requests</title>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">Just a note - it's not really "fail-over" but more load-balancing with the ability to handle the loss of one of the peers. [At least when *I* think if fail-over, I think of a server in stand-by, which isn't doing anything. Then when the primary active server fails, the "fail-over" comes up and fully takes over for the primary. And that's not the "fail-over" that ISC DHCPd does.]<br>
<br>
I'm not knocking it at all - just that it's got some interesting nuance that can bite you.<br>
Some of these potential pitfalls in peer/fail-over/load-balancing have been, at least partially, mitigated in versions 4.2.0+ [I think] and newer.<br>
<br>
A search of the archives and release notes will help you find some of these.<br>
[See: auto-partner-down, and the "rewind" feature also added in 4.2.0+ versions.]<br>
<br>
Read the docs carefully - it's quite a bit more complex than you might think at first glance. Not terribly hard or difficult, but it may not function exactly as you'd imagined it to do. <br>
[Corner cases always bite you when you lease(t) {pun intended} expect.]<br>
<br>
HTH<br>
<br>
-Greg<br>
<br>
<span style=" color: #800000;"><b>L> Thanks Simon !!!<br>
<br>
L> On 03/06/15 12:18, Simon Hobson wrote:<br>
>> Leandro <</b></span></span><a style=" font-family:'courier new'; font-size: 9pt;" href="mailto:ingrogger@gmail.com">ingrogger@gmail.com</a><span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b>> wrote:<br>
<br>
>>> I would like to ask for some documentation to read<br>
>> start with "man dhcpd.conf"<br>
<br>
>>> and also ask for the dhcp isc failover capabilities and recommendations.<br>
>> You can have 2 (and no more than 2) servers in a failover pair per pool. You essentially clone the config file from the primary to the secondary - and add the relevant failover peer declarations.<br>
<br>
>>> I imagine to setup two servers for instance with lease database sync and two ips configured on the relays ... is that possible ?<br>
>> Yes, that's how it works<br>
<br>
>>> how does iscp manage the leases db sync?<br>
>> It's internal. When one server issues a lease, it notifies the other which updates it's local lease file.<br>
<br>
</body></html>