add a page (based on the wiki) on how to build samba3 and ctdb
authorRonnie Sahlberg <sahlberg@ronnie>
Fri, 8 Jun 2007 01:08:39 +0000 (11:08 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Fri, 8 Jun 2007 01:08:39 +0000 (11:08 +1000)
web/building_samba_ctdb.html [new file with mode: 0644]
web/ctdb.html

diff --git a/web/building_samba_ctdb.html b/web/building_samba_ctdb.html
new file mode 100644 (file)
index 0000000..acbd8c1
--- /dev/null
@@ -0,0 +1,39 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+<HEAD>
+<TITLE>Building CTDB and Samba</TITLE>
+</HEAD>
+<BODY BGCOLOR="#ffffff" TEXT="#000000" VLINK="#292555" LINK="#292555" ALINK="#cc0033">
+
+<h1>Building CTDB and Samba</h1>
+
+<h2>CTDB</h2>
+To build a copy of the CTDB code you should do this:
+<pre>
+   cd ctdb
+   ./autogen.sh
+   ./configure
+   make
+   make install
+</pre>
+
+You need to install ctdb on all nodes of your cluster.
+
+
+<h2>Samba3</h2>
+
+To build a copy of Samba3 with clustering and ctdb support you should do this:
+<pre>
+    cd samba_3_0_ctdb/source
+    ./autogen.sh
+    ./configure --with-ctdb=/usr/src/ctdb --with-cluster-support --enable-pie=no
+    make proto
+    make
+</pre>
+
+Once compiled, you should install Samba on all cluster nodes.<br><br>
+
+The /usr/src/ctdb path should be replaced with the path to the ctdb sources that you downloaded above.
+
+</BODY>
+</HTML>
index eaec1dc4f959ce00e9ab29ae0503d061a519ba9d..06c27b7cad7d53269d8b8013c7920a43791d55ea 100644 (file)
@@ -62,6 +62,7 @@ README file</a> for some description of how TDB is used.
 <h2>Documentation</h2>
 
 <a href="./getting_the_code.html">Getting the code</a><br>
+<a href="./building_samba_ctdb.html">Building Samba and CTDB</a><br>
 
 <br>
 Documentation on how to install and configure CTDB is available in the