[Openais] Proposed change to default nodeid generation

Andrew Beekhof beekhof at gmail.com
Wed Oct 1 02:11:21 PDT 2008


And here is the man page update for the proposed option:

diff -r aee315de8bf2 man/openais.conf.5
--- a/man/openais.conf.5	Tue Sep 23 20:37:35 2008 +0200
+++ b/man/openais.conf.5	Wed Oct 01 11:08:55 2008 +0200
@@ -133,6 +133,17 @@ will be determined from the 32 bit IP ad
 will be determined from the 32 bit IP address the system to which the system
 is bound with ring identifier of 0.  The node identifier value of zero is
 reserved and should not be used.
+
+.TP
+clear_node_high_bit
+This configuration option is optional and is only relevant when no nodeid is
+specified.  Some openais clients require a signed 32 bit nodeid that is greater
+than zero however by default openais uses all 32 bits of the IPv4 address space
+when generating a nodeid.  Set this option to yes to force the high bit to be
+zero and therefor ensure the nodeid is a positive signed 32 bit integer.
+
+WARNING: The cluster's behavior is undefined if this option is enabled on only
+a subset of the cluster nodes (for example during a rolling upgrade).

 .TP
 secauth


More information about the Openais mailing list