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: 20s.
84
85       stop
86           Stops the resource. Suggested minimum timeout: 20s.
87
88       restart
89           Suggested minimum timeout: 20s.
90
91       monitor
92           Performs a detailed status check. Suggested minimum timeout: 20s.
93           Suggested interval: 10s.
94
95       meta-data
96           Retrieves resource agent metadata (internal use only). Suggested
97           minimum timeout: 5s.
98
99       validate-all
100           Performs a validation of the resource configuration. Suggested
101           minimum timeout: 20s.
102

EXAMPLE CRM SHELL

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

EXAMPLE PCS

113       The following is an example configuration for a dhcpd resource using
114       pcs(8)
115
116           pcs resource create p_dhcpd ocf:heartbeat:dhcpd \
117             config=string \
118             op monitor timeout="20s" interval="10s" OCF_CHECK_LEVEL="0"
119

SEE ALSO

121       http://clusterlabs.org/
122

AUTHOR

124       ClusterLabs contributors (see the resource agent source for information
125       about individual authors)
126
127
128
129resource-agents UNKNOWN           03/25/2021            OCF_HEARTBEAT_DHCPD(7)
Impressum