openais.conf.5 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. .\"/*
  2. .\" * Copyright (c) 2005 MontaVista Software, Inc.
  3. .\" *
  4. .\" * All rights reserved.
  5. .\" *
  6. .\" * Author: Steven Dake (sdake@mvista.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 OPENAIS_CONF 5 2005-06-08 "openais Man Page" "Openais Programmer's Manual"
  35. .SH NAME
  36. openais.conf - openais executive configuration file
  37. .SH SYNOPSIS
  38. /etc/ais/openais.conf
  39. .SH DESCRIPTION
  40. The openais.conf instructs the openais executive about various parameters
  41. needed to control the openais executive. The configuration file consists of
  42. bracketed top level directives. The possible directive choices are
  43. .IR network { } ", " logging { } ", " timeout { } ". These directives are
  44. described below.
  45. .TP
  46. network { }
  47. This top level directive contains configuration options for the network.
  48. .TP
  49. logging { }
  50. This top level directive contains configuration options for logging.
  51. .TP
  52. timeout { }
  53. This top level directive contains configuration options for protocol timeouts.
  54. .PP
  55. .PP
  56. Within the
  57. .B network
  58. directive, there are three configuration options which are all required:
  59. .TP
  60. bindnetaddr
  61. This specifies the address which the openais executive should bind.
  62. This address should always end in zero. If the local interface traffic should
  63. be routed over 192.168.5.92, set bindnetaddr to 192.168.5.0.
  64. .TP
  65. mcastaddr
  66. This is the multicast address used by openais executive. The default
  67. should work for most networks, but the network administrator should be queried
  68. about a multicast address to use. Avoid 224.x.x.x because this is a "config"
  69. multicast address.
  70. .TP
  71. mcastport
  72. This specifies the UDP port number. It is possible to use the same multicast
  73. address on a network with the openais services configured for different
  74. UDP ports.
  75. .PP
  76. .PP
  77. Within the
  78. .B logging
  79. directive, there are four configuration options which are all optional:
  80. .TP
  81. logoutput
  82. This specifies the logging output. The choices are file, which logs to a file,
  83. stderr, which logs to stderr, and syslog which logs to the system log. It is
  84. possible to have multiple targets by including this directive with different
  85. options multiple times in the top level directive.
  86. .TP
  87. logfile
  88. If the logoutput: file directive is set, this option specifies where the
  89. log file is written to.
  90. .TP
  91. debug
  92. This specifies whether debug output is logged. This is generally a bad idea,
  93. unless there is some specific bug or problem that must be found in the
  94. executive. Set the value to on to debug, off to turn of debugging.
  95. .TP
  96. timestamp
  97. This specifies that a timestamp is placed on all log messages.
  98. .PP
  99. .PP
  100. Within the
  101. .B timeout
  102. directive, there are several configuration options which are all optional.
  103. It is generally not recommended to change any of these values. Some networks
  104. may require larger values for token or some applications may require faster
  105. failure detection times (and lower values for token).
  106. .TP
  107. token
  108. This timeout specifies in milliseconds until a token loss is declared after not
  109. receiving a token. This is the time spent detecting a failure of a processor
  110. in the current configuration. Reforming a new configuration takes about 50
  111. milliseconds and is independent of this timeout.
  112. .TP
  113. token_retransmit
  114. This timeout specifies in milliseconds after how long before receiving a token
  115. the token is retransmitted. This will be automatically calculated if token
  116. is modified. It is not recommended to alter this value without guidance from
  117. the openais community.
  118. .TP
  119. hold
  120. This timeout specifies in milliseconds how long the token should be held by
  121. the representative when the protocol is under low utilization. It is not
  122. recommended to alter this value without guidance from the openais community.
  123. .TP
  124. retransmits_before_loss
  125. This value identifies how many token retransmits should be attempted before
  126. forming a new configuration. If this value is set, retransmit and hold will
  127. be automatically calculated from retransmits_before_loss and token.
  128. .TP
  129. join
  130. This timeout specifies in milliseconds how long to wait for join messages in
  131. the membership protocol.
  132. .TP
  133. consensus
  134. This timeout specifies in milliseconds how long to wait for consensus to be
  135. achieved before starting a new round of membership configuration.
  136. .TP
  137. merge
  138. This timeout specifies in milliseconds how long to wait before checking for
  139. a partition when no multicast traffic is being sent. If multicast traffic
  140. is being sent, the merge detection happens automatically as a function of
  141. the protocol.
  142. .TP
  143. downcheck
  144. This timeout specifies in milliseconds how long to wait before checking
  145. that a network interface is back up after it has been downed.
  146. .TP
  147. fail_recv_const
  148. This value identifies how many rotations of the token without receiving any
  149. of the messages may occur before a new configuration is formed.
  150. .SH "FILES"
  151. .TP
  152. /etc/ais/openais.conf
  153. The openais executive configuration file.
  154. .SH "SEE ALSO"
  155. .BR openais_overview (8)
  156. .PP