File: building.html

package info (click to toggle)
ctdb 1.0.112-12-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,292 kB
  • ctags: 4,779
  • sloc: ansic: 43,144; sh: 10,967; xml: 3,034; makefile: 451; perl: 107; python: 101; awk: 59
file content (34 lines) | stat: -rw-r--r-- 815 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!--#set var="TITLE" value="Building CTDB" -->
<!--#include virtual="header.html" -->

<H2 align="center">Building CTDB and Samba</h2>

<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.

<!--#include virtual="footer.html" -->