d6a242d0cf
update corosync from v2.3.3(or v2.3.4) to v2.3.5 for bnc#939328 OBS-URL: https://build.opensuse.org/request/show/318814 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=61
68 lines
2.1 KiB
Diff
68 lines
2.1 KiB
Diff
Index: corosync-2.3.3/conf/corosync.conf.example
|
|
===================================================================
|
|
--- corosync-2.3.3.orig/conf/corosync.conf.example
|
|
+++ corosync-2.3.3/conf/corosync.conf.example
|
|
@@ -9,6 +9,12 @@ totem {
|
|
crypto_cipher: none
|
|
crypto_hash: none
|
|
|
|
+ # Limit generated nodeids to 31-bits (positive signed integers)
|
|
+ # you would set it to 'yes', the new option 'new' means wiping
|
|
+ # off the highest bit in network order to avoid possible nodeid
|
|
+ # conflicting.
|
|
+ clear_node_high_bit: yes
|
|
+
|
|
# interface: define at least one interface to communicate
|
|
# over. If you define more than one interface stanza, you must
|
|
# also set rrp_mode.
|
|
@@ -58,8 +64,8 @@ logging {
|
|
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
|
|
+ #to_logfile: no
|
|
+ #logfile: /var/log/cluster/corosync.log
|
|
# 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.
|
|
@@ -77,5 +83,5 @@ logging {
|
|
quorum {
|
|
# Enable and configure quorum subsystem (default: off)
|
|
# see also corosync.conf.5 and votequorum.5
|
|
- #provider: corosync_votequorum
|
|
+ provider: corosync_votequorum
|
|
}
|
|
Index: corosync-2.3.3/conf/corosync.conf.example.udpu
|
|
===================================================================
|
|
--- corosync-2.3.3.orig/conf/corosync.conf.example.udpu
|
|
+++ corosync-2.3.3/conf/corosync.conf.example.udpu
|
|
@@ -5,6 +5,8 @@ totem {
|
|
crypto_cipher: none
|
|
crypto_hash: none
|
|
|
|
+ clear_node_high_bit: yes
|
|
+
|
|
interface {
|
|
ringnumber: 0
|
|
bindnetaddr: 10.16.35.0
|
|
@@ -16,9 +18,9 @@ totem {
|
|
|
|
logging {
|
|
fileline: off
|
|
- to_logfile: yes
|
|
+ #to_logfile: no
|
|
to_syslog: yes
|
|
- logfile: /var/log/cluster/corosync.log
|
|
+ #logfile: /var/log/cluster/corosync.log
|
|
debug: off
|
|
timestamp: on
|
|
logger_subsys {
|
|
@@ -54,5 +56,5 @@ nodelist {
|
|
quorum {
|
|
# Enable and configure quorum subsystem (default: off)
|
|
# see also corosync.conf.5 and votequorum.5
|
|
- #provider: corosync_votequorum
|
|
+ provider: corosync_votequorum
|
|
}
|