OCF_HEARTBEAT_DNSUPD(7) | OCF resource agents | OCF_HEARTBEAT_DNSUPD(7) |
NAME
ocf_heartbeat_dnsupdate - IP take-over via dynamic DNS update
SYNOPSIS
dnsupdate [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
This resource agent manages IP take-over via dynamic DNS updates.
SUPPORTED PARAMETERS
hostname
(unique, required, string, no default)
type
(optional, string, default "A")
ip
(optional, string, no default)
cname
(optional, string, no default)
ttl
If using booth, the ticket timeout is a good start.
(optional, integer, default 300)
keyfile
(optional, string, no default)
server
(optional, string, no default)
serverport
Note: due to a limitation in the nsupdate command, this option will only take effect if you also specify the DNS server!
(optional, integer, default 53)
nsupdate_opts
(optional, string, no default)
unregister_on_stop
(optional, boolean, default false)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
stop
status
monitor
meta-data
validate-all
EXAMPLE CRM SHELL
The following is an example configuration for a dnsupdate resource using the crm(8) shell:
primitive p_dnsupdate ocf:heartbeat:dnsupdate \ params \ hostname=string \ op monitor depth="0" timeout="30s" interval="10s"
EXAMPLE PCS
The following is an example configuration for a dnsupdate resource using pcs(8)
pcs resource create p_dnsupdate ocf:heartbeat:dnsupdate \ hostname=string \ op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="10s"
SEE ALSO
http://clusterlabs.org/
AUTHOR
ClusterLabs contributors (see the resource agent source for information about individual authors)
11/10/2024 | resource-agents 4.16.0-1 |