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
monitor
meta-data
validate-all
EXAMPLE¶
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="20" interval="10" depth="0"
SEE ALSO¶
AUTHOR¶
Linux-HA contributors (see the resource agent source for information about individual authors)
03/22/2017 | resource-agents 3.9.2 |