how to set up more than one filter (master-slave cluster)

First, install each host independently.
Once installed you will have to get the password created by the mailcleaner installation process. This password is located in the file /etc/mailcleaner.conf. Use this command:

cat /etc/mailcleaner.conf | grep MYMAILCLEANERPWD

Then:

  1. On the master:
    Use the script located in /usr/mailcleaner/scripts/configuration/slaves.pl. The first time, you will have to set the real hostname of the master, with option 1) (fully qualified hostname or ip). (by default it is 127.0.0.1).
    Then select option 4) to add a slave and enter the hostname or ip and the password of the host.
    Back in the main menu, hit “q” to apply changes.
  2. On the slave:
    Use the script located in /usr/mailcleaner/scripts/configuration/slaves.pl. The first time, you will have to set the real hostname, with option 1) (fully qualified hostname or ip). (by default it is 127.0.0.1).
    Then select option 5) to set this host as a slave. Enter master hostname or ip and password.
    Back in the main menu, hit “q” to apply changes.

You can now reach the admin interface of any host, but only the master will let you configure the system.
It also is the only one that users can reach in order to acces their quarantine.

documentation/cluster.txt · Last modified: 2009/03/04 10:04 (external edit)1
 
 
 
Recent changes RSS feed Valid XHTML 1.0 Valid CSS