Samba CTDB GlusterFS Cluster HowTo: Difference between revisions
From SambaWiki
StefanKania (talk | contribs) (→CTDB) |
StefanKania (talk | contribs) |
||
Line 8: | Line 8: | ||
* Manage a pool of public IP addresses that are used to provide services to clients. Alternatively, CTDB can be used with LVS. |
* 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. |
Combined with a cluster filesystem CTDB provides a full high-availablity (HA) environment for services such as clustered Samba, NFS and other services. |
||
==Setting up CTDB== |
|||
After setting up the cluster filesystem you can set up a CTDB-cluster. |
|||
To user ''CTDB'' you have to install the ctdb-package for your distribution. After installing the package with all it's dependencies you will find a directory ''/etc/ctdb''. Inside tis directory you need some configuration files for CTDB. |
|||
Let's take a look at the files needed for configuring CTDB. |
Revision as of 17:41, 22 February 2020
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.
Setting up CTDB
After setting up the cluster filesystem you can set up a CTDB-cluster. To user CTDB you have to install the ctdb-package for your distribution. After installing the package with all it's dependencies you will find a directory /etc/ctdb. Inside tis directory you need some configuration files for CTDB.
Let's take a look at the files needed for configuring CTDB.