corosync.conf.5 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  1. .\"/*
  2. .\" * Copyright (c) 2005 MontaVista Software, Inc.
  3. .\" * Copyright (c) 2006-2012 Red Hat, Inc.
  4. .\" *
  5. .\" * All rights reserved.
  6. .\" *
  7. .\" * Author: Steven Dake (sdake@redhat.com)
  8. .\" *
  9. .\" * This software licensed under BSD license, the text of which follows:
  10. .\" *
  11. .\" * Redistribution and use in source and binary forms, with or without
  12. .\" * modification, are permitted provided that the following conditions are met:
  13. .\" *
  14. .\" * - Redistributions of source code must retain the above copyright notice,
  15. .\" * this list of conditions and the following disclaimer.
  16. .\" * - Redistributions in binary form must reproduce the above copyright notice,
  17. .\" * this list of conditions and the following disclaimer in the documentation
  18. .\" * and/or other materials provided with the distribution.
  19. .\" * - Neither the name of the MontaVista Software, Inc. nor the names of its
  20. .\" * contributors may be used to endorse or promote products derived from this
  21. .\" * software without specific prior written permission.
  22. .\" *
  23. .\" * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  24. .\" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  25. .\" * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  26. .\" * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  27. .\" * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  28. .\" * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  29. .\" * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  30. .\" * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  31. .\" * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  32. .\" * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  33. .\" * THE POSSIBILITY OF SUCH DAMAGE.
  34. .\" */
  35. .TH COROSYNC_CONF 5 2012-10-10 "corosync Man Page" "Corosync Cluster Engine Programmer's Manual"
  36. .SH NAME
  37. corosync.conf - corosync executive configuration file
  38. .SH SYNOPSIS
  39. /etc/corosync/corosync.conf
  40. .SH DESCRIPTION
  41. The corosync.conf instructs the corosync executive about various parameters
  42. needed to control the corosync executive. Empty lines and lines starting with
  43. # character are ignored. The configuration file consists of bracketed top level
  44. directives. The possible directive choices are:
  45. .TP
  46. totem { }
  47. This top level directive contains configuration options for the totem protocol.
  48. .TP
  49. logging { }
  50. This top level directive contains configuration options for logging.
  51. .TP
  52. quorum { }
  53. This top level directive contains configuration options for quorum.
  54. .TP
  55. nodelist { }
  56. This top level directive contains configuration options for nodes in cluster.
  57. .TP
  58. qb { }
  59. This top level directive contains configuration options related to libqb.
  60. .TP
  61. resources { }
  62. This top level directive contains configuration options for resources.
  63. .PP
  64. The
  65. .B interface sub-directive of totem is optional for UDP and knet transports.
  66. For knet, multiple interface subsections define parameters for each knet link on the
  67. system.
  68. For UDPU an interface section is not needed and it is recommended that the nodelist
  69. is used to define cluster nodes.
  70. .TP
  71. linknumber
  72. This specifies the link number for the interface. When using the knet
  73. protocol, each interface should specify separate link numbers to uniquely
  74. identify to the membership protocol which interface to use for which link.
  75. The linknumber must start at 0. For UDP the only supported linknumber is 0.
  76. .TP
  77. knet_link_priority
  78. This specifies the priority for the link when knet is used in 'passive'
  79. mode. (see link_mode below)
  80. .TP
  81. knet_ping_interval
  82. This specifies the interval between knet link pings.
  83. (default 1000 ms)
  84. .TP
  85. knet_ping_timeout
  86. If no ping is received within this time, the knet link is declared dead.
  87. (default 2000 ms)
  88. .TP
  89. knet_ping_precision
  90. How many values of latency are used to calculate
  91. the average link latency. (default 2048 samples)
  92. .TP
  93. knet_pong_count
  94. How many valid ping/pongs before a link is marked UP. (default 5)
  95. .TP
  96. knet_transport
  97. Which IP transport knet should use. valid values are "sctp" or "udp". (default: udp)
  98. .TP
  99. bindnetaddr (udp only)
  100. This specifies the network address the corosync executive should bind
  101. to when using udp.
  102. bindnetaddr (udp only)
  103. should be an IP address configured on the system, or a network
  104. address.
  105. For example, if the local interface is 192.168.5.92 with netmask
  106. 255.255.255.0, you should set bindnetaddr to 192.168.5.92 or 192.168.5.0.
  107. If the local interface is 192.168.5.92 with netmask 255.255.255.192,
  108. set bindnetaddr to 192.168.5.92 or 192.168.5.64, and so forth.
  109. This may also be an IPV6 address, in which case IPV6 networking will be used.
  110. In this case, the exact address must be specified and there is no automatic
  111. selection of the network interface within a specific subnet as with IPv4.
  112. If IPv6 networking is used, the nodeid field in nodelist must be specified.
  113. .TP
  114. broadcast (udp only)
  115. This is optional and can be set to yes. If it is set to yes, the broadcast
  116. address will be used for communication. If this option is set, mcastaddr
  117. should not be set.
  118. .TP
  119. mcastaddr (udp only)
  120. This is the multicast address used by corosync executive. The default
  121. should work for most networks, but the network administrator should be queried
  122. about a multicast address to use. Avoid 224.x.x.x because this is a "config"
  123. multicast address.
  124. This may also be an IPV6 multicast address, in which case IPV6 networking
  125. will be used. If IPv6 networking is used, the nodeid field in nodelist must
  126. be specified.
  127. It's not necessary to use this option if cluster_name option is used. If both options
  128. are used, mcastaddr has higher priority.
  129. .TP
  130. mcastport (udp only)
  131. This specifies the UDP port number. It is possible to use the same multicast
  132. address on a network with the corosync services configured for different
  133. UDP ports.
  134. Please note corosync uses two UDP ports mcastport (for mcast receives) and
  135. mcastport - 1 (for mcast sends).
  136. If you have multiple clusters on the same network using the same mcastaddr
  137. please configure the mcastports with a gap.
  138. .TP
  139. ttl (udp only)
  140. This specifies the Time To Live (TTL). If you run your cluster on a routed
  141. network then the default of "1" will be too small. This option provides
  142. a way to increase this up to 255. The valid range is 0..255.
  143. .PP
  144. .PP
  145. Within the
  146. .B totem
  147. directive, there are seven configuration options of which one is required,
  148. five are optional, and one is required when IPV6 is configured in the interface
  149. subdirective. The required directive controls the version of the totem
  150. configuration. The optional option unless using IPV6 directive controls
  151. identification of the processor. The optional options control secrecy and
  152. authentication, the network mode of operation and maximum network MTU
  153. field.
  154. .TP
  155. version
  156. This specifies the version of the configuration file. Currently the only
  157. valid version for this directive is 2.
  158. .PP
  159. clear_node_high_bit
  160. This configuration option is optional and is only relevant when no nodeid is
  161. specified. Some corosync clients require a signed 32 bit nodeid that is greater
  162. than zero however by default corosync uses all 32 bits of the IPv4 address space
  163. when generating a nodeid. Set this option to yes to force the high bit to be
  164. zero and therefor ensure the nodeid is a positive signed 32 bit integer.
  165. WARNING: The clusters behavior is undefined if this option is enabled on only
  166. a subset of the cluster (for example during a rolling upgrade).
  167. .TP
  168. crypto_hash
  169. This specifies which HMAC authentication should be used to authenticate all
  170. messages. Valid values are none (no authentication), md5, sha1, sha256,
  171. sha384 and sha512. Encrypted transmission is only supported for
  172. the knet transport.
  173. The default is sha1.
  174. .TP
  175. crypto_cipher
  176. This specifies which cipher should be used to encrypt all messages.
  177. Valid values are none (no encryption), aes256, aes192, aes128 and 3des.
  178. Enabling crypto_cipher, requires also enabling of crypto_hash. Encrypted
  179. transmission is only supported for the knet transport.
  180. The default is aes256.
  181. .TP
  182. link_mode
  183. This specifies the Kronosnet mode, which may be passive, active, or
  184. rr (round-robin).
  185. .B passive:
  186. the active link with the lowest priority will be used. If one or more
  187. links share the same priority the one with the lowest link ID will
  188. be used.
  189. .B active:
  190. All active links will be used simultaneously to send traffic.
  191. link priority is ignored.
  192. .B rr:
  193. Round-Robin policy. Each packet will be sent to the next active link in
  194. order.
  195. If only one interface directive is specified, passive is automatically chosen.
  196. The maximum number of interface directives that is allowed with Kronosnet
  197. is 8. For other transports it is 1.
  198. When using multiple interfaces, make sure to use different multicast
  199. address/port (port for same address must differ by at least two) pair
  200. for each interface (this is checked by parser).
  201. .TP
  202. netmtu
  203. This specifies the network maximum transmit unit. To set this value beyond
  204. 1500, the regular frame MTU, requires ethernet devices that support large, or
  205. also called jumbo, frames. If any device in the network doesn't support large
  206. frames, the protocol will not operate properly. The hosts must also have their
  207. mtu size set from 1500 to whatever frame size is specified here.
  208. Please note while some NICs or switches claim large frame support, they support
  209. 9000 MTU as the maximum frame size including the IP header. Setting the netmtu
  210. and host MTUs to 9000 will cause totem to use the full 9000 bytes of the frame.
  211. Then Linux will add a 18 byte header moving the full frame size to 9018. As a
  212. result some hardware will not operate properly with this size of data. A netmtu
  213. of 8982 seems to work for the few large frame devices that have been tested.
  214. Some manufacturers claim large frame support when in fact they support frame
  215. sizes of 4500 bytes.
  216. When sending multicast traffic, if the network frequently reconfigures, chances are
  217. that some device in the network doesn't support large frames.
  218. Choose hardware carefully if intending to use large frame support.
  219. The default is 1500.
  220. .TP
  221. transport
  222. This directive controls the transport mechanism used.
  223. The default is knet. The transport type can also be set to udpu or udp.
  224. Only knet allows crypto or multiple interfaces per node.
  225. .TP
  226. cluster_name
  227. This specifies the name of cluster and it's used for automatic generating
  228. of multicast address.
  229. .TP
  230. config_version
  231. This specifies version of config file. This is converted to unsigned 64-bit int.
  232. By default it's 0. Option is used to prevent joining old nodes with not
  233. up-to-date configuration. If value is not 0, and node is going for first time
  234. (only for first time, join after split doesn't follow this rules)
  235. from single-node membership to multiple nodes membership, other nodes
  236. config_versions are collected. If current node config_version is not
  237. equal to highest of collected versions, corosync is terminated.
  238. .TP
  239. ip_version
  240. Specifies version of IP to use for communication. Value can be one of
  241. ipv4 or ipv6. Default (if unspecified) is ipv4.
  242. Within the
  243. .B totem
  244. directive, there are several configuration options which are used to control
  245. the operation of the protocol. It is generally not recommended to change any
  246. of these values without proper guidance and sufficient testing. Some networks
  247. may require larger values if suffering from frequent reconfigurations. Some
  248. applications may require faster failure detection times which can be achieved
  249. by reducing the token timeout.
  250. .TP
  251. token
  252. This timeout is used directly or as a base for real token timeout calculation (explained in
  253. .B token_coefficient
  254. section). Token timeout specifies in milliseconds until a token loss is declared after not
  255. receiving a token. This is the time spent detecting a failure of a processor
  256. in the current configuration. Reforming a new configuration takes about 50
  257. milliseconds in addition to this timeout.
  258. For real token timeout used by totem it's possible to read cmap value of
  259. .B runtime.config.token
  260. key.
  261. The default is 1000 milliseconds.
  262. .TP
  263. token_coefficient
  264. This value is used only when
  265. .B nodelist
  266. section is specified and contains at least 3 nodes. If so, real token timeout
  267. is then computed as token + (number_of_nodes - 2) * token_coefficient.
  268. This allows cluster to scale without manually changing token timeout
  269. every time new node is added. This value can be set to 0 resulting
  270. in effective removal of this feature.
  271. The default is 650 milliseconds.
  272. .TP
  273. token_retransmit
  274. This timeout specifies in milliseconds after how long before receiving a token
  275. the token is retransmitted. This will be automatically calculated if token
  276. is modified. It is not recommended to alter this value without guidance from
  277. the corosync community.
  278. The default is 238 milliseconds.
  279. .TP
  280. knet_compression_model
  281. The (optional) type of compression used by kronosnet. The values available depend on
  282. the build and also avaialable libraries. Typically zlib and lz4 will be available
  283. but bzip2 and others could also be allowed. The default is 'none'
  284. .TP
  285. knet_compression_threshold
  286. Tells knet to NOT compress any packets that are smaller than the value
  287. indicated. Default 100 bytes.
  288. Set to 0 to reset to the default.
  289. Set to 1 to compress everything.
  290. .TP
  291. knet_compression_level
  292. Many compression libraries allow tuning of compression parameters. For example
  293. 0 or 1 ... 9 are commonly used to determine the level of compression. This value
  294. is passed unmodified to the compression library so it is recommended to consult
  295. the library's documentation for more detailed information.
  296. .TP
  297. hold
  298. This timeout specifies in milliseconds how long the token should be held by
  299. the representative when the protocol is under low utilization. It is not
  300. recommended to alter this value without guidance from the corosync community.
  301. The default is 180 milliseconds.
  302. .TP
  303. token_retransmits_before_loss_const
  304. This value identifies how many token retransmits should be attempted before
  305. forming a new configuration. If this value is set, retransmit and hold will
  306. be automatically calculated from retransmits_before_loss and token.
  307. The default is 4 retransmissions.
  308. .TP
  309. join
  310. This timeout specifies in milliseconds how long to wait for join messages in
  311. the membership protocol.
  312. The default is 50 milliseconds.
  313. .TP
  314. send_join
  315. This timeout specifies in milliseconds an upper range between 0 and send_join
  316. to wait before sending a join message. For configurations with less than
  317. 32 nodes, this parameter is not necessary. For larger rings, this parameter
  318. is necessary to ensure the NIC is not overflowed with join messages on
  319. formation of a new ring. A reasonable value for large rings (128 nodes) would
  320. be 80msec. Other timer values must also change if this value is changed. Seek
  321. advice from the corosync mailing list if trying to run larger configurations.
  322. The default is 0 milliseconds.
  323. .TP
  324. consensus
  325. This timeout specifies in milliseconds how long to wait for consensus to be
  326. achieved before starting a new round of membership configuration. The minimum
  327. value for consensus must be 1.2 * token. This value will be automatically
  328. calculated at 1.2 * token if the user doesn't specify a consensus value.
  329. For two node clusters, a consensus larger than the join timeout but less than
  330. token is safe. For three node or larger clusters, consensus should be larger
  331. than token. There is an increasing risk of odd membership changes, which still
  332. guarantee virtual synchrony, as node count grows if consensus is less than
  333. token.
  334. The default is 1200 milliseconds.
  335. .TP
  336. merge
  337. This timeout specifies in milliseconds how long to wait before checking for
  338. a partition when no multicast traffic is being sent. If multicast traffic
  339. is being sent, the merge detection happens automatically as a function of
  340. the protocol.
  341. The default is 200 milliseconds.
  342. .TP
  343. downcheck
  344. This timeout specifies in milliseconds how long to wait before checking
  345. that a network interface is back up after it has been downed.
  346. The default is 1000 milliseconds.
  347. .TP
  348. fail_recv_const
  349. This constant specifies how many rotations of the token without receiving any
  350. of the messages when messages should be received may occur before a new
  351. configuration is formed.
  352. The default is 2500 failures to receive a message.
  353. .TP
  354. seqno_unchanged_const
  355. This constant specifies how many rotations of the token without any multicast
  356. traffic should occur before the hold timer is started.
  357. The default is 30 rotations.
  358. .TP
  359. heartbeat_failures_allowed
  360. [HeartBeating mechanism]
  361. Configures the optional HeartBeating mechanism for faster failure detection. Keep in
  362. mind that engaging this mechanism in lossy networks could cause faulty loss declaration
  363. as the mechanism relies on the network for heartbeating.
  364. So as a rule of thumb use this mechanism if you require improved failure in low to
  365. medium utilized networks.
  366. This constant specifies the number of heartbeat failures the system should tolerate
  367. before declaring heartbeat failure e.g 3. Also if this value is not set or is 0 then the
  368. heartbeat mechanism is not engaged in the system and token rotation is the method
  369. of failure detection
  370. The default is 0 (disabled).
  371. .TP
  372. max_network_delay
  373. [HeartBeating mechanism]
  374. This constant specifies in milliseconds the approximate delay that your network takes
  375. to transport one packet from one machine to another. This value is to be set by system
  376. engineers and please don't change if not sure as this effects the failure detection
  377. mechanism using heartbeat.
  378. The default is 50 milliseconds.
  379. .TP
  380. window_size
  381. This constant specifies the maximum number of messages that may be sent on one
  382. token rotation. If all processors perform equally well, this value could be
  383. large (300), which would introduce higher latency from origination to delivery
  384. for very large rings. To reduce latency in large rings(16+), the defaults are
  385. a safe compromise. If 1 or more slow processor(s) are present among fast
  386. processors, window_size should be no larger than 256000 / netmtu to avoid
  387. overflow of the kernel receive buffers. The user is notified of this by
  388. the display of a retransmit list in the notification logs. There is no loss
  389. of data, but performance is reduced when these errors occur.
  390. The default is 50 messages.
  391. .TP
  392. max_messages
  393. This constant specifies the maximum number of messages that may be sent by one
  394. processor on receipt of the token. The max_messages parameter is limited to
  395. 256000 / netmtu to prevent overflow of the kernel transmit buffers.
  396. The default is 17 messages.
  397. .TP
  398. miss_count_const
  399. This constant defines the maximum number of times on receipt of a token
  400. a message is checked for retransmission before a retransmission occurs. This
  401. parameter is useful to modify for switches that delay multicast packets
  402. compared to unicast packets. The default setting works well for nearly all
  403. modern switches.
  404. The default is 5 messages.
  405. .TP
  406. knet_pmtud_interval
  407. How often the knet PMTUd runs to look for network MTU changes.
  408. Value in seconds, default: 60
  409. .PP
  410. Within the
  411. .B logging
  412. directive, there are several configuration options which are all optional.
  413. .PP
  414. The following 3 options are valid only for the top level logging directive:
  415. .TP
  416. timestamp
  417. This specifies that a timestamp is placed on all log messages.
  418. The default is off.
  419. .TP
  420. fileline
  421. This specifies that file and line should be printed.
  422. The default is off.
  423. .TP
  424. function_name
  425. This specifies that the code function name should be printed.
  426. The default is off.
  427. .PP
  428. The following options are valid both for top level logging directive
  429. and they can be overridden in logger_subsys entries.
  430. .TP
  431. to_stderr
  432. .TP
  433. to_logfile
  434. .TP
  435. to_syslog
  436. These specify the destination of logging output. Any combination of
  437. these options may be specified. Valid options are
  438. .B yes
  439. and
  440. .B no.
  441. The default is syslog and stderr.
  442. Please note, if you are using to_logfile and want to rotate the file, use logrotate(8)
  443. with the option
  444. .B
  445. copytruncate.
  446. eg.
  447. .ne 18
  448. .RS
  449. .nf
  450. .ft CW
  451. /var/log/corosync.log {
  452. missingok
  453. compress
  454. notifempty
  455. daily
  456. rotate 7
  457. copytruncate
  458. }
  459. .ft
  460. .fi
  461. .RE
  462. .TP
  463. logfile
  464. If the
  465. .B to_logfile
  466. directive is set to
  467. .B yes
  468. , this option specifies the pathname of the log file.
  469. No default.
  470. .TP
  471. logfile_priority
  472. This specifies the logfile priority for this particular subsystem. Ignored if debug is on.
  473. Possible values are: alert, crit, debug (same as debug = on), emerg, err, info, notice, warning.
  474. The default is: info.
  475. .TP
  476. syslog_facility
  477. This specifies the syslog facility type that will be used for any messages
  478. sent to syslog. options are daemon, local0, local1, local2, local3, local4,
  479. local5, local6 & local7.
  480. The default is daemon.
  481. .TP
  482. syslog_priority
  483. This specifies the syslog level for this particular subsystem. Ignored if debug is on.
  484. Possible values are: alert, crit, debug (same as debug = on), emerg, err, info, notice, warning.
  485. The default is: info.
  486. .TP
  487. debug
  488. This specifies whether debug output is logged for this particular logger. Also can contain
  489. value trace, what is highest level of debug information.
  490. The default is off.
  491. .PP
  492. Within the
  493. .B logging
  494. directive, logger_subsys directives are optional.
  495. .PP
  496. Within the
  497. .B logger_subsys
  498. sub-directive, all of the above logging configuration options are valid and
  499. can be used to override the default settings.
  500. The subsys entry, described below, is mandatory to identify the subsystem.
  501. .TP
  502. subsys
  503. This specifies the subsystem identity (name) for which logging is specified. This is the
  504. name used by a service in the log_init() call. E.g. 'CPG'. This directive is
  505. required.
  506. .PP
  507. Within the
  508. .B quorum
  509. directive it is possible to specify the quorum algorithm to use with the
  510. .TP
  511. provider
  512. directive. At the time of writing only corosync_votequorum is supported.
  513. See votequorum(5) for configuration options.
  514. .PP
  515. Within the
  516. .B nodelist
  517. directive it is possible to specify specific information about nodes in cluster. Directive
  518. can contain only
  519. .B node
  520. sub-directive, which specifies every node that should be a member of the membership, and where
  521. non-default options are needed. Every node must have at least ring0_addr field filled.
  522. Every node that should be a member of the membership must be specified.
  523. Possible options are:
  524. .TP
  525. ringX_addr
  526. This specifies IP address of one of the nodes. X is link number.
  527. .TP
  528. nodeid
  529. This configuration option is required for each node. It is a 32 bit value
  530. specifying the node identifier delivered to the
  531. cluster membership service. The node identifier value of zero is
  532. reserved and should not be used. If knet is set, this field must be set.
  533. .PP
  534. Within the
  535. .B qb
  536. directive it is possible to specify options for libqb.
  537. Possible option is:
  538. .TP
  539. ipc_type
  540. This specifies type of IPC to use. Can be one of native (default), shm and socket.
  541. Native means one of shm or socket, depending on what is supported by OS. On systems
  542. with support for both, SHM is selected. SHM is generally faster, but need to allocate
  543. ring buffer file in /dev/shm.
  544. .PP
  545. Within the
  546. .B resources
  547. directive it is possible to specify options for resources.
  548. Possible option is:
  549. .TP
  550. watchdog_device
  551. (Valid only if Corosync was compiled with watchdog support.)
  552. .br
  553. Watchdog device to use, for example /dev/watchdog.
  554. If unset, empty or "off", no watchdog is used.
  555. .IP
  556. In a cluster with properly configured power fencing a watchdog
  557. provides no additional value. On the other hand, slow watchdog
  558. communication may incur multi-second delays in the Corosync main loop,
  559. potentially breaking down membership. IPMI watchdogs are particularly
  560. notorious in this regard: read about kipmid_max_busy_us in IPMI.txt in
  561. the Linux kernel documentation.
  562. .SH "FILES"
  563. .TP
  564. /etc/corosync/corosync.conf
  565. The corosync executive configuration file.
  566. .SH "SEE ALSO"
  567. .BR corosync_overview (8),
  568. .BR votequorum (5),
  569. .BR corosync-qdevice (8),
  570. .BR logrotate (8)
  571. .PP