table of contents
OCF_HEARTBEAT_CTDB(7) | OCF resource agents | OCF_HEARTBEAT_CTDB(7) |
NAME¶
ocf_heartbeat_CTDB - CTDB Resource Agent
SYNOPSIS¶
CTDB [start | stop | monitor | meta-data | validate-all]
DESCRIPTION¶
This resource agent manages CTDB, allowing one to use Clustered Samba in a Linux-HA/Pacemaker cluster. You need a shared filesystem (e.g. OCFS2) on which the CTDB lock will be stored. Create /etc/ctdb/nodes containing a list of private IP addresses of each node in the cluster, then configure this RA as a clone. To have CTDB manage Samba, set ctdb_manages_samba="yes". Note that this option will be deprecated in future, in favour of configuring a separate Samba resource.
For more information see http://linux-ha.org/wiki/CTDB_(resource_agent)
SUPPORTED PARAMETERS¶
ctdb_recovery_lock
(unique, required, string, no default)
ctdb_manages_samba
(optional, boolean, default no)
ctdb_manages_winbind
(optional, boolean, default no)
ctdb_service_smb
(optional, string, no default)
ctdb_service_nmb
(optional, string, no default)
ctdb_service_winbind
(optional, string, no default)
ctdb_samba_skip_share_check
(optional, boolean, default yes)
ctdb_monitor_free_memory
(optional, integer, default 100)
ctdb_start_as_disabled
(optional, boolean, default no)
ctdb_config_dir
(optional, string, default "/etc/ctdb")
ctdb_binary
(optional, string, default "/usr/bin/ctdb")
ctdbd_binary
(optional, string, default "/usr/sbin/ctdbd")
ctdb_socket
(unique, optional, string, default "/var/lib/ctdb/ctdb.socket")
ctdb_dbdir
(unique, optional, string, default "/var/lib/ctdb")
ctdb_logfile
(optional, string, default "/var/log/ctdb/log.ctdb")
ctdb_debuglevel
(optional, integer, default 2)
smb_conf
(optional, string, default "/etc/samba/smb.conf")
smb_private_dir
(unique, optional, string, no default)
smb_passdb_backend
(optional, string, default "tdbsam")
smb_idmap_backend
(optional, string, default "tdb2")
smb_fileid_algorithm
(optional, string, no default)
SUPPORTED ACTIONS¶
This resource agent supports the following actions (operations):
start
stop
monitor
meta-data
validate-all
EXAMPLE¶
The following is an example configuration for a CTDB resource using the crm(8) shell:
primitive p_CTDB ocf:heartbeat:CTDB \
params \
ctdb_recovery_lock=string \
op monitor timeout="20" interval="10" depth="0"
SEE ALSO¶
AUTHOR¶
Linux-HA contributors (see the resource agent source for information about individual authors)
03/22/2017 | resource-agents 3.9.2 |