OCF_HEARTBEAT_DHCPD(7) | OCF resource agents | OCF_HEARTBEAT_DHCPD(7) |
ocf_heartbeat_dhcpd - Chrooted ISC DHCP server resource agent.
dhcpd [start | stop | monitor | meta-data | validate-all]
Manage an ISC DHCP server service in a chroot environment.
config
(unique, required, string, no default)
chrooted
(unique, optional, boolean, default true)
chrooted_path
(unique, optional, string, default "/var/lib/dhcp")
binary
(optional, string, default "dhcpd")
user
(optional, string, default "dhcpd")
group
(optional, string, default "nogroup")
interface
(optional, string, no default)
includes
include "/etc/named.keys";
Then an admin also has to tell the dhcpd RA that this file should be pulled into the chrooted environment. This is a space delimited list.
(optional, string, no default)
leases
(optional, string, default "/db/dhcpd.leases")
pid
(optional, string, default "/var/run/dhcpd.pid")
This resource agent supports the following actions (operations):
start
stop
restart
monitor
meta-data
validate-all
The following is an example configuration for a dhcpd resource using the crm(8) shell:
primitive p_dhcpd ocf:heartbeat:dhcpd \
params \
config=string \
op monitor timeout="20s" interval="10s" depth="0"
The following is an example configuration for a dhcpd resource using pcs(8)
pcs resource create p_dhcpd ocf:heartbeat:dhcpd \
config=string \
op monitor timeout="20s" interval="10s" OCF_CHECK_LEVEL="0"
http://clusterlabs.org/
ClusterLabs contributors (see the resource agent source for information about individual authors)
04/13/2023 | resource-agents 4.12.0-2 |