Blame SOURCES/bz1791792-1-man-move-cmap_keys-man-page-from-section-8-to-7.patch

354091
From f1d36307e524f9440733f0b01a9fc627a0e1cac7 Mon Sep 17 00:00:00 2001
354091
From: =?UTF-8?q?Ferenc=20W=C3=A1gner?= <wferi@debian.org>
354091
Date: Sat, 4 Jan 2020 13:38:08 +0100
354091
Subject: [PATCH] man: move cmap_keys man page from section 8 to 7
354091
MIME-Version: 1.0
354091
Content-Type: text/plain; charset=UTF-8
354091
Content-Transfer-Encoding: 8bit
354091
354091
Section 8 is for "System administration commands", 7 is "Miscellaneous".
354091
354091
Signed-off-by: Ferenc Wágner <wferi@debian.org>
354091
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
354091
---
354091
 corosync.spec.in       |   2 +-
354091
 man/Makefile.am        |   2 +-
354091
 man/cmap_keys.7        | 397 +++++++++++++++++++++++++++++++++++++++++++++++++
354091
 man/cmap_keys.8        | 397 -------------------------------------------------
354091
 man/cmap_overview.3    |   4 +-
354091
 man/corosync-cmapctl.8 |   2 +-
354091
 man/index.html         |   2 +-
354091
 7 files changed, 403 insertions(+), 403 deletions(-)
354091
 create mode 100644 man/cmap_keys.7
354091
 delete mode 100644 man/cmap_keys.8
354091
354091
diff --git a/corosync.spec.in b/corosync.spec.in
354091
index c06675d..8ac3757 100644
354091
--- a/corosync.spec.in
354091
+++ b/corosync.spec.in
354091
@@ -217,7 +217,7 @@ fi
354091
 %{_mandir}/man8/corosync-quorumtool.8*
354091
 %{_mandir}/man5/corosync.conf.5*
354091
 %{_mandir}/man5/votequorum.5*
354091
-%{_mandir}/man8/cmap_keys.8*
354091
+%{_mandir}/man7/cmap_keys.7*
354091
 
354091
 # library
354091
 #
354091
diff --git a/man/Makefile.am b/man/Makefile.am
354091
index 2ef5dcd..92a76ed 100644
354091
--- a/man/Makefile.am
354091
+++ b/man/Makefile.am
354091
@@ -140,7 +140,7 @@ dist_man_MANS 		= corosync.conf.5 \
354091
 			  votequorum_overview.3 \
354091
 			  sam_overview.3 \
354091
 			  cmap_overview.3 \
354091
-			  cmap_keys.8
354091
+			  cmap_keys.7
354091
 
354091
 if BUILD_VQSIM
354091
 dist_man_MANS		+= $(corosync_vqsim_man)
354091
diff --git a/man/cmap_keys.7 b/man/cmap_keys.7
354091
new file mode 100644
354091
index 0000000..6bc04fe
354091
--- /dev/null
354091
+++ b/man/cmap_keys.7
354091
@@ -0,0 +1,397 @@
354091
+.\"/*
354091
+.\" * Copyright (c) 2012-2018 Red Hat, Inc.
354091
+.\" *
354091
+.\" * All rights reserved.
354091
+.\" *
354091
+.\" * Author: Jan Friesse (jfriesse@redhat.com)
354091
+.\" *
354091
+.\" * This software licensed under BSD license, the text of which follows:
354091
+.\" *
354091
+.\" * Redistribution and use in source and binary forms, with or without
354091
+.\" * modification, are permitted provided that the following conditions are met:
354091
+.\" *
354091
+.\" * - Redistributions of source code must retain the above copyright notice,
354091
+.\" *   this list of conditions and the following disclaimer.
354091
+.\" * - Redistributions in binary form must reproduce the above copyright notice,
354091
+.\" *   this list of conditions and the following disclaimer in the documentation
354091
+.\" *   and/or other materials provided with the distribution.
354091
+.\" * - Neither the name of the Red Hat, Inc. nor the names of its
354091
+.\" *   contributors may be used to endorse or promote products derived from this
354091
+.\" *   software without specific prior written permission.
354091
+.\" *
354091
+.\" * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
354091
+.\" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
354091
+.\" * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
354091
+.\" * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
354091
+.\" * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
354091
+.\" * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
354091
+.\" * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
354091
+.\" * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
354091
+.\" * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
354091
+.\" * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
354091
+.\" * THE POSSIBILITY OF SUCH DAMAGE.
354091
+.\" */
354091
+.TH "CMAP_KEYS" 7 "2018-10-08" "corosync Man Page" "Corosync Cluster Engine Programmer's Manual"
354091
+
354091
+.SH NAME
354091
+.P
354091
+cmap_keys \- Overview of keys stored in the Configuration Map
354091
+
354091
+.SH OVERVIEW
354091
+.P
354091
+There are 3 main types of keys stored in CMAP:
354091
+.PP
354091
+* Mapping of values stored in the config file.
354091
+.PP
354091
+* Runtime statistics.
354091
+.PP
354091
+* Other user created values.
354091
+
354091
+In this man page, wild-cards have the usual meaning.
354091
+
354091
+.SH ICMAP KEYS
354091
+These keys are in the icmap (default) map
354091
+.TP
354091
+internal_configuration.*
354091
+Internal configuration data. All keys in this prefix are read only.
354091
+It's only useful for getting a list of loaded services.
354091
+
354091
+.TP
354091
+logging.*
354091
+Values read from the configuration file. It's possible to change them at runtime.
354091
+If subsystem specific configuration is needed, the key must be in the form
354091
+logging.logger_subsys.SERVICE.key, where SERVICE is upper case name of the service and
354091
+key is same as in the configuration file. All values are of string type.
354091
+
354091
+.TP
354091
+nodelist.*
354091
+Values are read from the configuration file only (dynamic updates are not allowed).
354091
+Each node element in the configuration file gets
354091
+assigned its position starting from zero. So the first node from the config file has
354091
+nodelist.node.0. prefix. To be a valid entry, each node must have
354091
+.B ring0_addr
354091
+key.
354091
+To change the
354091
+.B nodeid
354091
+key, use a u32 data type.
354091
+
354091
+Local node position is stored in
354091
+.B local_node_pos
354091
+key (RO), so it's easy to find
354091
+out nodeid/ring addresses of the local node directly from cmap.
354091
+
354091
+.TP
354091
+runtime.blackbox.*
354091
+Trigger keys for storing fplay data. It's recommended that you use the corosync-blackbox command
354091
+to change keys in this prefix.
354091
+
354091
+.TP
354091
+runtime.force_gather
354091
+Set to 'yes' to force the processor to move into the GATHER state.  This operation
354091
+is dangerous and is not recommended.
354091
+
354091
+.TP
354091
+runtime.config.*
354091
+Contains the values actually in use by the totem membership protocol.
354091
+Values here are either taken from the Corosync configuration file,
354091
+defaults or computed from entries in the config file. For information
354091
+on individual keys please refer to the man page
354091
+.BR corosync.conf (5).
354091
+
354091
+.TP
354091
+runtime.services.*
354091
+Prefix with statistics for service engines. Each service has its own
354091
+.B service_id
354091
+key in the prefix with the name runtime.services.SERVICE., where SERVICE is the lower case
354091
+name of the service. Inside the service prefix is the number of messages received and sent
354091
+by the corosync engine in the format runtime.services.SERVICE.EXEC_CALL.rx and
354091
+runtime.services.SERVICE.EXEC_CALL.tx, where EXEC_CALL is the internal id of the service
354091
+call (so for example 3 in cpg service is receive of multicast message from other
354091
+nodes).
354091
+
354091
+.TP
354091
+runtime.totem.members.*
354091
+Prefix containing members of the totem single ring protocol. Each member
354091
+keys has format runtime.totem.members.NODEID.KEY, where key is
354091
+one of:
354091
+
354091
+.B config_version
354091
+Config version of the member node.
354091
+
354091
+.TP
354091
+resources.process.PID.*
354091
+Prefix created by applications using SAM with CMAP integration.
354091
+It contains the following keys:
354091
+
354091
+.B recovery
354091
+Recovery policy of the process. Can be one of quit or restart.
354091
+
354091
+.B poll_period
354091
+Value passed in sam_initialize as a time_interval.
354091
+
354091
+.B last_updated
354091
+Last time SAM received a heartbeat from the client.
354091
+
354091
+.B state
354091
+State of the client. Can be one of failed, stopped, running and waiting for quorum.
354091
+
354091
+.TP
354091
+uidgid.*
354091
+Information about users/groups which are allowed to make IPC connections to
354091
+corosync. Entries loaded from configuration file are stored with
354091
+uidgid.config.* prefix and are pruned on configuration file reload. Dynamic
354091
+entries has uidgid.* prefix and a configuration file reload doesn't affect them.
354091
+
354091
+.TP
354091
+quorum.cancel_wait_for_all
354091
+Tells votequorum to cancel waiting for all nodes at cluster startup. Can be used
354091
+to unblock quorum if notes are known to be down. For pcs use only.
354091
+
354091
+.TP
354091
+config.reload_in_progress
354091
+This value will be set to 1 (or created) when a corosync.conf reload is started,
354091
+and set to 0 when the reload is completed. This allows interested subsystems
354091
+to do atomic reconfiguration rather than changing each key. Note that
354091
+individual add/change/delete notifications will still be sent during a reload.
354091
+
354091
+.TP
354091
+config.totemconfig_reload_in_progress
354091
+This key is similar to
354091
+.B config.totemconfig_reload_in_progress
354091
+but changed after the totem config trigger is processed. It is useful (mainly)
354091
+for situations when
354091
+.B nodelist.local_node_pos
354091
+must be correctly reinstated before anything else.
354091
+
354091
+.SH STATS KEYS
354091
+These keys are in the stats map. All keys in this map are read-only.
354091
+Modification tracking of individual keys is supported in the stats map, but not
354091
+prefixes. Add/Delete operations are supported on prefixes though so you can track
354091
+for new ipc connections or knet interfaces.
354091
+.TP
354091
+stats.srp.*
354091
+Prefix containing statistics about totem.
354091
+Typical key prefixes:
354091
+
354091
+.B commit_entered
354091
+Number of times the processor entered COMMIT state.
354091
+
354091
+.B commit_token_lost
354091
+Number of times the processor lost token in COMMIT state.
354091
+
354091
+.B consensus_timeouts
354091
+How many times the processor timed out forming a consensus about membership.
354091
+
354091
+.B continuous_gather
354091
+How many times the processor was not able to reach consensus.
354091
+
354091
+.B firewall_enabled_or_nic_failure
354091
+Set to 1 when processor was not able to reach consensus for long time. The usual
354091
+reason is a badly configured firewall or connection failure.
354091
+
354091
+.B gather_entered
354091
+Number of times the processor entered GATHER state.
354091
+
354091
+.B gather_token_lost
354091
+Number of times the processor lost token in GATHER state.
354091
+
354091
+.B mcast_retx
354091
+Number of retransmitted messages.
354091
+
354091
+.B mcast_rx
354091
+Number of received multicast messages.
354091
+
354091
+.B mcast_tx
354091
+Number of transmitted multicast messages.
354091
+
354091
+.B memb_commit_token_rx
354091
+Number of received commit tokens.
354091
+
354091
+.B memb_commit_token_tx
354091
+Number of transmitted commit tokens.
354091
+
354091
+.B memb_join_rx
354091
+Number of received join messages.
354091
+
354091
+.B memb_join_tx
354091
+Number of transmitted join messages.
354091
+
354091
+.B memb_merge_detect_rx
354091
+Number of received member merge messages.
354091
+
354091
+.B memb_merge_detect_tx
354091
+Number of transmitted member merge messages.
354091
+
354091
+.B orf_token_rx
354091
+Number of received orf tokens.
354091
+
354091
+.B orf_token_tx
354091
+Number of transmitted orf tokens.
354091
+
354091
+.B recovery_entered
354091
+Number of times the processor entered recovery.
354091
+
354091
+.B recovery_token_lost
354091
+Number of times the token was lost in recovery state.
354091
+
354091
+.B rx_msg_dropped
354091
+Number of received messages which were dropped because they were not expected
354091
+(as example multicast message in commit state).
354091
+
354091
+.B token_hold_cancel_rx
354091
+Number of received token hold cancel messages.
354091
+
354091
+.B token_hold_cancel_tx
354091
+Number of transmitted token hold cancel messages.
354091
+
354091
+.B mtt_rx_token
354091
+Mean transit time of token in milliseconds. In other words, time between
354091
+two consecutive token receives.
354091
+
354091
+.B avg_token_workload
354091
+Average time in milliseconds of holding time of token on the current processor.
354091
+
354091
+.B avg_backlog_calc
354091
+Average number of not yet sent messages on the current processor.
354091
+
354091
+.TP
354091
+stats.knet.nodeX.linkY.*
354091
+Statistics about the network traffic to and from each node and link when using
354091
+tke kronosnet transport
354091
+
354091
+.B connected
354091
+Whether the link is connected or not
354091
+
354091
+.B up_count
354091
+Number of times this link has changed state to UP
354091
+
354091
+.B down_count
354091
+Number of times this link has changed state to DOWN
354091
+
354091
+.B latency_ave / latency_max / latency_max
354091
+Calculated latencies of this link. Note that if there has been no traffic
354091
+on the link then latency_min will show a very large number.
354091
+
354091
+.B latency_samples
354091
+The number of samples used to calculate the latency figures, so you have
354091
+some idea of their precision.
354091
+
354091
+.B rx_data_packets / tx_data_packets
354091
+The number of packets sent/received on this link
354091
+
354091
+.B rx_data_bytes / tx_data_bytes
354091
+The number of bytes sent/received on this link
354091
+
354091
+.B rx_pmtu_packets / tx_pmtu_packets
354091
+The number of packets sent/received by the PMTUd subsystem
354091
+
354091
+.B rx_pmtu_bytes / tx_pmtu_bytes
354091
+The number of bytes sent/received by the PMTUd subsystem
354091
+
354091
+.B rx_ping_packets / tx_ping_packets
354091
+The number of packets sent/received as pings
354091
+
354091
+.B rx_ping_bytes / tx_ping_bytes
354091
+The number of bytes sent/received as pings
354091
+
354091
+.B rx_pong_packets / tx_pong_packets
354091
+The number of packets sent/received as pongs
354091
+
354091
+.B rx_pong_bytes / tx_pong_bytes
354091
+The number of bytes sent/received as pongs
354091
+
354091
+.B rx_total_packets / tx_total_packets
354091
+The total number of packets sent/received. The aggregate of all of the above packet stats
354091
+
354091
+.B rx_total_bytes / tx_total_bytes
354091
+The total number of bytes sent/received. The aggregate of all of the above bytes stats
354091
+
354091
+.B tx_data_retries / tx_pmtu_retries / tx_ping_retries / tx_pong_retries / tx_total_retries
354091
+Number of times a transmit operation had to be retried due to the socket returning EAGAIN
354091
+
354091
+.TP
354091
+stats.ipcs.*
354091
+There is information about total number of active connections from client programs
354091
+at the time the request was made.
354091
+.B active
354091
+number of closed connections during whole runtime of corosync
354091
+.B closed
354091
+Total number of connections that have been made since corosync was started
354091
+
354091
+.TP
354091
+stats.ipcs.ID.*
354091
+Each IPC connection has a unique ID. This is in the form [[serviceX:][PID:]internal_id.
354091
+
354091
+Typical keys in this prefix are:
354091
+
354091
+.B proc_name
354091
+process name of connected process (unavailable on some platforms)
354091
+
354091
+.B dispatched
354091
+number of dispatched messages.
354091
+
354091
+.B invalid_request
354091
+number of requests made by IPC which are invalid (calling non-existing call, ...).
354091
+
354091
+.B name
354091
+contains short name of the IPC connection (unavailable on some platforms).
354091
+
354091
+.B overload
354091
+is number of requests which were not processed because of overload.
354091
+
354091
+.B queue_size
354091
+contains the number of messages in the queue waiting for send.
354091
+
354091
+.B recv_retries
354091
+is the total number of interrupted receives.
354091
+
354091
+.B requests
354091
+contains the number of requests made by IPC.
354091
+
354091
+.B responses
354091
+is the number of responses sent to the IPC client.
354091
+
354091
+.B send_retries
354091
+contains the total number of interrupted sends.
354091
+
354091
+.B service_id
354091
+contains the ID of service which the IPC is connected to.
354091
+
354091
+.TP
354091
+stats.clear.*
354091
+These are write-only keys used to clear the stats for various subsystems
354091
+
354091
+.B totem
354091
+Clears the pg & srp totem stats.
354091
+
354091
+.B knet
354091
+Clears the knet stats
354091
+
354091
+.B ipc
354091
+Clears the ipc stats
354091
+
354091
+.B all
354091
+Clears all of the above stats
354091
+
354091
+
354091
+.SH DYNAMIC CHANGE USER/GROUP PERMISSION TO USE COROSYNC IPC
354091
+Is the same as in the configuration file. eg: to add UID 500 use
354091
+
354091
+.br
354091
+# corosync-cmapctl -s uidgid.uid.500 u8 1
354091
+
354091
+GID is similar, so to add a GID use
354091
+
354091
+.br
354091
+# corosync-cmapctl -s uidgid.gid.500 u8 1
354091
+
354091
+For removal of permissions, simply delete the key
354091
+
354091
+.br
354091
+# corosync-cmapctl -d uidgid.gid.500
354091
+
354091
+
354091
+.SH "SEE ALSO"
354091
+.BR corosync_overview (7),
354091
+.BR corosync.conf (5),
354091
+.BR corosync-cmapctl (8)
354091
diff --git a/man/cmap_keys.8 b/man/cmap_keys.8
354091
deleted file mode 100644
354091
index e2ea1fb..0000000
354091
--- a/man/cmap_keys.8
354091
+++ /dev/null
354091
@@ -1,397 +0,0 @@
354091
-.\"/*
354091
-.\" * Copyright (c) 2012-2018 Red Hat, Inc.
354091
-.\" *
354091
-.\" * All rights reserved.
354091
-.\" *
354091
-.\" * Author: Jan Friesse (jfriesse@redhat.com)
354091
-.\" *
354091
-.\" * This software licensed under BSD license, the text of which follows:
354091
-.\" *
354091
-.\" * Redistribution and use in source and binary forms, with or without
354091
-.\" * modification, are permitted provided that the following conditions are met:
354091
-.\" *
354091
-.\" * - Redistributions of source code must retain the above copyright notice,
354091
-.\" *   this list of conditions and the following disclaimer.
354091
-.\" * - Redistributions in binary form must reproduce the above copyright notice,
354091
-.\" *   this list of conditions and the following disclaimer in the documentation
354091
-.\" *   and/or other materials provided with the distribution.
354091
-.\" * - Neither the name of the Red Hat, Inc. nor the names of its
354091
-.\" *   contributors may be used to endorse or promote products derived from this
354091
-.\" *   software without specific prior written permission.
354091
-.\" *
354091
-.\" * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
354091
-.\" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
354091
-.\" * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
354091
-.\" * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
354091
-.\" * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
354091
-.\" * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
354091
-.\" * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
354091
-.\" * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
354091
-.\" * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
354091
-.\" * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
354091
-.\" * THE POSSIBILITY OF SUCH DAMAGE.
354091
-.\" */
354091
-.TH "CMAP_KEYS" 8 "2018-10-08" "corosync Man Page" "Corosync Cluster Engine Programmer's Manual"
354091
-
354091
-.SH NAME
354091
-.P
354091
-cmap_keys \- Overview of keys stored in the Configuration Map
354091
-
354091
-.SH OVERVIEW
354091
-.P
354091
-There are 3 main types of keys stored in CMAP:
354091
-.PP
354091
-* Mapping of values stored in the config file.
354091
-.PP
354091
-* Runtime statistics.
354091
-.PP
354091
-* Other user created values.
354091
-
354091
-In this man page, wild-cards have the usual meaning.
354091
-
354091
-.SH ICMAP KEYS
354091
-These keys are in the icmap (default) map
354091
-.TP
354091
-internal_configuration.*
354091
-Internal configuration data. All keys in this prefix are read only.
354091
-It's only useful for getting a list of loaded services.
354091
-
354091
-.TP
354091
-logging.*
354091
-Values read from the configuration file. It's possible to change them at runtime.
354091
-If subsystem specific configuration is needed, the key must be in the form
354091
-logging.logger_subsys.SERVICE.key, where SERVICE is upper case name of the service and
354091
-key is same as in the configuration file. All values are of string type.
354091
-
354091
-.TP
354091
-nodelist.*
354091
-Values are read from the configuration file only (dynamic updates are not allowed).
354091
-Each node element in the configuration file gets
354091
-assigned its position starting from zero. So the first node from the config file has
354091
-nodelist.node.0. prefix. To be a valid entry, each node must have
354091
-.B ring0_addr
354091
-key.
354091
-To change the
354091
-.B nodeid
354091
-key, use a u32 data type.
354091
-
354091
-Local node position is stored in
354091
-.B local_node_pos
354091
-key (RO), so it's easy to find
354091
-out nodeid/ring addresses of the local node directly from cmap.
354091
-
354091
-.TP
354091
-runtime.blackbox.*
354091
-Trigger keys for storing fplay data. It's recommended that you use the corosync-blackbox command
354091
-to change keys in this prefix.
354091
-
354091
-.TP
354091
-runtime.force_gather
354091
-Set to 'yes' to force the processor to move into the GATHER state.  This operation
354091
-is dangerous and is not recommended.
354091
-
354091
-.TP
354091
-runtime.config.*
354091
-Contains the values actually in use by the totem membership protocol.
354091
-Values here are either taken from the Corosync configuration file,
354091
-defaults or computed from entries in the config file. For information
354091
-on individual keys please refer to the man page
354091
-.BR corosync.conf (5).
354091
-
354091
-.TP
354091
-runtime.services.*
354091
-Prefix with statistics for service engines. Each service has its own
354091
-.B service_id
354091
-key in the prefix with the name runtime.services.SERVICE., where SERVICE is the lower case
354091
-name of the service. Inside the service prefix is the number of messages received and sent
354091
-by the corosync engine in the format runtime.services.SERVICE.EXEC_CALL.rx and
354091
-runtime.services.SERVICE.EXEC_CALL.tx, where EXEC_CALL is the internal id of the service
354091
-call (so for example 3 in cpg service is receive of multicast message from other
354091
-nodes).
354091
-
354091
-.TP
354091
-runtime.totem.members.*
354091
-Prefix containing members of the totem single ring protocol. Each member
354091
-keys has format runtime.totem.members.NODEID.KEY, where key is
354091
-one of:
354091
-
354091
-.B config_version
354091
-Config version of the member node.
354091
-
354091
-.TP
354091
-resources.process.PID.*
354091
-Prefix created by applications using SAM with CMAP integration.
354091
-It contains the following keys:
354091
-
354091
-.B recovery
354091
-Recovery policy of the process. Can be one of quit or restart.
354091
-
354091
-.B poll_period
354091
-Value passed in sam_initialize as a time_interval.
354091
-
354091
-.B last_updated
354091
-Last time SAM received a heartbeat from the client.
354091
-
354091
-.B state
354091
-State of the client. Can be one of failed, stopped, running and waiting for quorum.
354091
-
354091
-.TP
354091
-uidgid.*
354091
-Information about users/groups which are allowed to make IPC connections to
354091
-corosync. Entries loaded from configuration file are stored with
354091
-uidgid.config.* prefix and are pruned on configuration file reload. Dynamic
354091
-entries has uidgid.* prefix and a configuration file reload doesn't affect them.
354091
-
354091
-.TP
354091
-quorum.cancel_wait_for_all
354091
-Tells votequorum to cancel waiting for all nodes at cluster startup. Can be used
354091
-to unblock quorum if notes are known to be down. For pcs use only.
354091
-
354091
-.TP
354091
-config.reload_in_progress
354091
-This value will be set to 1 (or created) when a corosync.conf reload is started,
354091
-and set to 0 when the reload is completed. This allows interested subsystems
354091
-to do atomic reconfiguration rather than changing each key. Note that
354091
-individual add/change/delete notifications will still be sent during a reload.
354091
-
354091
-.TP
354091
-config.totemconfig_reload_in_progress
354091
-This key is similar to
354091
-.B config.totemconfig_reload_in_progress
354091
-but changed after the totem config trigger is processed. It is useful (mainly)
354091
-for situations when
354091
-.B nodelist.local_node_pos
354091
-must be correctly reinstated before anything else.
354091
-
354091
-.SH STATS KEYS
354091
-These keys are in the stats map. All keys in this map are read-only.
354091
-Modification tracking of individual keys is supported in the stats map, but not
354091
-prefixes. Add/Delete operations are supported on prefixes though so you can track
354091
-for new ipc connections or knet interfaces.
354091
-.TP
354091
-stats.srp.*
354091
-Prefix containing statistics about totem.
354091
-Typical key prefixes:
354091
-
354091
-.B commit_entered
354091
-Number of times the processor entered COMMIT state.
354091
-
354091
-.B commit_token_lost
354091
-Number of times the processor lost token in COMMIT state.
354091
-
354091
-.B consensus_timeouts
354091
-How many times the processor timed out forming a consensus about membership.
354091
-
354091
-.B continuous_gather
354091
-How many times the processor was not able to reach consensus.
354091
-
354091
-.B firewall_enabled_or_nic_failure
354091
-Set to 1 when processor was not able to reach consensus for long time. The usual
354091
-reason is a badly configured firewall or connection failure.
354091
-
354091
-.B gather_entered
354091
-Number of times the processor entered GATHER state.
354091
-
354091
-.B gather_token_lost
354091
-Number of times the processor lost token in GATHER state.
354091
-
354091
-.B mcast_retx
354091
-Number of retransmitted messages.
354091
-
354091
-.B mcast_rx
354091
-Number of received multicast messages.
354091
-
354091
-.B mcast_tx
354091
-Number of transmitted multicast messages.
354091
-
354091
-.B memb_commit_token_rx
354091
-Number of received commit tokens.
354091
-
354091
-.B memb_commit_token_tx
354091
-Number of transmitted commit tokens.
354091
-
354091
-.B memb_join_rx
354091
-Number of received join messages.
354091
-
354091
-.B memb_join_tx
354091
-Number of transmitted join messages.
354091
-
354091
-.B memb_merge_detect_rx
354091
-Number of received member merge messages.
354091
-
354091
-.B memb_merge_detect_tx
354091
-Number of transmitted member merge messages.
354091
-
354091
-.B orf_token_rx
354091
-Number of received orf tokens.
354091
-
354091
-.B orf_token_tx
354091
-Number of transmitted orf tokens.
354091
-
354091
-.B recovery_entered
354091
-Number of times the processor entered recovery.
354091
-
354091
-.B recovery_token_lost
354091
-Number of times the token was lost in recovery state.
354091
-
354091
-.B rx_msg_dropped
354091
-Number of received messages which were dropped because they were not expected
354091
-(as example multicast message in commit state).
354091
-
354091
-.B token_hold_cancel_rx
354091
-Number of received token hold cancel messages.
354091
-
354091
-.B token_hold_cancel_tx
354091
-Number of transmitted token hold cancel messages.
354091
-
354091
-.B mtt_rx_token
354091
-Mean transit time of token in milliseconds. In other words, time between
354091
-two consecutive token receives.
354091
-
354091
-.B avg_token_workload
354091
-Average time in milliseconds of holding time of token on the current processor.
354091
-
354091
-.B avg_backlog_calc
354091
-Average number of not yet sent messages on the current processor.
354091
-
354091
-.TP
354091
-stats.knet.nodeX.linkY.*
354091
-Statistics about the network traffic to and from each node and link when using
354091
-tke kronosnet transport
354091
-
354091
-.B connected
354091
-Whether the link is connected or not
354091
-
354091
-.B up_count
354091
-Number of times this link has changed state to UP
354091
-
354091
-.B down_count
354091
-Number of times this link has changed state to DOWN
354091
-
354091
-.B latency_ave / latency_max / latency_max
354091
-Calculated latencies of this link. Note that if there has been no traffic
354091
-on the link then latency_min will show a very large number.
354091
-
354091
-.B latency_samples
354091
-The number of samples used to calculate the latency figures, so you have
354091
-some idea of their precision.
354091
-
354091
-.B rx_data_packets / tx_data_packets
354091
-The number of packets sent/received on this link
354091
-
354091
-.B rx_data_bytes / tx_data_bytes
354091
-The number of bytes sent/received on this link
354091
-
354091
-.B rx_pmtu_packets / tx_pmtu_packets
354091
-The number of packets sent/received by the PMTUd subsystem
354091
-
354091
-.B rx_pmtu_bytes / tx_pmtu_bytes
354091
-The number of bytes sent/received by the PMTUd subsystem
354091
-
354091
-.B rx_ping_packets / tx_ping_packets
354091
-The number of packets sent/received as pings
354091
-
354091
-.B rx_ping_bytes / tx_ping_bytes
354091
-The number of bytes sent/received as pings
354091
-
354091
-.B rx_pong_packets / tx_pong_packets
354091
-The number of packets sent/received as pongs
354091
-
354091
-.B rx_pong_bytes / tx_pong_bytes
354091
-The number of bytes sent/received as pongs
354091
-
354091
-.B rx_total_packets / tx_total_packets
354091
-The total number of packets sent/received. The aggregate of all of the above packet stats
354091
-
354091
-.B rx_total_bytes / tx_total_bytes
354091
-The total number of bytes sent/received. The aggregate of all of the above bytes stats
354091
-
354091
-.B tx_data_retries / tx_pmtu_retries / tx_ping_retries / tx_pong_retries / tx_total_retries
354091
-Number of times a transmit operation had to be retried due to the socket returning EAGAIN
354091
-
354091
-.TP
354091
-stats.ipcs.*
354091
-There is information about total number of active connections from client programs
354091
-at the time the request was made.
354091
-.B active
354091
-number of closed connections during whole runtime of corosync
354091
-.B closed
354091
-Total number of connections that have been made since corosync was started
354091
-
354091
-.TP
354091
-stats.ipcs.ID.*
354091
-Each IPC connection has a unique ID. This is in the form [[serviceX:][PID:]internal_id.
354091
-
354091
-Typical keys in this prefix are:
354091
-
354091
-.B proc_name
354091
-process name of connected process (unavailable on some platforms)
354091
-
354091
-.B dispatched
354091
-number of dispatched messages.
354091
-
354091
-.B invalid_request
354091
-number of requests made by IPC which are invalid (calling non-existing call, ...).
354091
-
354091
-.B name
354091
-contains short name of the IPC connection (unavailable on some platforms).
354091
-
354091
-.B overload
354091
-is number of requests which were not processed because of overload.
354091
-
354091
-.B queue_size
354091
-contains the number of messages in the queue waiting for send.
354091
-
354091
-.B recv_retries
354091
-is the total number of interrupted receives.
354091
-
354091
-.B requests
354091
-contains the number of requests made by IPC.
354091
-
354091
-.B responses
354091
-is the number of responses sent to the IPC client.
354091
-
354091
-.B send_retries
354091
-contains the total number of interrupted sends.
354091
-
354091
-.B service_id
354091
-contains the ID of service which the IPC is connected to.
354091
-
354091
-.TP
354091
-stats.clear.*
354091
-These are write-only keys used to clear the stats for various subsystems
354091
-
354091
-.B totem
354091
-Clears the pg & srp totem stats.
354091
-
354091
-.B knet
354091
-Clears the knet stats
354091
-
354091
-.B ipc
354091
-Clears the ipc stats
354091
-
354091
-.B all
354091
-Clears all of the above stats
354091
-
354091
-
354091
-.SH DYNAMIC CHANGE USER/GROUP PERMISSION TO USE COROSYNC IPC
354091
-Is the same as in the configuration file. eg: to add UID 500 use
354091
-
354091
-.br
354091
-# corosync-cmapctl -s uidgid.uid.500 u8 1
354091
-
354091
-GID is similar, so to add a GID use
354091
-
354091
-.br
354091
-# corosync-cmapctl -s uidgid.gid.500 u8 1
354091
-
354091
-For removal of permissions, simply delete the key
354091
-
354091
-.br
354091
-# corosync-cmapctl -d uidgid.gid.500
354091
-
354091
-
354091
-.SH "SEE ALSO"
354091
-.BR corosync_overview (7),
354091
-.BR corosync.conf (5),
354091
-.BR corosync-cmapctl (8)
354091
diff --git a/man/cmap_overview.3 b/man/cmap_overview.3
354091
index cf4cabb..0aa3c14 100644
354091
--- a/man/cmap_overview.3
354091
+++ b/man/cmap_overview.3
354091
@@ -54,7 +54,7 @@ The library provides a mechanism to:
354091
 .PP
354091
 * Track changes on keys
354091
 
354091
-Description of most keys created by corosync itself can be found in cmap_keys (8).
354091
+Description of most keys created by corosync itself can be found in cmap_keys (7).
354091
 
354091
 .SH BUGS
354091
 .SH "SEE ALSO"
354091
@@ -75,4 +75,4 @@ Description of most keys created by corosync itself can be found in cmap_keys (8
354091
 .BR cmap_iter_finalize (3),
354091
 .BR cmap_track_add (3),
354091
 .BR cmap_track_delete (3),
354091
-.BR cmap_keys (8)
354091
+.BR cmap_keys (7)
354091
diff --git a/man/corosync-cmapctl.8 b/man/corosync-cmapctl.8
354091
index 637e597..8826503 100644
354091
--- a/man/corosync-cmapctl.8
354091
+++ b/man/corosync-cmapctl.8
354091
@@ -96,4 +96,4 @@ corosync\-cmapctl \fB\-C\fR [ipc|totem|knet|all]
354091
 
354091
 .SH "SEE ALSO"
354091
 .BR cmap_overview (3),
354091
-.BR cmap_keys (8)
354091
+.BR cmap_keys (7)
354091
diff --git a/man/index.html b/man/index.html
354091
index f4819e5..21326dc 100644
354091
--- a/man/index.html
354091
+++ b/man/index.html
354091
@@ -63,7 +63,7 @@
354091
       Description of corosync-cmapctl tool.
354091
       
354091
 
354091
-      cmap_keys(8):
354091
+      cmap_keys(7):
354091
       Overview of keys stored in the Configuration Map.
354091
       
354091
 
354091
-- 
354091
1.8.3.1
354091