SteelEye 4.5.0 Work Light User Manual


 
Configuring SAMS with LifeKeeper
Figure 1 illustrates how SAMS works in a LifeKeeper environment. An
active/standby configuration means that only one instance of SAMS can run
at one time within the LifeKeeper-protected pair.
In an active/standby configuration, one server acts as a primary mailhub or
mailserver, while the other server acts as a backup mailhub or mailserver.
The primary server runs the LifeKeeper-protected SAMS daemons, accepts
client requests, and transports email over the network and locally, while the
backup server does not run the SAMS daemons. In the event of a failure, the
backup server will take over the role of the primary server. The LifeKeeper
SAMS Recovery Kit will handle the change of control of the configuration
files and the message store database, and will restart the LifeKeeper-
protected daemons on the backup server. Once the primary server is restored,
it will function in a backup capacity.
In order for any mailhub or mailserver to qualify for use in a LifeKeeper
SAMS protected environment, it must meet the following requirements:
Configuration files, message store database, and mail queues must be
located on shared disks. The SAMS Recovery Kit requires that both
servers be able to access the shared mail queue directories and the lmtp
message store.
Note: If the database and mail queues are already configured on a local
disk, then one of the alternatives is to move the directories and files to
the shared disk and link them to the local disk.
The SAMS Recovery Kit also requires a free/unused shared file system.
The shared file system is used by the SAMS Recovery Kit for the storage
of configuration files and data files. The shared file system is required so
that both the primary and backup servers can run the SAMS applications
with the same data and configurations. This file system should not be
LifeKeeper-protected prior to the creation of the SAMS resource
hierarchy.
The SAMS Recovery Kit requires an alias - or switchable - IP address,
which must be under LifeKeeper protection and be defined on both the
primary and backup server. This switchable IP address is used by the
SAMS applications to connect with clients and other servers. It is
therefore very important that SAMS be configured to eliminate the use of
the hostname and instead use the switchable IP address in all
configuration files. If the hostname is used, client connections to the
8 SAMS Recovery Kit Administration Guide