CTDB and Clustered Samba: Difference between revisions
From SambaWiki
AmitayIsaacs (talk | contribs) No edit summary |
Slowfranklin (talk | contribs) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 21: | Line 21: | ||
Samba and CTDB must be installed on all nodes of a cluster. CTDB is part of Samba (>= 4.2.0), so to get CTDB you need to [https://www.samba.org/samba/download/ get Samba]. |
Samba and CTDB must be installed on all nodes of a cluster. CTDB is part of Samba (>= 4.2.0), so to get CTDB you need to [https://www.samba.org/samba/download/ get Samba]. |
||
More details: |
|||
⚫ | |||
⚫ | |||
* [[Upgrading a CTDB cluster]] |
|||
= Configuring Clusters with CTDB = |
= Configuring Clusters with CTDB = |
||
Line 31: | Line 34: | ||
* [[Configuring clustered Samba]] |
* [[Configuring clustered Samba]] |
||
* [[Setting up CTDB for Clustered NFS]] |
* [[Setting up CTDB for Clustered NFS]] |
||
* [[Setting up CTDB with other services]] |
|||
* [[Advanced CTDB configuration]] |
* [[Advanced CTDB configuration]] |
||
* [[Samba_CTDB_GPFS_Cluster_HowTo|CTDB with GPFS]] |
* [[Samba_CTDB_GPFS_Cluster_HowTo|CTDB with GPFS]] |
||
* [[Samba_CTDB_GlusterFS_Cluster_HowTo|CTDB with GlusterFS]] |
|||
* [[GFS_CTDB_HowTo|CTDB with GFS]] |
* [[GFS_CTDB_HowTo|CTDB with GFS]] |
||
= Analysing CTDB problems = |
|||
* [[CTDB Performance]] |
|||
* [[Merged logs]] |
|||
* [[CTDB log file search patterns]] |
|||
= Developing CTDB = |
= Developing CTDB = |
||
* CTDB design |
* [[CTDB database design]] |
||
* Running CTDB tests |
* [[Running CTDB tests]] |
||
= Historical and Background Information = |
= Historical and Background Information = |
||
Note that some of this information is out of date. |
|||
* [[CTDB Project]] |
* [[CTDB Project]] |
||
* [[Clustered Samba]] |
* [[Clustered Samba]] |
||
* [[Samba & Clustering]] |
* [[Samba & Clustering]] |
||
* [http://samba.org/~obnox/presentations/sambaXP-2009/ Michael Adam's clustered NAS articles] |
Latest revision as of 09:47, 2 February 2023
Introduction
CTDB is a clustered database component in clustered Samba that provides a high-availability load-sharing CIFS server cluster.
The main functions of CTDB are:
- Provide a clustered version of the TDB database with automatic rebuild/recovery of the databases upon node failures.
- Monitor nodes in the cluster and services running on each node.
- Manage a pool of public IP addresses that are used to provide services to clients. Alternatively, CTDB can be used with LVS.
Combined with a cluster filesystem CTDB provides a full high-availablity (HA) environment for services such as clustered Samba, NFS and other services.
Supported platforms
CTDB is primarily developed and tested on Linux. A subset of features may work on other platforms.
Getting and Building CTDB
Samba and CTDB must be installed on all nodes of a cluster. CTDB is part of Samba (>= 4.2.0), so to get CTDB you need to get Samba.
More details:
Configuring Clusters with CTDB
- Basic CTDB configuration
- Setting up a cluster filesystem
- Configuring the CTDB recovery lock
- Adding public IP addresses
- Configuring clustered Samba
- Setting up CTDB for Clustered NFS
- Setting up CTDB with other services
- Advanced CTDB configuration
- CTDB with GPFS
- CTDB with GlusterFS
- CTDB with GFS
Analysing CTDB problems
Developing CTDB
Historical and Background Information
Note that some of this information is out of date.