GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
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
The absolute path to the DHCP server configuration file.

(unique, required, string, no default)

chrooted

Configure the dhcpd service to run in a chrooted or non-chrooted mode.

(unique, optional, boolean, default true)

chrooted_path

The absolute path of the chrooted DHCP environment.

(unique, optional, string, default "/var/lib/dhcp")

binary

The binary for the DHCP server process. An absolute path definition is not required, but can be used to override environment path.

(optional, string, default "dhcpd")

user

The system user the DHCP server process will run as when it is chrooted.

(optional, string, default "dhcpd")

group

The system group the DHCP server process will run as when it is chrooted.

(optional, string, default "nogroup")

interface

The network interface(s) the DHCP server process will bind to. A blank value will bind the process to all interfaces.

(optional, string, no default)

includes

This parameter provides a means to copy include files into the chrooted environment. If a dhcpd.conf file contains a line similar to this:

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

The leases database file, relative to chrooted_path.

(optional, string, default "/db/dhcpd.leases")

pid

The path and filename of the PID file. It is relative to chrooted_path.

(optional, string, default "/var/run/dhcpd.pid")

This resource agent supports the following actions (operations):

start

Starts the resource. Suggested minimum timeout: 20s.

stop

Stops the resource. Suggested minimum timeout: 20s.

restart

Suggested minimum timeout: 20s.

monitor

Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 10s.

meta-data

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.

validate-all

Performs a validation of the resource configuration. Suggested minimum timeout: 20s.

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/12/2022 resource-agents 4.10.0

Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.