# Please read the corosync.conf.5 manual page totem { version: 2 cluster_name: mycluster transport: udpu secauth: off rrp_mode: passive #rrp_mode: active } 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/cluster/corosync.log logfile_priority: err # Log to the system log daemon. When in doubt, set to yes. to_syslog: yes # 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 } nodelist { node { name: node-a nodeid: 1 ring0_addr: 169.254.0.2 ring1_addr: 169.254.1.2 } node { name: node-b nodeid: 2 ring0_addr: 169.254.0.3 ring1_addr: 169.254.1.3 } }