Advertisement
vobelic

corosync.conf

Jun 28th, 2015
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. totem {
  2. #The maximum number of messages that may be sent by one processor on receipt of the token.
  3. max_messages: 20
  4.  
  5. #The virtual synchrony filter type used to indentify a primary component. Change with care.
  6. vsftype: none
  7.  
  8. #Used for mutual node authentication
  9. crypto_cipher: none
  10.  
  11. #HMAC/SHA1 should be used to authenticate all message
  12. secauth: on
  13.  
  14. #How many token retransmits should be attempted before forming a new configuration.
  15. token_retransmits_before_loss_const: 10
  16.  
  17. #How many threads should be used to encypt and sending message. Only have meanings when secauth is turned on
  18. threads: 16
  19.  
  20. interface {
  21. #Network Address to be bind for this interface setting
  22. bindnetaddr: 172.23.59.0
  23.  
  24. #The multicast port to be used
  25. mcastport: 5405
  26.  
  27. #The ringnumber assigned to this interface setting
  28. ringnumber: 0
  29.  
  30. #Time-to-live for cluster communication packets
  31. ttl: 1
  32.  
  33. }
  34. interface {
  35. #Network Address to be bind for this interface setting
  36. bindnetaddr: 10.99.99.0
  37.  
  38. #The multicast port to be used
  39. mcastport: 5405
  40.  
  41. #The ringnumber assigned to this interface setting
  42. ringnumber: 1
  43.  
  44. }
  45. #How long to wait for consensus to be achieved before starting a new round of membership configuration.
  46. consensus: 6000
  47.  
  48. #To make sure the auto-generated nodeid is positive
  49. clear_node_high_bit: yes
  50.  
  51. #Used for mutual node authentication
  52. crypto_hash: none
  53.  
  54. #The mode for redundant ring. None is used when only 1 interface specified, otherwise, only active or passive may be choosen
  55. rrp_mode: active
  56.  
  57. #How long to wait for join messages in membership protocol. in ms
  58. join: 60
  59.  
  60.  
  61. #This specifies the name of cluster
  62. cluster_name: fs009
  63.  
  64. #Timeout for a token lost. in ms
  65. token: 5000
  66.  
  67. #The only valid version is 2
  68. version: 2
  69.  
  70. #Transport protocol
  71. transport: udpu
  72.  
  73. }
  74. nodelist {
  75. node {
  76. #ring0 address
  77. ring0_addr: fs009a
  78.  
  79. #ring1 address
  80. ring1_addr: fs009a-2
  81.  
  82. }
  83. node {
  84. #ring0 address
  85. ring0_addr: fs009b
  86.  
  87. #ring1 address
  88. ring1_addr: fs009b-2
  89.  
  90. }
  91. }
  92. logging {
  93. #Log to a specified file
  94. to_logfile: no
  95.  
  96. #Log timestamp as well
  97. timestamp: on
  98.  
  99. #Facility in syslog
  100. syslog_facility: daemon
  101.  
  102. logger_subsys {
  103. #Enable debug for this logger.
  104.  
  105. debug: on
  106.  
  107. #This specifies the subsystem identity (name) for which logging is specified
  108.  
  109. subsys: QUORUM
  110.  
  111. }
  112. #Log to syslog
  113. to_syslog: yes
  114.  
  115. #Whether or not turning on the debug information in the log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement