diff options
author | Ronnie Sahlberg <sahlberg@ronnie> | 2007-06-09 13:36:33 +1000 |
---|---|---|
committer | Ronnie Sahlberg <sahlberg@ronnie> | 2007-06-09 13:36:33 +1000 |
commit | 906d3435ee8694660d617e6ee9921bf9c66de097 (patch) | |
tree | 88f6d988b933eb1b8bc843e8c78a2493ed36b839 /ctdb/web/ftp.html | |
parent | e59def72e5cb799f28e9c0492bc5c51214969a1a (diff) | |
download | samba-906d3435ee8694660d617e6ee9921bf9c66de097.tar.gz |
add instructions on how to set up HA-FTP using vsftpd and ctdb
(This used to be ctdb commit 908ab29272ff88dde5a3964c704b97c329f2a75c)
Diffstat (limited to 'ctdb/web/ftp.html')
-rw-r--r-- | ctdb/web/ftp.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/ctdb/web/ftp.html b/ctdb/web/ftp.html new file mode 100644 index 00000000000..0c22e458ff0 --- /dev/null +++ b/ctdb/web/ftp.html @@ -0,0 +1,42 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> +<HEAD> +<TITLE>Setting up clustered FTP</TITLE> +</HEAD> +<!--#include virtual="header.html" --> + +<h1>Setting up clustered FTP</h1> + +<h2>Prereqs</h2> +Configure CTDB as above and set it up to use public ipaddresses.<br> +Verify that the CTDB cluster works. + +<h2>Configuration</h2> + +Setting up a vsftpd cluster is really easy.<br> +Configure vsftpd on each node on the cluster.<br><br> +Set up vsftpd to export directories from the shared cluster filesystem. + +<h2>/etc/sysconfig/vsftpd</h2> + +Create the file /etc/sysconfig/vsftpd with the content : +<pre> + CTDB_MANAGES_VSFTPD=yes +</pre> + +Disable vsftpd in chkconfig so that it does not start by default. Instead CTDB will start/stop vsftdp as required. +<pre> + chkconfig vsftpd off +</pre> + +<h2>Events script</h2> + +The CTDB distribution already comes with an events script for vsftp in the file /etc/ctdb/events.d/40.vsftpd<br><br> +There should not be any need to edit this file. + + +<h2>Restart your cluster</h2> +Next time your cluster restarts, CTDB will start managing the vsftp service. + +<!--#include virtual="footer.html" --> + |