Advanced CTDB configuration

From SambaWiki
Revision as of 05:22, 29 January 2017 by MartinSchwenke (talk | contribs) (Created page with "= Introduction = This section describes advanced CTDB configuration topics that do not fit anywhere else. = CTDB port = CTDB uses Basic CTDB configuration#nodes file|priv...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

This section describes advanced CTDB configuration topics that do not fit anywhere else.

CTDB port

CTDB uses private IP addresses to communicate between nodes. Connections are made to IANA assigned TCP port 4379 on each node.


Although not recommended, it is possible to configure a different port to be used for CTDB traffic. This is done by adding a ctdb entry to the /etc/services file.

For example, add the following line to /etc/services to change CTDB to use port 9999:

 ctdb  9999/tcp

Note: All nodes in the cluster must use the same port.