1# Please read the corosync.conf.5 manual page 2totem { 3 version: 2 4 5 # Set name of the cluster 6 cluster_name: testCluster 7 8 # crypto_cipher and crypto_hash: Used for mutual node authentication. 9 # If you choose to enable this, then do remember to create a shared 10 # secret with "corosync-keygen". 11 # enabling crypto_cipher, requires also enabling of crypto_hash. 12 # crypto works only with knet transport 13 crypto_cipher: none 14 crypto_hash: none 15} 16 17logging { 18 # Log the source file and line where messages are being 19 # generated. When in doubt, leave off. Potentially useful for 20 # debugging. 21 fileline: off 22 # Log to standard error. When in doubt, set to yes. Useful when 23 # running in the foreground (when invoking "corosync -f") 24 to_stderr: yes 25 # Log to a log file. When set to "no", the "logfile" option 26 # must not be set. 27 to_logfile: yes 28 logfile: /var/log/cluster/corosync.log 29 # Log to the system log daemon. When in doubt, set to yes. 30 to_syslog: yes 31 # Log debug messages (very verbose). When in doubt, leave off. 32 debug: off 33 # Log messages with time stamps. When in doubt, set to hires (or on) 34 #timestamp: hires 35 logger_subsys { 36 subsys: QUORUM 37 debug: off 38 } 39} 40 41quorum { 42 # Enable and configure quorum subsystem (default: off) 43 # see also corosync.conf.5 and votequorum.5 44 provider: corosync_votequorum 45} 46 47nodelist { 48 # Change/uncomment/add node sections to match cluster configuration 49 50 node { 51 # Hostname of the node 52 name: node1 53 # Cluster membership node identifier 54 nodeid: 1 55 # Address of first link 56 ring0_addr: 127.0.0.1 57 # When knet transport is used it's possible to define up to 8 links 58 #ring1_addr: 192.168.1.1 59 } 60 # ... 61} 62