Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Multiple servers
  FAQ FAQ  Forum Search   Register Register  Login Login

Multiple servers

 Post Reply Post Reply
Author
lyndonje View Drop Down
Senior Member
Senior Member
Avatar

Joined: 31 January 2006
Location: United Kingdom
Status: Offline
Points: 192
Post Options Post Options   Thanks (0) Thanks(0)   Quote lyndonje Quote  Post ReplyReply Direct Link To This Post Topic: Multiple servers
    Posted: 07 February 2006 at 6:29am

I notice there have been a few posts on having multiple SpamFilter servers, but I havn't found a post with a working setup.

I understand the quarantine is easy enough to balance, but I'm thinking about the additional text files, such as the AutoForce, other whitelists and filters etc.

What is the best way for these files on multiple server to become one? Has anybody written a script that combines these files?

One way would be to have your secondary servers point to the txt files via a mapped drive, however this means things would probably go wrong if the connection was broken or the main server down. Although this would not be idle for that reason, would that be an option?

Thanks.

Back to Top
WebGuyz View Drop Down
Senior Member
Senior Member


Joined: 09 May 2005
Location: United States
Status: Offline
Points: 348
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebGuyz Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2006 at 10:44am

You could use a free utility like robocopy on one server and keep the spamfilter folders on the other servers synced that way. That way each of them could still function even if one of them were down.

I would never have all the servers pointing to one share because you would lose all inbound mail if the common share was down for any reason.

http://www.webguyz.net
Back to Top
lyndonje View Drop Down
Senior Member
Senior Member
Avatar

Joined: 31 January 2006
Location: United Kingdom
Status: Offline
Points: 192
Post Options Post Options   Thanks (0) Thanks(0)   Quote lyndonje Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2006 at 12:21pm
Wouldn't that cause the Forced Whitelist on the destination server to be over written by the source server? And potentially delete user whitelisted addresses?
Back to Top
WebGuyz View Drop Down
Senior Member
Senior Member


Joined: 09 May 2005
Location: United States
Status: Offline
Points: 348
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebGuyz Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2006 at 12:35pm

You can set up rules (see below in red from robocopy docs) so that the most current file is propagated either way. Robocopy is more than just a one way src to dest copy. You would set up 2 rules, one to test if the src file is newer then the destination and another to test if the src file is older than the destination.

 

 

                          Exists in           Exists in           Source/Dest     Source/Dest

             File Class         Source               Destination      File Times        File Sizes

             Lonely                Yes                    No                      n/a                      n/a

             Same                 Yes                    Yes                    Equal                  Equal

             Changed          Yes                    Yes                    Equal                  Different

            Newer                 Yes                    Yes                    Source > Dest   n/a

             Older                  Yes                    Yes                    Source < Dest   n/a

             Extra                  No                      Yes                    n/a                      n/a

             Mismatched     Yes ( file)          Yes (directory)   n/a                      n/a

 

http://www.webguyz.net
Back to Top
lyndonje View Drop Down
Senior Member
Senior Member
Avatar

Joined: 31 January 2006
Location: United Kingdom
Status: Offline
Points: 192
Post Options Post Options   Thanks (0) Thanks(0)   Quote lyndonje Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2006 at 1:40pm
What if both server's whitelists are updated between robocopy intervals?
Back to Top
WebGuyz View Drop Down
Senior Member
Senior Member


Joined: 09 May 2005
Location: United States
Status: Offline
Points: 348
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebGuyz Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2006 at 1:51pm

Then you lose some data.

Maybe Roberto can address how something like this could be prevented in a multi-server setup. Maybe specifying all autowhitelistdelivery.txt updates go to one particular server when there is more then one defined.

http://www.webguyz.net
Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4106
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2006 at 4:07pm
lyndonje,

There was a similar discussion recently, even though from the thread's title it's impossible to guess that issue with multiple servers would be dealt with... It's at:
http://www.logsat.com/spamfilter/forums/forum_posts.asp?TID= 5464#7223

Our suggestion if users wish to maintain the same black/whitelists is to use Windows File Replication. The main points in the other thread are:
=============
Going back to your question regarding sharing the whitelist/blacklist files, whether the installs are on a single server or separate servers, perhaps the simplest way to proceed is with Window's File Replication. If you configure the folders containing the black/white lists on each SpamFilter installation for file replication, each time *any* of these files is updated, the updated file will be pushed to the other directories. SpamFilter continuosly monitors is configuration files for changes, and when a change does occur, the updated file is automatically re-imported. This allows each SpamFilter instance to have its "local" files, and also allows any change on any SpamFilter file to be propagated to the other installs.

The database should not be an issue. We do support multiple instances of SpamFilter all sharing the same database. This happens in the background, we don't "bother" administrators with the setup, but everytime you install a new SpamFilter, the instance adds itself to the "tblServers" table in the database. This table contains all the SpamFilter instances that connect to it. Furthermore, each quarantined message has a "ServerID" field to mark which SpamFilter instance has quarantined that message. When a message is tagged by a user for delivery, thanks to this "mark", the correct SpamFilter server that originally quarantined the message will be delivering it.
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
lyndonje View Drop Down
Senior Member
Senior Member
Avatar

Joined: 31 January 2006
Location: United Kingdom
Status: Offline
Points: 192
Post Options Post Options   Thanks (0) Thanks(0)   Quote lyndonje Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2006 at 7:04pm

I have implemented DFS & FRS for other things, never come to mind in this scenario! That'll do it! Thanks.

Regards,

Lyndon.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.258 seconds.