⇤ ← Revision 1 as of 2016-04-06 14:54:09
Size: 1124
Comment:
|
Size: 1125
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
==== The "Basic" Example: Compiling and Running === | ==== The "Basic" Example: Compiling and Running ==== |
Running the Availability Management Framework (AMF) Example
The AMF provides redundancy, failure monitoring and restart for applications. To implement this, the AMF requires a description of the cluster, which is essentially a description of all the programs that should be run, whether they "understand" SAF communications, and their redundancy relationships. This is called the "cluster model" or just "model".
An example model and simple redundant "Hello World" application is included with SAFplus and is located in the source code under "examples/eval/basic" (and on download.openclovis.com). This model specifies applications that are "SAF-aware" -- that is, the applications can communicate with the AMF to receive work assignments. Another example model is also provided at "examples/eval/exampleNonSafApp" that handles "non-SAF-aware" applications. Non-SAF-aware applications do not communicate with the AMF -- they may be legacy apps, standard Linux services (e.g Apache), or applications that you do not have access to the source code.