1OCF_HEARTBEAT_DHCPD(7)        OCF resource agents       OCF_HEARTBEAT_DHCPD(7)
2
3
4

NAME

6       ocf_heartbeat_dhcpd - Chrooted ISC DHCP server resource agent.
7

SYNOPSIS

9       dhcpd [start | stop | monitor | meta-data | validate-all]
10

DESCRIPTION

12       Manage an ISC DHCP server service in a chroot environment.
13

SUPPORTED PARAMETERS

15       config
16           The absolute path to the DHCP server configuration file.
17
18           (unique, required, string, no default)
19
20       chrooted
21           Configure the dhcpd service to run in a chrooted or non-chrooted
22           mode.
23
24           (unique, optional, boolean, default true)
25
26       chrooted_path
27           The absolute path of the chrooted DHCP environment.
28
29           (unique, optional, string, default "/var/lib/dhcp")
30
31       binary
32           The binary for the DHCP server process. An absolute path definition
33           is not required, but can be used to override environment path.
34
35           (optional, string, default "dhcpd")
36
37       user
38           The system user the DHCP server process will run as when it is
39           chrooted.
40
41           (optional, string, default "dhcpd")
42
43       group
44           The system group the DHCP server process will run as when it is
45           chrooted.
46
47           (optional, string, default "nogroup")
48
49       interface
50           The network interface(s) the DHCP server process will bind to. A
51           blank value will bind the process to all interfaces.
52
53           (optional, string, no default)
54
55       includes
56           This parameter provides a means to copy include files into the
57           chrooted environment. If a dhcpd.conf file contains a line similar
58           to this:
59
60           include "/etc/named.keys";
61
62           Then an admin also has to tell the dhcpd RA that this file should
63           be pulled into the chrooted environment. This is a space delimited
64           list.
65
66           (optional, string, no default)
67
68       leases
69           The leases database file, relative to chrooted_path.
70
71           (optional, string, default "/db/dhcpd.leases")
72
73       pid
74           The path and filename of the PID file. It is relative to
75           chrooted_path.
76
77           (optional, string, default "/var/run/dhcpd.pid")
78

SUPPORTED ACTIONS

80       This resource agent supports the following actions (operations):
81
82       start
83           Starts the resource. Suggested minimum timeout: 20.
84
85       stop
86           Stops the resource. Suggested minimum timeout: 20.
87
88       monitor
89           Performs a detailed status check. Suggested minimum timeout: 20.
90           Suggested interval: 10.
91
92       meta-data
93           Retrieves resource agent metadata (internal use only). Suggested
94           minimum timeout: 5.
95
96       validate-all
97           Performs a validation of the resource configuration. Suggested
98           minimum timeout: 20.
99

EXAMPLE

101       The following is an example configuration for a dhcpd resource using
102       the crm(8) shell:
103
104           primitive p_dhcpd ocf:heartbeat:dhcpd \
105             params \
106               config=string \
107             op monitor timeout="20" interval="10" depth="0"
108

SEE ALSO

110       http://www.linux-ha.org/wiki/dhcpd_(resource_agent)
111

AUTHOR

113       Linux-HA contributors (see the resource agent source for information
114       about individual authors)
115
116
117
118resource-agents 3.9.2             03/24/2017            OCF_HEARTBEAT_DHCPD(7)
Impressum