confdb_keys.8 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. .\"/*
  2. .\" * Copyright (c) 2012 Red Hat, Inc.
  3. .\" *
  4. .\" * All rights reserved.
  5. .\" *
  6. .\" * Author: Jan Friesse (jfriesse@redhat.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 Red Hat, 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 "CONFDB_KEYS" 8 "04/05/2012" "corosync Man Page" "Corosync Cluster Engine Programmer's Manual"
  35. .SH NAME
  36. .P
  37. confdb_keys \- Overview of keys stored in the Configuration Database
  38. .SH OVERVIEW
  39. .P
  40. There are roughly 3 types of keys stored in ConfDB:
  41. .PP
  42. * Values stored in config file.
  43. .PP
  44. * Runtime statistics.
  45. .PP
  46. * Other user created values.
  47. .SH OBJECTS AND KEYS
  48. .TP
  49. internal_configuration.*
  50. Internal configuration data. It's only useful for getting list of loaded services.
  51. .TP
  52. logging.*
  53. Values read from configuration file. It's possible to change them at runtime.
  54. If subsystem specific configuration is needed, each subsys must have one object with subsys
  55. key. Other keys are same as in config file.
  56. .TP
  57. runtime.blackbox.*
  58. Trigger keys for store fplay data. It's recommended to use corosync-blackbox command
  59. to change keys in this object.
  60. .TP
  61. runtime.connections.*
  62. There are informations about total number of active connections in given moment in
  63. .B active
  64. key, number of closed connections during whole runtime of corosync in
  65. .B closed
  66. key and informations about each active IPC connection.
  67. .TP
  68. runtime.connections.ID.*
  69. Each IPC connection has unique ID. This is in form [[short_name:][PID:]internal_id. On some
  70. platforms, short_name and PID are not filled and only internal_id is used.
  71. Typical keys in object are:
  72. .B client_pid
  73. containing PID of IPC connection (unavailable on some platforms).
  74. .B dispatched
  75. with number of dispatched messages.
  76. .B invalid_request
  77. is number of requests made by IPC which are invalid (calling non-existing call, ...).
  78. .B name
  79. containing short name of IPC connection (unavailable on some platforms).
  80. .B overload
  81. is number of requests which were not processed because of overload.
  82. .B queue_size
  83. contains number of messages in queue waiting for send.
  84. .B recv_retries
  85. is total number of interrupted receives.
  86. .B requests
  87. contains number of requests made by IPC.
  88. .B responses
  89. is number of responses sent to IPC client.
  90. .B send_retries
  91. contains total number of interrupted sends.
  92. .B service_id
  93. contains ID of service which IPC is connected to.
  94. .TP
  95. runtime.services.*
  96. Objects with statistics for service engines. Each service has it's own
  97. subobject with name SERVICE, where SERVICE is lower case
  98. name of service. Inside object is number of received and send messages
  99. by corosync engine in format runtime.services.SERVICE.EXEC_CALL.rx and
  100. runtime.services.SERVICE.EXEC_CALL.tx, where EXEC_CALL is internal id of service
  101. call (so for example 3 in cpg service is receive of multicast message from other
  102. nodes).
  103. .TP
  104. runtime.totem.pg.mrp.srp.*
  105. Object with statistics about totem.
  106. Typical keys:
  107. .B commit_entered
  108. Number of times processor entered COMMIT state.
  109. .B commit_token_lost
  110. Number of times processor lost token in COMMIT state.
  111. .B consensus_timeouts
  112. How many times processor timeouted making consensus about membership.
  113. .B continuous_gather
  114. How many times was processor not able to reach consensus.
  115. .B firewall_enabled_or_nic_failure
  116. Set to 1 when processor was not able to reach consensus for long time. Usual
  117. reason is badly configured firewall or connection failure.
  118. .B gather_entered
  119. Number of times processor entered GATHER state.
  120. .B gather_token_lost
  121. Number of times processor lost token in GATHER state.
  122. .B mcast_retx
  123. Number of retransmitted messages.
  124. .B mcast_rx
  125. Number of received multicast messages.
  126. .B mcast_tx
  127. Number of transmitted multicast messages.
  128. .B memb_commit_token_rx
  129. Number of received commit tokens.
  130. .B memb_commit_token_tx
  131. Number of transmitted commit tokens.
  132. .B memb_join_rx
  133. Number of received join messages.
  134. .B memb_join_tx
  135. Number of transmitted join messages.
  136. .B memb_merge_detect_rx
  137. Number of received member merge messages.
  138. .B memb_merge_detect_tx
  139. Number of transmitted member merge messages.
  140. .B orf_token_rx
  141. Number of received orf tokens.
  142. .B orf_token_tx
  143. Number of transmitted orf tokens.
  144. .B recovery_entered
  145. Number of times processor entered recovery.
  146. .B recovery_token_lost
  147. Number of times token was lost in recovery state.
  148. .B rx_msg_dropped
  149. Number of received messages which was dropped because they were not expected
  150. (as example multicast message in commit state).
  151. .B token_hold_cancel_rx
  152. Number of received token hold cancel messages.
  153. .B token_hold_cancel_tx
  154. Number of transmitted token hold cancel messages.
  155. .B mtt_rx_token
  156. Mean transit time of token in milliseconds. In other words, time between
  157. two consecutive token receives.
  158. .B avg_token_workload
  159. Average time in milliseconds of holding time of token on current processor.
  160. .B avg_backlog_calc
  161. Average number of not yet sent messages of current processor.
  162. .TP
  163. runtime.totem.pg.mrp.srp.members.*
  164. Object containing members of totem single ring protocol. Each member
  165. key has format runtime.totem.pg.mrp.srp.members.NODEID.KEY, where key is
  166. one of:
  167. .B ip
  168. IP address of member. It's stored in format r(RING_ID) ip(IP_ADDRESS).
  169. .B join_count
  170. Number of times processor joined membership with local processor. When
  171. processor fails and rejoins again, this value is incremented.
  172. .B status
  173. Status of processor. Can be one of joined and left.
  174. .TP
  175. resources.process.PID.*
  176. Object created by applications using SAM with ConfDB integration.
  177. It contains following keys:
  178. .B recovery
  179. Recovery policy of process. Can be one of quit or restart.
  180. .B poll_period
  181. Value passed in sam_initialize as time_interval.
  182. .B last_updated
  183. Last time when SAM received heartbeat from client.
  184. .B state
  185. State of client. Can be one of failed, stopped, running and waiting for quorum.
  186. .TP
  187. uidgid.*
  188. Informations about users/groups which are allowed to do IPC connection to
  189. corosync. Objects can contain uid and gid keys, with user and group allowed
  190. to connect corosync IPC.
  191. .SH "SEE ALSO"
  192. .BR corosync_overview (8),
  193. .BR corosync.conf (5),
  194. .BR corosync-objctl (8)