Man page - ocf_heartbeat_ctdb(7)
Packages contas this manual
- ocf_heartbeat_rabbitmq-cluster(7)
- ocf_heartbeat_smb-share(7)
- ocf_heartbeat_lvmlockd(7)
- ocf_heartbeat_openstack-floating-ip(7)
- ocf_heartbeat_lxc(7)
- ocf_heartbeat_slapd(7)
- ocf_heartbeat_docker(7)
- ocf_heartbeat_azure-events(7)
- ocf_heartbeat_awsvip(7)
- ocf_heartbeat_iface-bridge(7)
- ocf_heartbeat_mdraid(7)
- ocf_heartbeat_iface-macvlan(7)
- ocf_heartbeat_sg_persist(7)
- ocf_heartbeat_exportfs(7)
- ocf_heartbeat_pound(7)
- ocf_heartbeat_garbd(7)
- ocf_heartbeat_ipsec(7)
- ocf_heartbeat_vmware(7)
- ocf_heartbeat_anything(7)
- ocf_heartbeat_mysql-proxy(7)
- ocf_heartbeat_varnish(7)
- ocf_heartbeat_mariadb(7)
- sfex_init(8)
- ocf_heartbeat_dnsupdate(7)
- ocf_heartbeat_mpathpersist(7)
- ocf_heartbeat_conntrackd(7)
- ocf_heartbeat_nvmet-namespace(7)
- ocf_heartbeat_gcp-vpc-move-ip(7)
- ocf-tester(8)
- ocf_heartbeat_ovsmonitor(7)
- ocf_heartbeat_docker-compose(7)
- ocf_heartbeat_ids(7)
- ocf_heartbeat_asterisk(7)
- ocf_heartbeat_dhcpd(7)
- ocf_heartbeat_mysql(7)
- ocf_heartbeat_iscsi(7)
- ocf_heartbeat_galera(7)
- ocf_heartbeat_pingd(7)
- ocf_heartbeat_portblock(7)
- ocf_heartbeat_minio(7)
- ocf_heartbeat_nginx(7)
- ocf_heartbeat_jboss(7)
- ocf_heartbeat_oralsnr(7)
- ocf_heartbeat_dovecot(7)
- ocf_heartbeat_nfsnotify(7)
- ocf_heartbeat_crypt(7)
- ocf_heartbeat_fio(7)
- ocf_heartbeat_gcp-ilb(7)
- ocf_heartbeat_gcp-vpc-move-route(7)
- ocf_heartbeat_ethmonitor(7)
- ocf_heartbeat_nvmet-port(7)
- ocf_heartbeat_gcp-vpc-move-vip(7)
- ocf_heartbeat_vsftpd(7)
- ocf_heartbeat_openstack-virtual-ip(7)
- ocf_heartbeat_storage-mon(7)
- ocf_heartbeat_lxd-info(7)
- ocf_heartbeat_awseip(7)
- ocf_heartbeat_oracle(7)
- ocf_heartbeat_osceip(7)
- ocf_heartbeat_rabbitmq-server-ha(7)
- ocf_heartbeat_jira(7)
- ocf_heartbeat_symlink(7)
- ocf_heartbeat_scsi2reservation(7)
- ocf_heartbeat_rsyncd(7)
- ocf_heartbeat_ocivip(7)
- ocf_heartbeat_powervs-subnet(7)
- ocf_heartbeat_machine-info(7)
- ocf_heartbeat_tomcat(7)
- ocf_heartbeat_gcp-pd-move(7)
- ocf_heartbeat_aliyun-vpc-move-ip(7)
- ocf_heartbeat_nvmet-subsystem(7)
- ocf_heartbeat_oraasm(7)
- ocf_heartbeat_openstack-info(7)
- ocf_heartbeat_azure-lb(7)
- ocf_heartbeat_syslog-ng(7)
- ocf_heartbeat_redis(7)
- ocf_heartbeat_pgagent(7)
- ocf_heartbeat_rsyslog(7)
- ocf_heartbeat_aws-vpc-route53(7)
- ocf_heartbeat_vdo-vol(7)
- ocf_heartbeat_iface-vlan(7)
- ocf_heartbeat_azure-events-az(7)
- ocf_heartbeat_postfix(7)
- ocf_heartbeat_rkt(7)
- ocf_heartbeat_zabbixserver(7)
- ocf_heartbeat_corosync-qnetd(7)
- ocf_heartbeat_dummypy(7)
- ocf_heartbeat_clvm(7)
- ocf_heartbeat_nfsserver(7)
- ocf_heartbeat_named(7)
- ocf_heartbeat_aws-vpc-move-ip(7)
- ocf_heartbeat_nagios(7)
- ocf_heartbeat_sfex(7)
- ocf_heartbeat_podman(7)
- ocf_heartbeat_openstack-cinder-volume(7)
- ocf_heartbeat_pgsql(7)
- ocf_heartbeat_kamailio(7)
- ocf_heartbeat_db2(7)
- ocf_heartbeat_proftpd(7)
- ocf_heartbeat_apache(7)
apt-get install resource-agents
Manual
| 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 or GFS2) 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. This agent expects the samba and windbind resources to be managed outside of CTDB's control as a separate set of resources controlled by the cluster manager. The optional support for enabling CTDB management of these daemons will be depreciated.
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 "/run/ctdb/ctdbd.socket")
ctdb_dbdir
(unique, optional, string, default "/var/run")
ctdb_logfile
(optional, string, default "/var/log/ctdb/log.ctdb")
ctdb_rundir
(optional, string, default "/run/ctdb")
ctdb_timeout
(unique, optional, integer, default 10)
ctdb_debuglevel
(optional, integer, default 2)
ctdb_max_open_files
(optional, integer, no default)
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 CRM SHELL
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="20s" interval="10s" depth="0"
EXAMPLE PCS
The following is an example configuration for a CTDB resource using pcs(8)
pcs resource create p_CTDB ocf:heartbeat:CTDB \
ctdb_recovery_lock=string \
op monitor timeout="20s" interval="10s" OCF_CHECK_LEVEL="0"
SEE ALSO
http://clusterlabs.org/
AUTHOR
ClusterLabs contributors (see the resource agent source for information about individual authors)
| 08/24/2025 | resource-agents 4.16.0-3+deb13 |