带数据库后端的 DCHP

发布于 2024-07-21 10:51:05 字数 214 浏览 5 评论 0原文

这是我的第一个问题:P。

我正在开发一些小项目。 我想更改 IP/MAC 的 dhcp 服务器规则而不重新启动服务器(在动态基础设施中)。

我认为最好的解决方案是使用带有数据库后端的 dhcp 服务器,以便更改 SQL 信息(使用简单的 JDBC 客户端)。

但我想知道一些关于开源项目的建议,或者解释如何实现它的方法。

非常感谢

Here my first question :P.

I am developing some little projectes. I want to change dhcp server rules of IP/MAC without rebooting the server (In a dinamic infrastructure).

I think that the best solution is to use a dhcp server with a database backend, in order to change the SQL information (With an easy JDBC client).

But I want to know some suggestion about open Source Projects, or howto's that explain how to implement it.

Thank you very much

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

一场春暖 2024-07-28 10:51:05

通常在 Unix 上,长时间运行的守护进程会监听 HUP 信号。 收到该信号后,他们重新读取配置文件。 这使得守护进程没有停机时间,但可以获得更新的配置选项。

Usually on Unix, long running daemons listen for the HUP signal. On receiving that signal, they re-read their configuration files. This allows daemons to have no down time, but get updated configuration options.

琉璃梦幻 2024-07-28 10:51:05

ISC 的人们(BIND 和 ISC DHCP 服务器的作者)正在致力于 KEA,一个新的 DHCP 服务器实现,除了其他不错的功能之外,还支持 SQL。 源代码多年来一直支持 SQLite 和 MySQL,最近又添加了 PostgreSQL 支持。

目前还没有合适的版本,其 dev/用户邮件列表。 希望随着代码的成熟、版本的发布、发行版开始打包它以及它获得用户的关注,这种情况将会改变。

The guys at ISC (authors of BIND and the ISC DHCP server) are working on KEA, a new DHCP server implementation that -- among other nice features -- has SQL support. The source code has had support for SQLite and MySQL for years, and PostgreSQL support was added recently.

There's no proper release yet, and very little activity on their dev/users mailing lists. Hopefully that will change as the code matures, releases are made, distros start packaging it, and it gains traction with users.

听风念你 2024-07-28 10:51:05

SpliFF

在 Unix 上。

不行,重新启动 DHCP 服务器,不行了机器:)。 对不起。

因为当你改变dhcp.conf时你需要重新启动dhcp(dhcpd)

SpliFF

On Unix.

No, restart the DHCP server, no the machine :). Sorry.

Because when you change the dhcp.conf you need to restart the dhcp (dhcpd)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文