amf.conf.5 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. .\"/*
  2. .\" * Copyright (c) 2006 Ericsson AB.
  3. .\" *
  4. .\" * All rights reserved.
  5. .\" *
  6. .\" * Author: Hans Feldt (Hans.Feldt at ericsson.com)
  7. .\" *
  8. .\" * This software licensed under BSD license, the text of which follows:
  9. .\" *
  10. .\" * Redistribution and use in source and binary forms, with or without
  11. .\" * modification, are permitted provided that the following conditions are met:
  12. .\" *
  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.
  21. .\" *
  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.
  33. .\" */
  34. .TH AMF.CONF 5 2006-08-29 "openais Man Page"
  35. .SH NAME
  36. amf.conf - openais AMF configuration file
  37. .SH DESCRIPTION
  38. .B amf.conf
  39. is the configuration file that determines the behaviour of the AIS Availability
  40. Management Framework service, AMF in the openais implementation.
  41. Entries in this file will for example determine what applications AMF will start
  42. and how to supervise them.
  43. .P
  44. By default AMF opens /etc/ais/amf.conf. The environment variable
  45. .B
  46. OPENAIS_AMF_CONFIG_FILE
  47. can be set to the pathname of an AMF configuration file to override
  48. the default behaviour.
  49. .P
  50. Any line whose first non-white-space character is
  51. a '#' is considered a comment line. Empty lines are ignored.
  52. .LP
  53. The file contains object entries of the form:
  54. .RS
  55. .nf
  56. .ft B
  57. .sp
  58. <Object Class> = <Object Name> {
  59. .RS
  60. .nf
  61. .ft B
  62. <attribute> = <value>
  63. .I "..."
  64. .RE
  65. }
  66. .ft R
  67. .fi
  68. .RE
  69. .LP
  70. Object entries are nested, one entry contains another entry. This way relations
  71. between objects are built up. For example a component object defined inside a
  72. Software Unit (SU) object means that the component belongs to the SU. In other
  73. words, the SU is composed of the component. See the example configuration file.
  74. The relation between objects has to comply with the AMF model specified in [5].
  75. Object names shall use only printable ASCII characters. Object names shall be
  76. unique within its context, i.e. two components within the same service unit has
  77. to have different names, but can have the same name as another component within
  78. another service unit.
  79. Attribute names are consistent with the naming of the configuration attributes
  80. in [5].
  81. AMF object attributes are either configuration or runtime attributes. The AMF
  82. configuration file is used to specify configuration attributes. Some configuration
  83. attributes have default values and does not need to be specified. Others are not
  84. valid in certain redundancy models and so on.
  85. The type of an attribute value is either a string, a number, a time or an
  86. enumeration. Enumeration values are specified according to the type definition
  87. in the AIS specification. Time values are specified in milliseconds.
  88. Multivalue attributes are specified using multiple entries with the same
  89. attribute name but different values. See the example configuration file.
  90. The (RDN) value of 'safAmfNode' is a logical name for an AMF node. It is mapped
  91. to a real physical node using the attribute 'saAmfNodeClmNode'.
  92. The value of the attribute 'saAmfNodeClmNode' should be the hostname (without
  93. domain name) as given to the host at boot time. This name is returned by the
  94. shell command 'hostname'.
  95. Currently, AMF is enabled/disabled by an entry in the openais.conf file, see [1].
  96. It is default disabled.
  97. The following list of attributes is currently supported:
  98. .TP 32
  99. .B safAmfCluster
  100. .TP
  101. .B saAmfClusterStartupTimeout
  102. .TP
  103. .B safAmfNode
  104. .TP
  105. .B saAmfNodeClmNode
  106. Host name, required
  107. .TP
  108. .B saAmfNodeSuFailOverProb
  109. Required but not used.
  110. .TP
  111. .B saAmfNodeSuFailoverMax
  112. Required but not used.
  113. .TP
  114. .B safApp
  115. .TP
  116. .B clccli_path
  117. A path added to all CLC-CLI scripts
  118. .TP
  119. .B saAmfSIProtectedbySG
  120. Required when several SGs are specified
  121. .TP
  122. .B safSg
  123. .TP
  124. .B safSi
  125. .TP
  126. .B saAmfSINumCSIs
  127. Required but not used.
  128. .TP
  129. .B safCSType
  130. .TP
  131. .B saAmfSGRedundancyModel
  132. Currently only 'nplusm' is supported, required.
  133. .TP
  134. .B saAmfSGNumPrefActiveSUs
  135. .TP
  136. .B saAmfSGNumPrefStandbySUs
  137. .TP
  138. .B saAmfSGMaxActiveSIsperSUs
  139. .TP
  140. .B saAmfSGMaxStandbySIsperSUs
  141. .TP
  142. .B saAmfSGCompRestartProb
  143. Required but not used.
  144. .TP
  145. .B saAmfSGCompRestartMax
  146. .TP
  147. .B saAmfSGSuRestartProb
  148. Required but not used.
  149. .TP
  150. .B saAmfSGAutoAdjustProb
  151. Required but not used.
  152. .TP
  153. .B saAmfSGSuRestartMax
  154. .TP
  155. .B safSu
  156. .TP
  157. .B saAmfSUNumComponents
  158. Required but not used.
  159. .TP
  160. .B saAmfSUIsExternal
  161. Required but not used.
  162. .TP
  163. .B saAmfSUFailover
  164. Required but not used.
  165. .TP
  166. .B saAmfSUHostedByNode
  167. Required. Set to AMF node name. Note: this is a deviation from the specification.
  168. .TP
  169. .B safComp
  170. .TP
  171. .B saAmfCompCsTypes
  172. Multivalue
  173. .TP
  174. .B saAmfCompCategory
  175. .TP
  176. .B saAmfCompCapability
  177. Required but not used.
  178. .TP
  179. .B saAmfCompNumMaxActiveCsi
  180. Required but not used.
  181. .TP
  182. .B saAmfCompNumMaxStandbyCsi
  183. Required but not used.
  184. .TP
  185. .B saAmfCompCmdEnv
  186. Multivalue
  187. .TP
  188. .B saAmfCompDefaultClcCliTimeout
  189. Required but not used.
  190. .TP
  191. .B saAmfCompDefaultCallbackTimeOut
  192. Required but not used.
  193. .TP
  194. .B saAmfCompInstantiateCmdArgv
  195. .TP
  196. .B saAmfCompInstantiateCmd
  197. .TP
  198. .B saAmfCompTerminateCmdArgv
  199. Required but not used.
  200. .TP
  201. .B saAmfCompTerminateCmd
  202. Required but not used.
  203. .TP
  204. .B saAmfCompCleanupCmdArgv
  205. .TP
  206. .B saAmfCompCleanupCmd
  207. .TP
  208. .B saAmfCompRecoveryOnError
  209. Required but not used.
  210. .TP
  211. .B safHealthcheckKey
  212. .TP
  213. .B saAmfHealthcheckPeriod
  214. .TP
  215. .B saAmfHealthcheckMaxDuration
  216. .TP
  217. .B safCsi
  218. .TP
  219. .B saAmfSIPrefActiveAssignments
  220. .TP
  221. .B saAmfSIPrefStandbyAssignments
  222. .TP
  223. .B saAmfCSTypeName
  224. .TP
  225. .B safCSIAttr
  226. Multivalue
  227. .SH AUTHOR
  228. Hans.Feldt at ericsson.com
  229. .SH EXAMPLE
  230. For an AMF configuration file example, see the amf.conf file under the openais
  231. .B conf
  232. directory.
  233. .SH "FILES"
  234. .TP
  235. /etc/ais/amf.conf
  236. .TP
  237. /etc/ais/openais.conf
  238. .SH "SEE ALSO"
  239. [1] openais_conf (5)
  240. .TP
  241. [2] openais_overview (8)
  242. .TP
  243. [3] README.amf
  244. .TP
  245. [4] www.saforum.org - SAI-XMI-A.01.01.xml.xip
  246. .TP
  247. [5] www.saforum.org - SAI-Overview.B.02.01.pdf
  248. .TP
  249. [6] www.saforum.org - SAI-AIS-AMF-B.02.01.pdf
  250. .PP