|
|||||||||||
21.2 Enabling High Availability Features
21.2.1 High Availability OverviewHigh availability allows Moab to run on two different machines: a primary and secondary server. The configuration method to achieve this behavior takes advantage of a networked file system to configure two Moab servers with only one operating at a time. When configured to run on a networked file system—any networked file system that supports file locking is supported—the first Moab server that starts locks a particular file. The second Moab server waits on that lock and only begins scheduling when it gains control of the lock on the file. This method achieves near instantaneous turnover between failures and eliminates the need for two Moab servers to synchronize information periodically as the two Moab servers access the same database/checkpoint file. 21.2.2.1 Configuring High Availability on a Networked File SystemBecause the two Moab servers access the same files, configuration is only required in the moab.cfg file. The two hosts that run Moab must be configured with the SERVER and FBSERVER parameters. File lock is turned on using the FLAGS=filelockha parameter. Finally, the lock file is specifiled with the HALOCKFILE parameter. The following example illustrates a possible configuration: SCHEDCFG[Moab] SERVER=host1:42559 SCHEDCFG[Moab] FBSERVER=host2 SCHEDCFG[Moab] FLAGS=filelockha SCHEDCFG[Moab] HALOCKFILE=/opt/moab/.moab_lock
21.2.2.2 Confirming High Availability on a Networked File SystemAdminstrators can run the mdiag -S -v command to view which Moab server is currently scheduling and responding to client requests. 21.2.3 Other High Availability ConfigurationMoab has many features to improve the availability of a cluster beyond the ability to automatically relocate to another execution server. The following table describes some of these features.
Searches Moab documentation only
|
|||||||||||
| © 2001-2010 Adaptive Computing Enterprises, Inc. | |||||||||||