NATS Load Balancing Module

From TMM Wiki
Revision as of 12:54, 19 December 2008 by Trinidadr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
NATS 3
NATS Extras
Remote Affiliate Authentication
Shopping Cart Sales
Moving Tours, Members' Area, and Galleries
Require W-9
Admin Areas
Fraud Report
NATS Content of the Day Module
NATS Load Balancing Module
Gallery Builder Module
Build Your Own Anything Module
NATS Code Wordpress Plugin
Error_message_display
TMMid

You need either NATS2 or NATS Pro to load balance your NATS install. NATS2 has two additional licensees. NATS Pro has three additional licenses. Each server requires its own license.

Your host should setup load balancing. Please talk to them about the following points.

  1. The NATS cronjobs should only run on the MAIN server.
  2. All administration pages should only be viewed from the MAIN server
  3. All biller postbacks should be sent to the MAIN server
  4. Most files and folders should be synchronized (using the program, rsync) from that MAIN server to the other servers.
  5. The template_c directory is an exception to this. There are a few possible ways to handle this directory:
    1. On each of the load balanced servers, symlink this directory to the main servers template_c.
    2. Setup a script to rsync these files from the main server, and also to check if the files have been removed; if so, remove them.
    3. Setup a script to automatically clear the files from this directory on the other servers periodically.
  6. You should not include the backups and logs directories in the rsync.
  7. You should not include the includes/config.php, www/signup/error.log, includes/sql_failure.log, and includes/error.log in the rsync.