Advertisement
amartin

corosync.conf

Oct 31st, 2012
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. totem {
  2. version: 2
  3.  
  4. # crypto_cipher and crypto_hash: Used for mutual node authentication.
  5. # If you choose to enable this, then do remember to create a shared
  6. # secret with "corosync-keygen".
  7. crypto_cipher: none
  8. crypto_hash: none
  9.  
  10. # This specifies the mode of redundant ring, which may be none, active, or passive.
  11. rrp_mode: active
  12.  
  13. # interface: define at least one interface to communicate
  14. # over. If you define more than one interface stanza, you must
  15. # also set rrp_mode.
  16.  
  17. interface {
  18. # the LAN
  19. ringnumber: 0
  20. bindnetaddr: 10.10.10.7
  21. mcastaddr: 226.94.1.1
  22. mcastport: 5405
  23. ttl: 1
  24. }
  25.  
  26. interface {
  27. # the STONITH network
  28. ringnumber: 1
  29. bindnetaddr: 192.168.7.0
  30. mcastaddr: 226.94.1.2
  31. mcastport: 5407
  32. ttl: 1
  33. }
  34.  
  35. }
  36.  
  37. logging {
  38. # Log the source file and line where messages are being
  39. # generated. When in doubt, leave off. Potentially useful for
  40. # debugging.
  41. fileline: off
  42. # Log to standard error. When in doubt, set to no. Useful when
  43. # running in the foreground (when invoking "corosync -f")
  44. to_stderr: no
  45. # Log to a log file. When set to "no", the "logfile" option
  46. # must not be set.
  47. to_logfile: yes
  48. logfile: /var/log/corosync.log
  49. # Log to the system log daemon. When in doubt, set to yes.
  50. to_syslog: no
  51. syslog_priority: warning
  52. # Log debug messages (very verbose). When in doubt, leave off.
  53. debug: off
  54. # Log messages with time stamps. When in doubt, set to on
  55. # (unless you are only logging to syslog, where double
  56. # timestamps can be annoying).
  57. timestamp: on
  58. logger_subsys {
  59. subsys: QUORUM
  60. debug: off
  61. }
  62. }
  63.  
  64. quorum {
  65. # Enable and configure quorum subsystem (default: off)
  66. # see also corosync.conf.5 and votequorum.5
  67. provider: corosync_votequorum
  68. expected_votes: 3
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement