Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- totem {
- version: 2
- # crypto_cipher and crypto_hash: Used for mutual node authentication.
- # If you choose to enable this, then do remember to create a shared
- # secret with "corosync-keygen".
- crypto_cipher: none
- crypto_hash: none
- # This specifies the mode of redundant ring, which may be none, active, or passive.
- rrp_mode: active
- # interface: define at least one interface to communicate
- # over. If you define more than one interface stanza, you must
- # also set rrp_mode.
- interface {
- # the LAN
- ringnumber: 0
- bindnetaddr: 10.10.10.7
- mcastaddr: 226.94.1.1
- mcastport: 5405
- ttl: 1
- }
- interface {
- # the STONITH network
- ringnumber: 1
- bindnetaddr: 192.168.7.0
- mcastaddr: 226.94.1.2
- mcastport: 5407
- ttl: 1
- }
- }
- logging {
- # Log the source file and line where messages are being
- # generated. When in doubt, leave off. Potentially useful for
- # debugging.
- fileline: off
- # Log to standard error. When in doubt, set to no. Useful when
- # running in the foreground (when invoking "corosync -f")
- to_stderr: no
- # Log to a log file. When set to "no", the "logfile" option
- # must not be set.
- to_logfile: yes
- logfile: /var/log/corosync.log
- # Log to the system log daemon. When in doubt, set to yes.
- to_syslog: no
- syslog_priority: warning
- # Log debug messages (very verbose). When in doubt, leave off.
- debug: off
- # Log messages with time stamps. When in doubt, set to on
- # (unless you are only logging to syslog, where double
- # timestamps can be annoying).
- timestamp: on
- logger_subsys {
- subsys: QUORUM
- debug: off
- }
- }
- quorum {
- # Enable and configure quorum subsystem (default: off)
- # see also corosync.conf.5 and votequorum.5
- provider: corosync_votequorum
- expected_votes: 3
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement