<div dir="ltr">Hello Everyone!<div><br></div><div>We are running for a while ISC DHCP (v4.2.5) on a single linux server and we would like to migrate it a highly available setup using "failover peer".</div><div><br></div><div>It is not very clear to me what would be the imapct of adding the failover peer configuration into an exisiting systems with leases that we obvisouly can't lose, I'm hoping that the system will perform the necessary changes but I don't feel confident about this.</div><div><br></div><div>Also, our ranges are defined under subnet and it is my understanding that these should be defined under pools where the "failover peer" is to be configured, is that correct? so, I guess same question here - can we move the ranges to "pools" without affecting any of the lease data?</div><div><br></div><div>Here's a subnet example in our setup:</div><div><font face="monospace, monospace"><br></font></div><div><div><font face="monospace, monospace">subnet xxx.xxx.68.0 netmask 255.255.254.0 {</font></div><div><span style="font-family:monospace,monospace">  range  xx.xxx.68.50 xx.xxx.68.150;</span><br></div><div><font face="monospace, monospace">  range  xx.xxx.69.50 xx.xxx.69.200;</font></div><div><span style="font-family:monospace,monospace">  option routers xx.xxx.68.1;</span><br></div><div><font face="monospace, monospace">  option subnet-mask 255.255.254.0;</font></div><div><font face="monospace, monospace">  option broadcast-address xx.xxx.69.255;</font></div><div><font face="monospace, monospace">  option domain-search "<domain a>", "<domain b>", "<domain c>";</font></div><div><font face="monospace, monospace">  option domain-name-servers xx.xxx.64.6, xx.xxx.64.7;</font></div><div><font face="monospace, monospace">  default-lease-time 2592000;</font></div><div><font face="monospace, monospace">  max-lease-time 10368000;</font></div><div><font face="monospace, monospace">}</font></div></div><div><br></div><div>Can we just change it to:</div><div><br></div><div>

<div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace" style="">subnet xxx.xxx.68.0 netmask 255.255.254.0 {</font></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="font-family:monospace,monospace">  pool {</span><br></div><font face="monospace, monospace">    <span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">range  xx.xxx.68.50 xx.xxx.68.150;</span>

<br>    <span style="color:rgb(34,34,34);font-family:monospace,monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">range  xx.xxx.69.50 xx.xxx.69.200;</span>

<br>    }<br>  }</font><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace" style="">  option routers  xx.xxx.68.1;</font></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace">  option subnet-mask 255.255.254.0;</font></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace">  option broadcast-address xx.xxx.69.255;</font></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace">  option domain-search "<domain a>", "<domain b>", "<domain c>";</font></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace">  option domain-name-servers xx.xxx.64.6, xx.xxx.64.7;</font></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace">  default-lease-time 2592000;</font></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace">  max-lease-time 10368000;</font></div><div style="color:rgb(34,34,34);font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace" style="">}</font></div>

<br></div><div><br></div><div><br></div><div>I couldn't find anything in the documenation that describes how to setup "failover peer" in a pre-exisiting server with leases, so any pointers would be highly welcome.</div><div><br></div><div><br></div><div>Thanks!</div><div>Danny</div></div>