4
0
Эх сурвалжийг харах

Document config_version option

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Jan Friesse 13 жил өмнө
parent
commit
28eef9d533

+ 4 - 1
man/cmap_keys.8

@@ -31,7 +31,7 @@
 .\" * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" * THE POSSIBILITY OF SUCH DAMAGE.
 .\" * THE POSSIBILITY OF SUCH DAMAGE.
 .\" */
 .\" */
-.TH "CMAP_KEYS" 8 "05/04/2012" "corosync Man Page" "Corosync Cluster Engine Programmer's Manual"
+.TH "CMAP_KEYS" 8 "10/10/2012" "corosync Man Page" "Corosync Cluster Engine Programmer's Manual"
 
 
 .SH NAME
 .SH NAME
 .P
 .P
@@ -244,6 +244,9 @@ processor fails and rejoins again, this value is incremented.
 .B status
 .B status
 Status of processor. Can be one of joined and left.
 Status of processor. Can be one of joined and left.
 
 
+.B config_version
+Config version of member node.
+
 .TP
 .TP
 resources.process.PID.*
 resources.process.PID.*
 Prefix created by applications using SAM with CMAP integration.
 Prefix created by applications using SAM with CMAP integration.

+ 11 - 1
man/corosync.conf.5

@@ -32,7 +32,7 @@
 .\" * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" * THE POSSIBILITY OF SUCH DAMAGE.
 .\" * THE POSSIBILITY OF SUCH DAMAGE.
 .\" */
 .\" */
-.TH COROSYNC_CONF 5 2012-01-12 "corosync Man Page" "Corosync Cluster Engine Programmer's Manual"
+.TH COROSYNC_CONF 5 2012-10-10 "corosync Man Page" "Corosync Cluster Engine Programmer's Manual"
 .SH NAME
 .SH NAME
 corosync.conf - corosync executive configuration file
 corosync.conf - corosync executive configuration file
 
 
@@ -258,6 +258,16 @@ cluster_name
 This specifies the name of cluster and it's used for automatic generating
 This specifies the name of cluster and it's used for automatic generating
 of multicast address.
 of multicast address.
 
 
+.TP
+config_version
+This specifies version of config file. This is converted to unsigned 64-bit int.
+By default it's 0. Option is used to prevent joining old nodes with not
+up-to-date configuration. If value is not 0, and node is going for first time
+(only for first time, join after split doesn't follow this rules)
+from single-node membership to multiple nodes membership, other nodes
+config_versions are collected. If current node config_version is not
+equal to highest of collected versions, corosync is terminated.
+
 Within the
 Within the
 .B totem
 .B totem
 directive, there are several configuration options which are used to control
 directive, there are several configuration options which are used to control