Add scope without service restart, possible?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Add scope without service restart, possible?

Cayab, Jefrey E.
Dear List,

Wanted to check if it's possible to add new DHCP scope to a running DHCPd service and to take effect without restart the service? Is there a reload equivalent that can take in the updated config?

Thanks,
Jef

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: Add scope without service restart, possible?

Simon Hobson
Cayab, Jefrey E. <[hidden email]> wrote:

> Wanted to check if it's possible to add new DHCP scope to a running DHCPd service and to take effect without restart the service? Is there a reload equivalent that can take in the updated config?

Not with the ISC server. However, a restart should be very quick for any reasonable configuration - and if you use dual servers with failover, then no interruption in service to end devices.

Simon

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

RE: Add scope without service restart, possible?

Steve van der Burg
I run a pair of servers with all leases (~40k active right now, out of ~370k defined) in failover pools and routinely change the configs and restart with no interruption to service, as Simon just indicated.

I push new configs to both servers and then the servers test them and, if they pass, restart on alternate minutes (primary on even minutes, for example, and secondary on odd minutes).

...Steve

-----Original Message-----
From: dhcp-users <[hidden email]> On Behalf Of Simon Hobson
Sent: Friday,May 22,2020 3:22 PM
To: Users of ISC DHCP <[hidden email]>
Subject: Re: Add scope without service restart, possible?

CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Cayab, Jefrey E. <[hidden email]> wrote:

> Wanted to check if it's possible to add new DHCP scope to a running DHCPd service and to take effect without restart the service? Is there a reload equivalent that can take in the updated config?

Not with the ISC server. However, a restart should be very quick for any reasonable configuration - and if you use dual servers with failover, then no interruption in service to end devices.

Simon

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

This email is directed in confidence solely to the person named above and may contain confidential, privileged or personal health information. Please be aware that this email may also be released to members of the public under Ontario's Freedom of Information and Protection of Privacy Act if required. Review, distribution, or disclosure of this email by anyone other than the person(s) for whom it was originally intended is strictly prohibited. If you are not an intended recipient, please notify the sender immediately via a return email and destroy all copies of the original message. Thank you for your cooperation.
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: Add scope without service restart, possible?

Patrick Trapp
I can second that. We run a pair of servers plus a staging server. We make changes and test the code on the staging server. If it passes, we sync to a git server. We run a script that causes the production servers to pull the new config from git and restart, one at a time.

From: dhcp-users <[hidden email]> on behalf of Steve van der Burg <[hidden email]>
Sent: Friday, May 22, 2020 2:30 PM
To: Users of ISC DHCP <[hidden email]>
Subject: RE: Add scope without service restart, possible?
 
CAUTION: This email originated from outside of the company. Do not click links or open attachments unless you recognize the sender and know the content is safe.

I run a pair of servers with all leases (~40k active right now, out of ~370k defined) in failover pools and routinely change the configs and restart with no interruption to service, as Simon just indicated.

I push new configs to both servers and then the servers test them and, if they pass, restart on alternate minutes (primary on even minutes, for example, and secondary on odd minutes).

...Steve

-----Original Message-----
From: dhcp-users <[hidden email]> On Behalf Of Simon Hobson
Sent: Friday,May 22,2020 3:22 PM
To: Users of ISC DHCP <[hidden email]>
Subject: Re: Add scope without service restart, possible?

CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Cayab, Jefrey E. <[hidden email]> wrote:

> Wanted to check if it's possible to add new DHCP scope to a running DHCPd service and to take effect without restart the service? Is there a reload equivalent that can take in the updated config?

Not with the ISC server. However, a restart should be very quick for any reasonable configuration - and if you use dual servers with failover, then no interruption in service to end devices.

Simon

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

This email is directed in confidence solely to the person named above and may contain confidential, privileged or personal health information. Please be aware that this email may also be released to members of the public under Ontario's Freedom of Information and Protection of Privacy Act if required. Review, distribution, or disclosure of this email by anyone other than the person(s) for whom it was originally intended is strictly prohibited. If you are not an intended recipient, please notify the sender immediately via a return email and destroy all copies of the original message. Thank you for your cooperation.
_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users