Server Restart Sequence

From LongJump Support Wiki
Revision as of 23:04, 9 July 2010 by imported>Aeric (→‎Server Restart Sequence)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Server Restart Sequence

When an installation employs memcached, it is important to follow this sequence when restarting servers:

  1. Stop all application Servers
  2. Stop all memcached servers
  3. Start all memcached servers
  4. Start all application servers
Considerations
  • Stopping application servers ensures that they aren't adding entries to the cache.
  • Stopping memcached makes sure that the cache is flushed.
  • Those two steps can occur in either order. It is the next two for which order is critical:
  • Restarting memcached before LongJump makes sure that a clean copy of the cache is available for the application server, when it comes up.