summaryrefslogtreecommitdiffstats
path: root/ctdb/doc
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2009-05-25 11:44:27 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2009-05-25 12:06:09 +1000
commit0891024f7a0923ec6c9c3d14dc4b1c4c07cfa4f8 (patch)
tree0812785a5758d79cafc5e0bcc1ced30f5749f2d1 /ctdb/doc
parent887046352d61e97152428484bfebf4f077ca224a (diff)
downloadsamba-0891024f7a0923ec6c9c3d14dc4b1c4c07cfa4f8.tar.gz
samba-0891024f7a0923ec6c9c3d14dc4b1c4c07cfa4f8.tar.xz
samba-0891024f7a0923ec6c9c3d14dc4b1c4c07cfa4f8.zip
document the new support for ClamAV
(This used to be ctdb commit 39539a2d1784f04245ed7abc84c4f39e1601afa4)
Diffstat (limited to 'ctdb/doc')
-rw-r--r--ctdb/doc/ctdbd.145
-rw-r--r--ctdb/doc/ctdbd.1.html37
-rw-r--r--ctdb/doc/ctdbd.1.xml56
3 files changed, 134 insertions, 4 deletions
diff --git a/ctdb/doc/ctdbd.1 b/ctdb/doc/ctdbd.1
index d6ac7ba1f32..33424476a38 100644
--- a/ctdb/doc/ctdbd.1
+++ b/ctdb/doc/ctdbd.1
@@ -1,11 +1,11 @@
.\" Title: ctdbd
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
-.\" Date: 05/14/2009
+.\" Date: 05/25/2009
.\" Manual:
.\" Source:
.\"
-.TH "CTDBD" "1" "05/14/2009" "" ""
+.TH "CTDBD" "1" "05/25/2009" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -508,6 +508,47 @@ The NAT\-GW node is assigned the CTDB_NATGW_PUBLIC_IP to the designated interfac
All other nodes in the group are configured with a default route of metric 10 pointing to the designated NAT GW node\.
.PP
This is implemented in the 11\.natgw eventscript\. Please see the eventscript for further information\.
+.SH "CLAMAV DAEMON"
+.PP
+CTDB has support to manage the popular anti\-virus daemon ClamAV\. This support is implemented through the eventscript : /etc/ctdb/events\.d/31\.clamd\.
+.SS "Configuration"
+.PP
+Start by configuring CLAMAV normally and test that it works\. Once this is done, copy the configuration files over to all the nodes so that all nodes share identical CLAMAV configurations\. Once this is done you can proceed with the intructions below to activate CTDB support for CLAMAV\.
+.PP
+First, to activate CLAMAV support in CTDB, edit /etc/sysconfig/ctdb and add the two lines :
+.sp
+.RS 4
+.nf
+CTDB_MANAGES_CLAMD=yes
+CTDB_CLAMD_SOCKET="/path/to/clamd\.socket"
+.fi
+.RE
+.PP
+Second, activate the eventscript by making it executable:
+.sp
+.RS 4
+.nf
+chmod +x /etc/ctdb/events\.d/31\.clamd
+.fi
+.RE
+.PP
+Third, CTDB will now be starting and stopping this service accordingly, so make sure that the system is not configured to start/stop this service automatically\. On RedHat systems you can disable the system starting/stopping CLAMAV automatically by running :
+.sp
+.RS 4
+.nf
+chkconfig clamd off
+.fi
+.RE
+.PP
+Once you have restarted CTDBD, use
+.sp
+.RS 4
+.nf
+ctdb scriptstatus
+.fi
+.RE
+.sp
+and verify that the 31\.clamd eventscript is listed and that it was executed successfully\.
.SH "SEE ALSO"
.PP
ctdb(1), onnode(1)
diff --git a/ctdb/doc/ctdbd.1.html b/ctdb/doc/ctdbd.1.html
index 7ac33c7dfbe..e63c36fa88b 100644
--- a/ctdb/doc/ctdbd.1.html
+++ b/ctdb/doc/ctdbd.1.html
@@ -531,10 +531,43 @@ CTDB_CAPABILITY_RECMASTER=no
</p><p>
This is implemented in the 11.natgw eventscript. Please see the
eventscript for further information.
- </p></div></div><div class="refsect1" lang="en"><a name="id2476230"></a><h2>SEE ALSO</h2><p>
+ </p></div></div><div class="refsect1" lang="en"><a name="id2476230"></a><h2>ClamAV Daemon</h2><p>
+CTDB has support to manage the popular anti-virus daemon ClamAV.
+This support is implemented through the
+eventscript : /etc/ctdb/events.d/31.clamd.
+</p><div class="refsect2" lang="en"><a name="id2476241"></a><h3>Configuration</h3><p>
+Start by configuring CLAMAV normally and test that it works. Once this is
+done, copy the configuration files over to all the nodes so that all nodes
+share identical CLAMAV configurations.
+Once this is done you can proceed with the intructions below to activate
+CTDB support for CLAMAV.
+</p><p>
+First, to activate CLAMAV support in CTDB, edit /etc/sysconfig/ctdb and add the two lines :
+</p><pre class="screen">
+CTDB_MANAGES_CLAMD=yes
+CTDB_CLAMD_SOCKET="/path/to/clamd.socket"
+</pre><p>
+Second, activate the eventscript by making it executable:
+</p><pre class="screen">
+chmod +x /etc/ctdb/events.d/31.clamd
+</pre><p>
+Third, CTDB will now be starting and stopping this service accordingly,
+so make sure that the system is not configured to start/stop this service
+automatically.
+On RedHat systems you can disable the system starting/stopping CLAMAV automatically by running :
+</p><pre class="screen">
+chkconfig clamd off
+</pre><p>
+</p><p>
+Once you have restarted CTDBD, use
+</p><pre class="screen">
+ctdb scriptstatus
+</pre><p>
+and verify that the 31.clamd eventscript is listed and that it was executed successfully.
+</p></div></div><div class="refsect1" lang="en"><a name="id2476302"></a><h2>SEE ALSO</h2><p>
ctdb(1), onnode(1)
<a class="ulink" href="http://ctdb.samba.org/" target="_top">http://ctdb.samba.org/</a>
- </p></div><div class="refsect1" lang="en"><a name="id2476243"></a><h2>COPYRIGHT/LICENSE</h2><div class="literallayout"><p><br>
+ </p></div><div class="refsect1" lang="en"><a name="id2476315"></a><h2>COPYRIGHT/LICENSE</h2><div class="literallayout"><p><br>
Copyright�(C)�Andrew�Tridgell�2007<br>
Copyright�(C)�Ronnie�sahlberg�2007<br>
<br>
diff --git a/ctdb/doc/ctdbd.1.xml b/ctdb/doc/ctdbd.1.xml
index 555ca06d303..7d94e87a5f8 100644
--- a/ctdb/doc/ctdbd.1.xml
+++ b/ctdb/doc/ctdbd.1.xml
@@ -948,6 +948,62 @@ CTDB_CAPABILITY_RECMASTER=no
+<refsect1><title>ClamAV Daemon</title>
+<para>
+CTDB has support to manage the popular anti-virus daemon ClamAV.
+This support is implemented through the
+eventscript : /etc/ctdb/events.d/31.clamd.
+</para>
+
+<refsect2><title>Configuration</title>
+<para>
+Start by configuring CLAMAV normally and test that it works. Once this is
+done, copy the configuration files over to all the nodes so that all nodes
+share identical CLAMAV configurations.
+Once this is done you can proceed with the intructions below to activate
+CTDB support for CLAMAV.
+</para>
+
+<para>
+First, to activate CLAMAV support in CTDB, edit /etc/sysconfig/ctdb and add the two lines :
+</para>
+<screen format="linespecific">
+CTDB_MANAGES_CLAMD=yes
+CTDB_CLAMD_SOCKET="/path/to/clamd.socket"
+</screen>
+
+<para>
+Second, activate the eventscript by making it executable:
+</para>
+<screen format="linespecific">
+chmod +x /etc/ctdb/events.d/31.clamd
+</screen>
+
+<para>
+Third, CTDB will now be starting and stopping this service accordingly,
+so make sure that the system is not configured to start/stop this service
+automatically.
+On RedHat systems you can disable the system starting/stopping CLAMAV automatically by running :
+<screen format="linespecific">
+chkconfig clamd off
+</screen>
+</para>
+
+
+<para>
+Once you have restarted CTDBD, use
+<screen format="linespecific">
+ctdb scriptstatus
+</screen>
+and verify that the 31.clamd eventscript is listed and that it was executed successfully.
+</para>
+
+</refsect2>
+</refsect1>
+
+
+
+
<refsect1><title>SEE ALSO</title>
<para>
ctdb(1), onnode(1)