Index of /code/perl/takeover

      Name                    Last modified       Size  Description

[DIR] Parent Directory 11-Nov-2007 18:48 - [DIR] 0.2.0/ 19-Jun-2006 19:52 -

Some thoughts about clustered servers

Some thoughts about clustered servers

Jani Reinikainen, devel (at) reinikainen.net

26. March 2003

Normal operation



Switching over to a backup node

On backup node:

  1. Fake the IP (fake [master node IP])
  2. Check that FTPd is running
  3. Check that MTA is running
  4. Check that WWW server is running
  5. My Perl script here


Switching over from a backup node

On Master node:

  1. Check that FTPd is running
  2. Check that MTA is running
  3. Check that WWW server is running

On backup node:

  1. Close FTPd
  2. Close MTA
  3. Rsync changed data to Master
  4. Un-fake the IP (fake remove [master node IP])
  5. My Perl script here