From 39539a2d1784f04245ed7abc84c4f39e1601afa4 Mon Sep 17 00:00:00 2001
From: Ronnie Sahlberg
This is implemented in the 11.natgw eventscript. Please see the eventscript for further information. -
+CTDB has support to manage the popular anti-virus daemon ClamAV. +This support is implemented through the +eventscript : /etc/ctdb/events.d/31.clamd. +
+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. +
+First, to activate CLAMAV support in CTDB, edit /etc/sysconfig/ctdb and add the two lines : +
+CTDB_MANAGES_CLAMD=yes +CTDB_CLAMD_SOCKET="/path/to/clamd.socket" +
+Second, activate the eventscript by making it executable: +
+chmod +x /etc/ctdb/events.d/31.clamd +
+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 : +
+chkconfig clamd off +
+
+Once you have restarted CTDBD, use +
+ctdb scriptstatus +
+and verify that the 31.clamd eventscript is listed and that it was executed successfully. +
+
Copyright (C) Andrew Tridgell 2007
Copyright (C) Ronnie sahlberg 2007
diff --git a/doc/ctdbd.1.xml b/doc/ctdbd.1.xml
index 555ca06d..7d94e87a 100644
--- a/doc/ctdbd.1.xml
+++ b/doc/ctdbd.1.xml
@@ -948,6 +948,62 @@ CTDB_CAPABILITY_RECMASTER=no
+