table of contents
OCF_HEARTBEAT_DHCPD(7) | OCF resource agents | OCF_HEARTBEAT_DHCPD(7) |
NAME¶
ocf_heartbeat_dhcpd - Chrooted ISC DHCP server resource agent.
SYNOPSIS¶
dhcpd [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
Manage an ISC DHCP server service in a chroot environment.
SUPPORTED PARAMETERS¶
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")
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
restart
monitor
meta-data
validate-all
EXAMPLE CRM SHELL¶
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"
EXAMPLE PCS¶
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" depth="0"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
03/19/2024 | resource-agents UNKNOWN |