ocf:CTDB — CTDB Resource Agent
OCF_RESKEY_ctdb_recovery_lock=string OCF_RESKEY_smb_private_dir=string [OCF_RESKEY_ctdb_config_dir=string] [OCF_RESKEY_ctdb_binary=string] [OCF_RESKEY_ctdbd_binary=string] [OCF_RESKEY_ctdb_socket=string] [OCF_RESKEY_ctdb_dbdir=string] [OCF_RESKEY_ctdb_logfile=string] [OCF_RESKEY_ctdb_debuglevel=integer] [OCF_RESKEY_smb_conf=string] CTDB [start | stop | monitor | meta-data | validate-all]
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 CTDB lock and Samba state will be stored. Configure shares in smb.conf on all nodes, and create /etc/ctdb/nodes containing a list of private IP addresses of each node in the cluster. Configure this RA as a clone, and it will take care of the rest. For more information see http://linux-ha.org/wiki/CTDB_(resource_agent)
The location of a shared lock file, common across all nodes. This must be on shared storage, e.g.: /shared-fs/samba/ctdb.lock
The directory for smbd to use for storing such files as smbpasswd and secrets.tdb. This must be on shared storage, e.g.: /shared-fs/samba/private
The directory containing various CTDB configuration files. The "nodes" and "notify.sh" scripts are expected to be in this directory, as is the "events.d" subdirectory.
Full path to the CTDB binary.
Full path to the CTDB cluster daemon binary.
Full path to the domain socket that ctdbd will create, used for local clients to attach and communicate with the ctdb daemon.
The directory to put the local CTDB database files in. Persistent database files will be put in ctdb_dbdir/persistent.
Full path to log file. To log to syslog instead, use the value "syslog".
What debug level to run at (0-10). Higher means more verbose.
Path to default samba config file.