corosync.conf.5 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  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. .PP
  65. Within the
  66. .B totem
  67. directive, an interface directive is required. There is also one configuration
  68. option which is required:
  69. .PP
  70. .PP
  71. Within the
  72. .B interface
  73. sub-directive of totem there are four parameters which are required. There is
  74. one parameter which is optional.
  75. .TP
  76. ringnumber
  77. This specifies the ring number for the interface. When using the redundant
  78. ring protocol, each interface should specify separate ring numbers to uniquely
  79. identify to the membership protocol which interface to use for which redundant
  80. ring. The ringnumber must start at 0.
  81. .TP
  82. bindnetaddr
  83. This specifies the network address the corosync executive should bind
  84. to.
  85. bindnetaddr should be an IP address configured on the system, or a network
  86. address.
  87. For example, if the local interface is 192.168.5.92 with netmask
  88. 255.255.255.0, you should set bindnetaddr to 192.168.5.92 or 192.168.5.0.
  89. If the local interface is 192.168.5.92 with netmask 255.255.255.192,
  90. set bindnetaddr to 192.168.5.92 or 192.168.5.64, and so forth.
  91. This may also be an IPV6 address, in which case IPV6 networking will be used.
  92. In this case, the exact address must be specified and there is no automatic
  93. selection of the network interface within a specific subnet as with IPv4.
  94. If IPv6 networking is used, the nodeid field in nodelist must be specified.
  95. .TP
  96. broadcast
  97. This is optional and can be set to yes. If it is set to yes, the broadcast
  98. address will be used for communication. If this option is set, mcastaddr
  99. should not be set.
  100. .TP
  101. mcastaddr
  102. This is the multicast address used by corosync executive. The default
  103. should work for most networks, but the network administrator should be queried
  104. about a multicast address to use. Avoid 224.x.x.x because this is a "config"
  105. multicast address.
  106. This may also be an IPV6 multicast address, in which case IPV6 networking
  107. will be used. If IPv6 networking is used, the nodeid field in nodelist must
  108. be specified.
  109. It's not needed to use this option if cluster_name option is used. If both options
  110. are used, mcastaddr has higher priority.
  111. .TP
  112. mcastport
  113. This specifies the UDP port number. It is possible to use the same multicast
  114. address on a network with the corosync services configured for different
  115. UDP ports.
  116. Please note corosync uses two UDP ports mcastport (for mcast receives) and
  117. mcastport - 1 (for mcast sends).
  118. If you have multiple clusters on the same network using the same mcastaddr
  119. please configure the mcastports with a gap.
  120. .TP
  121. ttl
  122. This specifies the Time To Live (TTL). If you run your cluster on a routed
  123. network then the default of "1" will be too small. This option provides
  124. a way to increase this up to 255. The valid range is 0..255.
  125. Note that this is only valid on multicast transport types.
  126. .PP
  127. .PP
  128. Within the
  129. .B totem
  130. directive, there are seven configuration options of which one is required,
  131. five are optional, and one is required when IPV6 is configured in the interface
  132. subdirective. The required directive controls the version of the totem
  133. configuration. The optional option unless using IPV6 directive controls
  134. identification of the processor. The optional options control secrecy and
  135. authentication, the redundant ring mode of operation and maximum network MTU
  136. field.
  137. .TP
  138. version
  139. This specifies the version of the configuration file. Currently the only
  140. valid version for this directive is 2.
  141. .PP
  142. clear_node_high_bit
  143. This configuration option is optional and is only relevant when no nodeid is
  144. specified. Some corosync clients require a signed 32 bit nodeid that is greater
  145. than zero however by default corosync uses all 32 bits of the IPv4 address space
  146. when generating a nodeid. Set this option to yes to force the high bit to be
  147. zero and therefor ensure the nodeid is a positive signed 32 bit integer.
  148. WARNING: The clusters behavior is undefined if this option is enabled on only
  149. a subset of the cluster (for example during a rolling upgrade).
  150. .TP
  151. crypto_hash
  152. This specifies which HMAC authentication should be used to authenticate all
  153. messages. Valid values are none (no authentication), md5, sha1, sha256,
  154. sha384 and sha512.
  155. The default is sha1.
  156. .TP
  157. crypto_cipher
  158. This specifies which cipher should be used to encrypt all messages.
  159. Valid values are none (no encryption), aes256, aes192, aes128 and 3des.
  160. Enabling crypto_cipher, requires also enabling of crypto_hash.
  161. The default is aes256.
  162. .TP
  163. secauth
  164. This specifies that HMAC/SHA1 authentication should be used to authenticate
  165. all messages. It further specifies that all data should be encrypted with the
  166. nss library and aes256 encryption algorithm to protect data from eavesdropping.
  167. Enabling this option adds a encryption header to every message sent by totem which
  168. reduces total throughput. Also encryption and authentication consume extra CPU
  169. cycles in corosync.
  170. The default is on.
  171. WARNING: This parameter is deprecated. It's recomended to use combination of
  172. crypto_cipher and crypto_hash.
  173. .TP
  174. rrp_mode
  175. This specifies the mode of redundant ring, which may be none, active, or
  176. passive. Currently only 'passive' is supported or tested
  177. (using 'active' is not recommended). Active replication offers
  178. slightly lower latency from transmit to delivery in faulty network
  179. environments but with less performance.
  180. Passive replication may nearly double the speed of the totem protocol
  181. if the protocol doesn't become cpu bound. The final option is none, in
  182. which case only one network interface will be used to operate the totem
  183. protocol.
  184. If only one interface directive is specified, none is automatically chosen.
  185. If multiple interface directives are specified, only active or passive may
  186. be chosen.
  187. The maximum number of interface directives that is allowed for either
  188. modes (active or passive) is 2.
  189. When using multiple interfaces, make sure to use different multicast
  190. address/port (port for same address must differ by at least two) pair
  191. for each interface (this is checked by parser) to make rrp works.
  192. .TP
  193. netmtu
  194. This specifies the network maximum transmit unit. To set this value beyond
  195. 1500, the regular frame MTU, requires ethernet devices that support large, or
  196. also called jumbo, frames. If any device in the network doesn't support large
  197. frames, the protocol will not operate properly. The hosts must also have their
  198. mtu size set from 1500 to whatever frame size is specified here.
  199. Please note while some NICs or switches claim large frame support, they support
  200. 9000 MTU as the maximum frame size including the IP header. Setting the netmtu
  201. and host MTUs to 9000 will cause totem to use the full 9000 bytes of the frame.
  202. Then Linux will add a 18 byte header moving the full frame size to 9018. As a
  203. result some hardware will not operate properly with this size of data. A netmtu
  204. of 8982 seems to work for the few large frame devices that have been tested.
  205. Some manufacturers claim large frame support when in fact they support frame
  206. sizes of 4500 bytes.
  207. When sending multicast traffic, if the network frequently reconfigures, chances are
  208. that some device in the network doesn't support large frames.
  209. Choose hardware carefully if intending to use large frame support.
  210. The default is 1500.
  211. .TP
  212. transport
  213. This directive controls the transport mechanism used. If the interface to
  214. which corosync is binding is an RDMA interface such as RoCEE or Infiniband, the
  215. "iba" parameter may be specified. To avoid the use of multicast entirely, a
  216. unicast transport parameter "udpu" can be specified. This requires specifying
  217. the list of members in nodelist directive, that could potentially make up
  218. the membership before deployment.
  219. The default is udp. The transport type can also be set to udpu or iba.
  220. .TP
  221. cluster_name
  222. This specifies the name of cluster and it's used for automatic generating
  223. of multicast address.
  224. .TP
  225. config_version
  226. This specifies version of config file. This is converted to unsigned 64-bit int.
  227. By default it's 0. Option is used to prevent joining old nodes with not
  228. up-to-date configuration. If value is not 0, and node is going for first time
  229. (only for first time, join after split doesn't follow this rules)
  230. from single-node membership to multiple nodes membership, other nodes
  231. config_versions are collected. If current node config_version is not
  232. equal to highest of collected versions, corosync is terminated.
  233. .TP
  234. ip_version
  235. Specifies version of IP to use for communication. Value can be one of
  236. ipv4 or ipv6. Default (if unspecified) is ipv4.
  237. Within the
  238. .B totem
  239. directive, there are several configuration options which are used to control
  240. the operation of the protocol. It is generally not recommended to change any
  241. of these values without proper guidance and sufficient testing. Some networks
  242. may require larger values if suffering from frequent reconfigurations. Some
  243. applications may require faster failure detection times which can be achieved
  244. by reducing the token timeout.
  245. .TP
  246. token
  247. This timeout is used directly or as a base for real token timeout calculation (explained in
  248. .B token_coefficient
  249. section). Token timeout specifies in milliseconds until a token loss is declared after not
  250. receiving a token. This is the time spent detecting a failure of a processor
  251. in the current configuration. Reforming a new configuration takes about 50
  252. milliseconds in addition to this timeout.
  253. For real token timeout used by totem it's possible to read cmap value of
  254. .B runtime.config.token
  255. key.
  256. The default is 1000 milliseconds.
  257. .TP
  258. token_coefficient
  259. This value is used only when
  260. .B nodelist
  261. section is specified and contains at least 3 nodes. If so, real token timeout
  262. is then computed as token + (number_of_nodes - 2) * token_coefficient.
  263. This allows cluster to scale without manually changing token timeout
  264. every time new node is added. This value can be set to 0 resulting
  265. in effective removal of this feature.
  266. The default is 650 milliseconds.
  267. .TP
  268. token_retransmit
  269. This timeout specifies in milliseconds after how long before receiving a token
  270. the token is retransmitted. This will be automatically calculated if token
  271. is modified. It is not recommended to alter this value without guidance from
  272. the corosync community.
  273. The default is 238 milliseconds.
  274. .TP
  275. hold
  276. This timeout specifies in milliseconds how long the token should be held by
  277. the representative when the protocol is under low utilization. It is not
  278. recommended to alter this value without guidance from the corosync community.
  279. The default is 180 milliseconds.
  280. .TP
  281. token_retransmits_before_loss_const
  282. This value identifies how many token retransmits should be attempted before
  283. forming a new configuration. If this value is set, retransmit and hold will
  284. be automatically calculated from retransmits_before_loss and token.
  285. The default is 4 retransmissions.
  286. .TP
  287. join
  288. This timeout specifies in milliseconds how long to wait for join messages in
  289. the membership protocol.
  290. The default is 50 milliseconds.
  291. .TP
  292. send_join
  293. This timeout specifies in milliseconds an upper range between 0 and send_join
  294. to wait before sending a join message. For configurations with less than
  295. 32 nodes, this parameter is not necessary. For larger rings, this parameter
  296. is necessary to ensure the NIC is not overflowed with join messages on
  297. formation of a new ring. A reasonable value for large rings (128 nodes) would
  298. be 80msec. Other timer values must also change if this value is changed. Seek
  299. advice from the corosync mailing list if trying to run larger configurations.
  300. The default is 0 milliseconds.
  301. .TP
  302. consensus
  303. This timeout specifies in milliseconds how long to wait for consensus to be
  304. achieved before starting a new round of membership configuration. The minimum
  305. value for consensus must be 1.2 * token. This value will be automatically
  306. calculated at 1.2 * token if the user doesn't specify a consensus value.
  307. For two node clusters, a consensus larger than the join timeout but less than
  308. token is safe. For three node or larger clusters, consensus should be larger
  309. than token. There is an increasing risk of odd membership changes, which still
  310. guarantee virtual synchrony, as node count grows if consensus is less than
  311. token.
  312. The default is 1200 milliseconds.
  313. .TP
  314. merge
  315. This timeout specifies in milliseconds how long to wait before checking for
  316. a partition when no multicast traffic is being sent. If multicast traffic
  317. is being sent, the merge detection happens automatically as a function of
  318. the protocol.
  319. The default is 200 milliseconds.
  320. .TP
  321. downcheck
  322. This timeout specifies in milliseconds how long to wait before checking
  323. that a network interface is back up after it has been downed.
  324. The default is 1000 milliseconds.
  325. .TP
  326. fail_recv_const
  327. This constant specifies how many rotations of the token without receiving any
  328. of the messages when messages should be received may occur before a new
  329. configuration is formed.
  330. The default is 2500 failures to receive a message.
  331. .TP
  332. seqno_unchanged_const
  333. This constant specifies how many rotations of the token without any multicast
  334. traffic should occur before the hold timer is started.
  335. The default is 30 rotations.
  336. .TP
  337. heartbeat_failures_allowed
  338. [HeartBeating mechanism]
  339. Configures the optional HeartBeating mechanism for faster failure detection. Keep in
  340. mind that engaging this mechanism in lossy networks could cause faulty loss declaration
  341. as the mechanism relies on the network for heartbeating.
  342. So as a rule of thumb use this mechanism if you require improved failure in low to
  343. medium utilized networks.
  344. This constant specifies the number of heartbeat failures the system should tolerate
  345. before declaring heartbeat failure e.g 3. Also if this value is not set or is 0 then the
  346. heartbeat mechanism is not engaged in the system and token rotation is the method
  347. of failure detection
  348. The default is 0 (disabled).
  349. .TP
  350. max_network_delay
  351. [HeartBeating mechanism]
  352. This constant specifies in milliseconds the approximate delay that your network takes
  353. to transport one packet from one machine to another. This value is to be set by system
  354. engineers and please don't change if not sure as this effects the failure detection
  355. mechanism using heartbeat.
  356. The default is 50 milliseconds.
  357. .TP
  358. window_size
  359. This constant specifies the maximum number of messages that may be sent on one
  360. token rotation. If all processors perform equally well, this value could be
  361. large (300), which would introduce higher latency from origination to delivery
  362. for very large rings. To reduce latency in large rings(16+), the defaults are
  363. a safe compromise. If 1 or more slow processor(s) are present among fast
  364. processors, window_size should be no larger than 256000 / netmtu to avoid
  365. overflow of the kernel receive buffers. The user is notified of this by
  366. the display of a retransmit list in the notification logs. There is no loss
  367. of data, but performance is reduced when these errors occur.
  368. The default is 50 messages.
  369. .TP
  370. max_messages
  371. This constant specifies the maximum number of messages that may be sent by one
  372. processor on receipt of the token. The max_messages parameter is limited to
  373. 256000 / netmtu to prevent overflow of the kernel transmit buffers.
  374. The default is 17 messages.
  375. .TP
  376. miss_count_const
  377. This constant defines the maximum number of times on receipt of a token
  378. a message is checked for retransmission before a retransmission occurs. This
  379. parameter is useful to modify for switches that delay multicast packets
  380. compared to unicast packets. The default setting works well for nearly all
  381. modern switches.
  382. The default is 5 messages.
  383. .TP
  384. rrp_problem_count_timeout
  385. This specifies the time in milliseconds to wait before decrementing the
  386. problem count by 1 for a particular ring to ensure a link is not marked
  387. faulty for transient network failures.
  388. The default is 2000 milliseconds.
  389. .TP
  390. rrp_problem_count_threshold
  391. This specifies the number of times a problem is detected with a link before
  392. setting the link faulty. Once a link is set faulty, no more data is
  393. transmitted upon it. Also, the problem counter is no longer decremented when
  394. the problem count timeout expires.
  395. A problem is detected whenever all tokens from the proceeding processor have
  396. not been received within the rrp_token_expired_timeout. The
  397. rrp_problem_count_threshold * rrp_token_expired_timeout should be atleast 50
  398. milliseconds less then the token timeout, or a complete reconfiguration
  399. may occur.
  400. The default is 10 problem counts.
  401. .TP
  402. rrp_problem_count_mcast_threshold
  403. This specifies the number of times a problem is detected with multicast before
  404. setting the link faulty for passive rrp mode. This variable is unused in active
  405. rrp mode.
  406. The default is 10 times rrp_problem_count_threshold.
  407. .TP
  408. rrp_token_expired_timeout
  409. This specifies the time in milliseconds to increment the problem counter for
  410. the redundant ring protocol after not having received a token from all rings
  411. for a particular processor.
  412. This value will automatically be calculated from the token timeout and
  413. problem_count_threshold but may be overridden. It is not recommended to
  414. override this value without guidance from the corosync community.
  415. The default is 47 milliseconds.
  416. .TP
  417. rrp_autorecovery_check_timeout
  418. This specifies the time in milliseconds to check if the failed ring can be
  419. auto-recovered.
  420. The default is 1000 milliseconds.
  421. .PP
  422. Within the
  423. .B logging
  424. directive, there are several configuration options which are all optional.
  425. .PP
  426. The following 3 options are valid only for the top level logging directive:
  427. .TP
  428. timestamp
  429. This specifies that a timestamp is placed on all log messages.
  430. The default is off.
  431. .TP
  432. fileline
  433. This specifies that file and line should be printed.
  434. The default is off.
  435. .TP
  436. function_name
  437. This specifies that the code function name should be printed.
  438. The default is off.
  439. .PP
  440. The following options are valid both for top level logging directive
  441. and they can be overridden in logger_subsys entries.
  442. .TP
  443. to_stderr
  444. .TP
  445. to_logfile
  446. .TP
  447. to_syslog
  448. These specify the destination of logging output. Any combination of
  449. these options may be specified. Valid options are
  450. .B yes
  451. and
  452. .B no.
  453. The default is syslog and stderr.
  454. Please note, if you are using to_logfile and want to rotate the file, use logrotate(8)
  455. with the option
  456. .B
  457. copytruncate.
  458. eg.
  459. .ne 18
  460. .RS
  461. .nf
  462. .ft CW
  463. /var/log/corosync.log {
  464. missingok
  465. compress
  466. notifempty
  467. daily
  468. rotate 7
  469. copytruncate
  470. }
  471. .ft
  472. .fi
  473. .RE
  474. .TP
  475. logfile
  476. If the
  477. .B to_logfile
  478. directive is set to
  479. .B yes
  480. , this option specifies the pathname of the log file.
  481. No default.
  482. .TP
  483. logfile_priority
  484. This specifies the logfile priority for this particular subsystem. Ignored if debug is on.
  485. Possible values are: alert, crit, debug (same as debug = on), emerg, err, info, notice, warning.
  486. The default is: info.
  487. .TP
  488. syslog_facility
  489. This specifies the syslog facility type that will be used for any messages
  490. sent to syslog. options are daemon, local0, local1, local2, local3, local4,
  491. local5, local6 & local7.
  492. The default is daemon.
  493. .TP
  494. syslog_priority
  495. This specifies the syslog level for this particular subsystem. Ignored if debug is on.
  496. Possible values are: alert, crit, debug (same as debug = on), emerg, err, info, notice, warning.
  497. The default is: info.
  498. .TP
  499. debug
  500. This specifies whether debug output is logged for this particular logger. Also can contain
  501. value trace, what is highest level of debug information.
  502. The default is off.
  503. .PP
  504. Within the
  505. .B logging
  506. directive, logger_subsys directives are optional.
  507. .PP
  508. Within the
  509. .B logger_subsys
  510. sub-directive, all of the above logging configuration options are valid and
  511. can be used to override the default settings.
  512. The subsys entry, described below, is mandatory to identify the subsystem.
  513. .TP
  514. subsys
  515. This specifies the subsystem identity (name) for which logging is specified. This is the
  516. name used by a service in the log_init() call. E.g. 'CPG'. This directive is
  517. required.
  518. .PP
  519. Within the
  520. .B quorum
  521. directive it is possible to specify the quorum algorithm to use with the
  522. .TP
  523. provider
  524. directive. At the time of writing only corosync_votequorum is supported.
  525. See votequorum(5) for configuration options.
  526. .PP
  527. Within the
  528. .B nodelist
  529. directive it is possible to specify specific information about nodes in cluster. Directive
  530. can contain only
  531. .B node
  532. sub-directive, which specifies every node that should be a member of the membership, and where
  533. non-default options are needed. Every node must have at least ring0_addr field filled.
  534. For UDPU, every node that should be a member of the membership must be specified.
  535. Possible options are:
  536. .TP
  537. ringX_addr
  538. This specifies IP address of one of the nodes. X is ring number.
  539. .TP
  540. nodeid
  541. This configuration option is optional when using IPv4 and required when using
  542. IPv6. This is a 32 bit value specifying the node identifier delivered to the
  543. cluster membership service. If this is not specified with IPv4, the node id
  544. will be determined from the 32 bit IP address the system to which the system
  545. is bound with ring identifier of 0. The node identifier value of zero is
  546. reserved and should not be used.
  547. .PP
  548. Within the
  549. .B qb
  550. directive it is possible to specify options for libqb.
  551. Possible option is:
  552. .TP
  553. ipc_type
  554. This specifies type of IPC to use. Can be one of native (default), shm and socket.
  555. Native means one of shm or socket, depending on what is supported by OS. On systems
  556. with support for both, SHM is selected. SHM is generally faster, but need to allocate
  557. ring buffer file in /dev/shm.
  558. .PP
  559. Within the
  560. .B resources
  561. directive it is possible to specify options for resources.
  562. Possible option is:
  563. .TP
  564. watchdog_device
  565. This configuration option controls which watchdog device corosync try to bind to.
  566. The default value is /dev/watchdog. The value "no" disables the watchdog feature.
  567. .SH "FILES"
  568. .TP
  569. /etc/corosync/corosync.conf
  570. The corosync executive configuration file.
  571. .SH "SEE ALSO"
  572. .BR corosync_overview (8),
  573. .BR votequorum (5),
  574. .BR corosync-qdevice (8),
  575. .BR logrotate (8)
  576. .PP