From: Ronnie Sahlberg Date: Fri, 6 Jul 2007 05:29:03 +0000 (+1000) Subject: use the official iana number for ctdb and not 9001 X-Git-Tag: tevent-0.9.20~348^2~2468^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1f774a95b2887b19376539354654c31667c0c98;p=thirdparty%2Fsamba.git use the official iana number for ctdb and not 9001 (This used to be ctdb commit f72aeb5eadb0bda97d882b5a27562bfa1bb5f5a2) --- diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 01aa629afa3..8108ccd5168 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -29,7 +29,7 @@ #define CTDB_PATH "/tmp/ctdb.socket" /* default ctdb port number */ -#define CTDB_PORT 9001 +#define CTDB_PORT 4379 /* we must align packets to ensure ctdb works on all architectures (eg. sparc) */ #define CTDB_DS_ALIGNMENT 8 diff --git a/ctdb/web/configuring.html b/ctdb/web/configuring.html index 70059000275..219edac19b9 100644 --- a/ctdb/web/configuring.html +++ b/ctdb/web/configuring.html @@ -178,7 +178,7 @@ be aware of the HA features of CTDB.

TCP port to use for CTDB

-CTDB defaults to use TCP port 9001 for its traffic.

+CTDB defaults to use TCP port 4379 for its traffic.

Configuring a different port to use for CTDB traffic is done by adding a ctdb entry to the /etc/services file.

diff --git a/ctdb/web/testing.html b/ctdb/web/testing.html index 130b9bbb94b..d0d39a35f8d 100644 --- a/ctdb/web/testing.html +++ b/ctdb/web/testing.html @@ -19,9 +19,9 @@ Once all CTDB nodes have started, verify that they are correctly talking to each other.

There should be one TCP connection from the private ip address on each -node to TCP port 9001 on each of the other nodes in the cluster. +node to TCP port 4379 on each of the other nodes in the cluster.

-  onnode all netstat -tn | grep 9001
+  onnode all netstat -tn | grep 4379