2 .\" * Copyright (c) 2006 Ericsson AB.
4 .\" * All rights reserved.
6 .\" * Author: Hans Feldt (Hans.Feldt at ericsson.com)
8 .\" * This software licensed under BSD license, the text of which follows:
10 .\" * Redistribution and use in source and binary forms, with or without
11 .\" * modification, are permitted provided that the following conditions are met:
13 .\" * - Redistributions of source code must retain the above copyright notice,
14 .\" * this list of conditions and the following disclaimer.
15 .\" * - Redistributions in binary form must reproduce the above copyright notice,
16 .\" * this list of conditions and the following disclaimer in the documentation
17 .\" * and/or other materials provided with the distribution.
18 .\" * - Neither the name of the MontaVista Software, Inc. nor the names of its
19 .\" * contributors may be used to endorse or promote products derived from this
20 .\" * software without specific prior written permission.
22 .\" * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23 .\" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 .\" * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 .\" * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26 .\" * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27 .\" * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28 .\" * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29 .\" * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30 .\" * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 .\" * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
32 .\" * THE POSSIBILITY OF SUCH DAMAGE.
35 .TH AMF.CONF 5 2006-08-29 "openais Man Page"
38 amf.conf - openais AMF configuration file
42 is the configuration file that determines the behaviour of the AIS Availability
43 Management Framework service, AMF in the openais implementation.
45 Entries in this file will for example determine what applications AMF will start
46 and how to supervise them.
48 By default AMF opens /etc/ais/amf.conf. The environment variable
50 OPENAIS_AMF_CONFIG_FILE
51 can be set to the pathname of an AMF configuration file to override
52 the default behaviour.
54 Any line whose first non-white-space character is
55 a '#' is considered a comment line. Empty lines are ignored.
57 The file contains object entries of the form:
62 <Object Class> = <Object Name> {
75 Object entries are nested, one entry contains another entry. This way relations
76 between objects are built up. For example a component object defined inside a
77 Software Unit (SU) object means that the component belongs to the SU. In other
78 words, the SU is composed of the component. See the example configuration file.
80 The relation between objects has to comply with the AMF model specified in [5].
82 Object names shall use only printable ASCII characters. Object names shall be
83 unique within its context, i.e. two components within the same service unit has
84 to have different names, but can have the same name as another component within
87 Attribute names are consistent with the naming of the configuration attributes
90 AMF object attributes are either configuration or runtime attributes. The AMF
91 configuration file is used to specify configuration attributes. Some configuration
92 attributes have default values and does not need to be specified. Others are not
93 valid in certain redundancy models and so on.
95 The type of an attribute value is either a string, a number, a time or an
96 enumeration. Enumeration values are specified according to the type definition
97 in the AIS specification. Time values are specified in milliseconds.
99 Multivalue attributes are specified using multiple entries with the same
100 attribute name but different values. See the example configuration file.
102 The (RDN) value of 'safAmfNode' is a logical name for an AMF node. It is mapped
103 to a real physical node using the attribute 'saAmfNodeClmNode'.
105 The value of the attribute 'saAmfNodeClmNode' should be the hostname (without
106 domain name) as given to the host at boot time. This name is returned by the
107 shell command 'hostname'.
109 Currently, AMF is enabled/disabled by an entry in the openais.conf file, see [1].
110 It is default disabled.
113 The following list of attributes is currently supported:
117 .B saAmfClusterStartupTimeout
124 .B saAmfNodeSuFailOverProb
125 Required but not used.
127 .B saAmfNodeSuFailoverMax
128 Required but not used.
133 A path added to all CLC-CLI scripts
135 .B saAmfSIProtectedbySG
136 Required when several SGs are specified
143 Required but not used.
147 .B saAmfSGRedundancyModel
148 Currently only 'nplusm' is supported, required.
150 .B saAmfSGNumPrefActiveSUs
152 .B saAmfSGNumPrefStandbySUs
154 .B saAmfSGMaxActiveSIsperSUs
156 .B saAmfSGMaxStandbySIsperSUs
158 .B saAmfSGCompRestartProb
159 Required but not used.
161 .B saAmfSGCompRestartMax
163 .B saAmfSGSuRestartProb
164 Required but not used.
166 .B saAmfSGAutoAdjustProb
167 Required but not used.
169 .B saAmfSGSuRestartMax
173 .B saAmfSUNumComponents
174 Required but not used.
177 Required but not used.
180 Required but not used.
182 .B saAmfSUHostedByNode
183 Required. Set to AMF node name. Note: this is a deviation from the specification.
192 .B saAmfCompCapability
193 Required but not used.
195 .B saAmfCompNumMaxActiveCsi
196 Required but not used.
198 .B saAmfCompNumMaxStandbyCsi
199 Required but not used.
204 .B saAmfCompDefaultClcCliTimeout
205 Required but not used.
207 .B saAmfCompDefaultCallbackTimeOut
208 Required but not used.
210 .B saAmfCompInstantiateCmdArgv
212 .B saAmfCompInstantiateCmd
214 .B saAmfCompTerminateCmdArgv
215 Required but not used.
217 .B saAmfCompTerminateCmd
218 Required but not used.
220 .B saAmfCompCleanupCmdArgv
222 .B saAmfCompCleanupCmd
224 .B saAmfCompRecoveryOnError
225 Required but not used.
229 .B saAmfHealthcheckPeriod
231 .B saAmfHealthcheckMaxDuration
235 .B saAmfSIPrefActiveAssignments
237 .B saAmfSIPrefStandbyAssignments
246 Hans.Feldt at ericsson.com
249 For an AMF configuration file example, see the amf.conf file under the openais
257 /etc/ais/openais.conf
262 [2] openais_overview (8)
266 [4] www.saforum.org - SAI-XMI-A.01.01.xml.xip
268 [5] www.saforum.org - SAI-Overview.B.02.01.pdf
270 [6] www.saforum.org - SAI-AIS-AMF-B.02.01.pdf