<html><body><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><div style="font-family: Andale Mono; font-size: 10pt; color: #000000">This is a layman's opinion as i've not done the described procedure below, but I would think you would want to retain the dhcpd.leases file from the secondary and primary and put those back after re-install. </div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><br data-mce-bogus="1"></div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000">In other words, do not attempt to copy leases file from primary to secondary as you listed in steps below, but rather retain the <span style="caret-color: #000000; color: #000000; font-family: 'Andale Mono'; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration: none; display: inline !important; float: none;" data-mce-style="caret-color: #000000; color: #000000; font-family: 'Andale Mono'; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration: none; display: inline !important; float: none;">dhcpd.leases file from the original install. Copy that file back into place before you start the DHCP server on the secondary.</span></div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><span style="caret-color: #000000; color: #000000; font-family: 'Andale Mono'; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration: none; display: inline !important; float: none;" data-mce-style="caret-color: #000000; color: #000000; font-family: 'Andale Mono'; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration: none; display: inline !important; float: none;"><br data-mce-bogus="1"></span></div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><span style="caret-color: #000000; color: #000000; font-family: 'Andale Mono'; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration: none; display: inline !important; float: none;" data-mce-style="caret-color: #000000; color: #000000; font-family: 'Andale Mono'; font-size: 13.333333015441895px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration: none; display: inline !important; float: none;">I think there are some differences between the primary and secondary leases files such that you would not want one copied to the other.<br></span><br><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Aleksey Perov" <a.perov@sura.ru><br><b>To: </b>"Users of ISC DHCP" <dhcp-users@lists.isc.org><br><b>Sent: </b>Thursday, May 31, 2018 3:14:47 AM<br><b>Subject: </b>how to upgrade the failover pair?<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">Hi.<br><br>I have two servers running Debian 6.0.5 with ISC DHCP 4.1.1 in a <br>failover pair. Now I need to upgrade them to the latest Debian 9 which <br>is shipped with ISC DHCP 4.3.5. Since Debian 6 is too old, the only way <br>of upgrading is a clean reinstall (which in most cases is better than <br>sequential upgrade 6 to 7 to 8 to 9).<br><br>I have read <br>https://kb.isc.org/article/AA-01043/183/Recommendations-for-restarting-a-DHCP-failover-pair.html <br>and some other articles, but those documents say nothing about the <br>upgrade scenario.<br><br>So the question is: What is the recommended process of _upgrading_ the <br>failover pair?<br><br>The draft plan is as follows:<br><br>- stop the secondary;<br>- turn the primary into partner-down;<br>- reinstall the secondary;<br>- wait until the primary reclaims all addresses in all pools;<br>- stop the primary;<br>- copy leases file from primary to secondary;<br>- start the secondary in partner-down mode;<br>- reinstall the primary;<br>- turn the secondary into normal mode;<br>- start the primary.<br><br>Is anything wrong here?<br><br>Any advices and recommendations are welcome. Thanks.<br><br><br><br><br>-- <br>Aleksey<br>_______________________________________________<br>dhcp-users mailing list<br>dhcp-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/dhcp-users</blockquote></div></div><div><br></div></div></body></html>