table of contents
OCF_HEARTBEAT_NAMED(7) | OCF resource agents | OCF_HEARTBEAT_NAMED(7) |
NAME¶
ocf_heartbeat_named - Manages a named server
SYNOPSIS¶
named [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION¶
Resource script for named (Bind) server. It manages named as an HA resource.
SUPPORTED PARAMETERS¶
named
(optional, string, default "/usr/sbin/named")
rndc
(optional, string, default "/usr/sbin/rndc")
host
(optional, string, default "/usr/bin/host")
named_user
(optional, string, default "named")
named_config
(unique, optional, string, no default)
named_pidfile
(unique, optional, string, default "/var/run/named/named.pid")
named_rootdir
(unique, optional, string, no default)
named_options
(optional, string, no default)
named_keytab_file
(optional, string, no default)
rndc_options
(optional, string, no default)
monitor_request
(optional, string, default "localhost")
monitor_response
(optional, string, default "127.0.0.1")
monitor_ip
(optional, string, default "127.0.0.1")
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
reload
status
monitor
meta-data
validate-all
methods
EXAMPLE CRM SHELL¶
The following is an example configuration for a named resource using the crm(8) shell:
primitive p_named ocf:heartbeat:named \
op monitor depth="0" timeout="30s" interval="30s"
EXAMPLE PCS¶
The following is an example configuration for a named resource using pcs(8)
pcs resource create p_named ocf:heartbeat:named \
op monitor depth="0" timeout="30s" interval="30s"
SEE ALSO¶
AUTHOR¶
ClusterLabs contributors (see the resource agent source for information about individual authors)
03/19/2024 | resource-agents UNKNOWN |