| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- module Test_corosync =
- let conf = "# Please read the corosync.conf.5 manual page
- compatibility: whitetank
- totem {
- version: 2
- secauth: off
- crypto_type: nss
- crypto_accept: new
- threads: 0
- clear_node_high_bit: no
- rrp_mode: none
- transport: udp
- token: 1000
- interface {
- ringnumber: 0
- bindnetaddr: 192.168.122.1
- mcastaddr: 226.94.1.1
- ttl: 45
- mcastport: 5405
- }
- }
- logging {
- fileline: off
- function_name: on
- to_stderr: yes
- to_logfile: yes
- to_syslog: yes
- logfile: /tmp/corosync.log
- debug: off
- timestamp: on
- logger_subsys {
- to_syslog: no
- subsys: CPG
- debug: on
- }
- logger_subsys {
- to_stderr: no
- logfile: /tmp/corosync-msg.log
- subsys: MSG
- debug: on
- tags: enter|trace4
- }
- }
- quorum {
- provider: corosync_quorum_ykd
- expected_votes: 5
- votes: 1
- quorumdev_poll: 2
- leaving_timeout: 2
- disallowed: 0
- quorate: 1
- two_node: 0
- }
- resources {
- system {
- memory_used {
- recovery: reboot
- max: 80
- }
- load_15min {
- recovery: watchdog
- max: 8.56
- }
- }
- }
- uidgid {
- uid: 0
- gid: 0
- }
- amf {
- mode: disabled
- }\n"
- test Corosync.lns get conf =
- { "#comment" = "Please read the corosync.conf.5 manual page" }
- { "compatibility" = "whitetank" }
- { }
- { "totem"
- { "version" = "2" }
- { "secauth" = "off" }
- { "crypto_type" = "nss" }
- { "crypto_accept" = "new" }
- { "threads" = "0" }
- { "clear_node_high_bit" = "no" }
- { "rrp_mode" = "none" }
- { "transport" = "udp" }
- { "token" = "1000" }
- { "interface"
- { "ringnumber" = "0" }
- { "bindnetaddr" = "192.168.122.1" }
- { "mcastaddr" = "226.94.1.1" }
- { "ttl" = "45" }
- { "mcastport" = "5405" } } }
- { }
- { "logging"
- { "fileline" = "off" }
- { "function_name" = "on" }
- { "to_stderr" = "yes" }
- { "to_logfile" = "yes" }
- { "to_syslog" = "yes" }
- { "logfile" = "/tmp/corosync.log" }
- { "debug" = "off" }
- { "timestamp" = "on" }
- { "logger_subsys"
- { "to_syslog" = "no" }
- { "subsys" = "CPG" }
- { "debug" = "on" } }
- { "logger_subsys"
- { "to_stderr" = "no" }
- { "logfile" = "/tmp/corosync-msg.log" }
- { "subsys" = "MSG" }
- { "debug" = "on" }
- { "tags" = "enter|trace4" } } }
- { }
- { "quorum"
- { "provider" = "corosync_quorum_ykd" }
- { "expected_votes" = "5" }
- { "votes" = "1" }
- { "quorumdev_poll" = "2" }
- { "leaving_timeout" = "2" }
- { "disallowed" = "0" }
- { "quorate" = "1" }
- { "two_node" = "0" } }
- { }
- { "resources"
- { "system"
- { "memory_used"
- { "recovery" = "reboot" }
- { "max" = "80" } }
- { "load_15min"
- { "recovery" = "watchdog" }
- { "max" = "8.56" } } } }
- { }
- { "uidgid"
- { "uid" = "0" }
- { "gid" = "0" } }
- { }
- { "amf"
- { "mode" = "disabled" } }
|