From 5471c6ebf62de54bbabbaf52f6cdfd2ea9185274 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Fri, 8 Jun 2007 11:08:39 +1000 Subject: [PATCH] add a page (based on the wiki) on how to build samba3 and ctdb (This used to be ctdb commit 4abbf1b75f3c3d7b5c220078d5adb5b4fec43db1) --- ctdb/web/building_samba_ctdb.html | 39 +++++++++++++++++++++++++++++++ ctdb/web/ctdb.html | 1 + 2 files changed, 40 insertions(+) create mode 100644 ctdb/web/building_samba_ctdb.html diff --git a/ctdb/web/building_samba_ctdb.html b/ctdb/web/building_samba_ctdb.html new file mode 100644 index 00000000000..acbd8c131f3 --- /dev/null +++ b/ctdb/web/building_samba_ctdb.html @@ -0,0 +1,39 @@ + + + +Building CTDB and Samba + + + +

Building CTDB and Samba

+ +

CTDB

+To build a copy of the CTDB code you should do this: +
+   cd ctdb
+   ./autogen.sh
+   ./configure
+   make
+   make install
+
+ +You need to install ctdb on all nodes of your cluster. + + +

Samba3

+ +To build a copy of Samba3 with clustering and ctdb support you should do this: +
+    cd samba_3_0_ctdb/source
+    ./autogen.sh
+    ./configure --with-ctdb=/usr/src/ctdb --with-cluster-support --enable-pie=no
+    make proto
+    make
+
+ +Once compiled, you should install Samba on all cluster nodes.

+ +The /usr/src/ctdb path should be replaced with the path to the ctdb sources that you downloaded above. + + + diff --git a/ctdb/web/ctdb.html b/ctdb/web/ctdb.html index eaec1dc4f95..06c27b7cad7 100644 --- a/ctdb/web/ctdb.html +++ b/ctdb/web/ctdb.html @@ -62,6 +62,7 @@ README file for some description of how TDB is used.

Documentation

Getting the code
+Building Samba and CTDB

Documentation on how to install and configure CTDB is available in the