|
|
d26a47 |
From f77a61ac1795e794244440e1bfe804f02cc5d2b6 Mon Sep 17 00:00:00 2001
|
|
|
d26a47 |
From: Christine Caulfield <ccaulfie@redhat.com>
|
|
|
d26a47 |
Date: Mon, 13 Oct 2014 10:28:27 +0200
|
|
|
d26a47 |
Subject: [PATCH] manpage: Fix English
|
|
|
d26a47 |
|
|
|
d26a47 |
While I was looking at the above man page changes I thought I'd review
|
|
|
d26a47 |
the rest of it. So here are some more English fixes for the cmap_keys.8
|
|
|
d26a47 |
man page
|
|
|
d26a47 |
|
|
|
d26a47 |
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
|
|
|
d26a47 |
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
|
|
|
d26a47 |
---
|
|
|
d26a47 |
man/cmap_keys.8 | 154 +++++++++++++++++++++++++++---------------------------
|
|
|
d26a47 |
1 files changed, 77 insertions(+), 77 deletions(-)
|
|
|
d26a47 |
|
|
|
d26a47 |
diff --git a/man/cmap_keys.8 b/man/cmap_keys.8
|
|
|
d26a47 |
index 16b7d46..bda6615 100644
|
|
|
d26a47 |
--- a/man/cmap_keys.8
|
|
|
d26a47 |
+++ b/man/cmap_keys.8
|
|
|
d26a47 |
@@ -1,5 +1,5 @@
|
|
|
d26a47 |
.\"/*
|
|
|
d26a47 |
-.\" * Copyright (c) 2012-2013 Red Hat, Inc.
|
|
|
d26a47 |
+.\" * Copyright (c) 2012-2014 Red Hat, Inc.
|
|
|
d26a47 |
.\" *
|
|
|
d26a47 |
.\" * All rights reserved.
|
|
|
d26a47 |
.\" *
|
|
|
d26a47 |
@@ -39,135 +39,135 @@ cmap_keys \- Overview of keys stored in the Configuration Map
|
|
|
d26a47 |
|
|
|
d26a47 |
.SH OVERVIEW
|
|
|
d26a47 |
.P
|
|
|
d26a47 |
-There are roughly 3 types of keys stored in CMAP:
|
|
|
d26a47 |
+There are 3 main types of keys stored in CMAP:
|
|
|
d26a47 |
.PP
|
|
|
d26a47 |
-* Mapping of values stored in config file.
|
|
|
d26a47 |
+* Mapping of values stored in the config file.
|
|
|
d26a47 |
.PP
|
|
|
d26a47 |
* Runtime statistics.
|
|
|
d26a47 |
.PP
|
|
|
d26a47 |
* Other user created values.
|
|
|
d26a47 |
|
|
|
d26a47 |
-In this man page, wild-cards are used with usual meaning.
|
|
|
d26a47 |
+In this man page, wild-cards have the usual meaning.
|
|
|
d26a47 |
|
|
|
d26a47 |
.SH KEYS
|
|
|
d26a47 |
.TP
|
|
|
d26a47 |
internal_configuration.*
|
|
|
d26a47 |
-Internal configuration data. This keys (whole prefix) is read only.
|
|
|
d26a47 |
-It's only useful for getting list of loaded services.
|
|
|
d26a47 |
+Internal configuration data. All keys in this prefix are read only.
|
|
|
d26a47 |
+It's only useful for getting a list of loaded services.
|
|
|
d26a47 |
|
|
|
d26a47 |
.TP
|
|
|
d26a47 |
logging.*
|
|
|
d26a47 |
-Values read from configuration file. It's possible to change them at runtime.
|
|
|
d26a47 |
-If subsystem specific configuration is needed, key must be in form
|
|
|
d26a47 |
-logging.logger_subsys.SERVICE.key, where SERVICE is upper case name of service and
|
|
|
d26a47 |
-key is same as in configuration file. All values are of string type.
|
|
|
d26a47 |
+Values read from the configuration file. It's possible to change them at runtime.
|
|
|
d26a47 |
+If subsystem specific configuration is needed, the key must be in the form
|
|
|
d26a47 |
+logging.logger_subsys.SERVICE.key, where SERVICE is upper case name of the service and
|
|
|
d26a47 |
+key is same as in the configuration file. All values are of string type.
|
|
|
d26a47 |
|
|
|
d26a47 |
.TP
|
|
|
d26a47 |
nodelist.*
|
|
|
d26a47 |
-Values read from configuration file. Each node element in configuration file gets
|
|
|
d26a47 |
-assigned it's position starting from zero. So first node from config file has
|
|
|
d26a47 |
-nodelist.node.0. prefix. To be valid entry, each node must have
|
|
|
d26a47 |
+Values read from the configuration file. Each node element in the configuration file gets
|
|
|
d26a47 |
+assigned it's position starting from zero. So the first node from the config file has
|
|
|
d26a47 |
+nodelist.node.0. prefix. To be a valid entry, each node must have
|
|
|
d26a47 |
.B ring0_addr
|
|
|
d26a47 |
key.
|
|
|
d26a47 |
-For change of
|
|
|
d26a47 |
+To change the
|
|
|
d26a47 |
.B nodeid
|
|
|
d26a47 |
-key, use u32 data type.
|
|
|
d26a47 |
+key, use a u32 data type.
|
|
|
d26a47 |
|
|
|
d26a47 |
Local node position is stored in
|
|
|
d26a47 |
.B local_node_pos
|
|
|
d26a47 |
key (RO), so it's easy to find
|
|
|
d26a47 |
-out nodeid/ring addresses of local node directly from cmap.
|
|
|
d26a47 |
+out nodeid/ring addresses of the local node directly from cmap.
|
|
|
d26a47 |
|
|
|
d26a47 |
.TP
|
|
|
d26a47 |
runtime.blackbox.*
|
|
|
d26a47 |
-Trigger keys for store fplay data. It's recommended to use corosync-blackbox command
|
|
|
d26a47 |
+Trigger keys for storing fplay data. It's recommended that you the corosync-blackbox command
|
|
|
d26a47 |
to change keys in this prefix.
|
|
|
d26a47 |
|
|
|
d26a47 |
.TP
|
|
|
d26a47 |
runtime.connections.*
|
|
|
d26a47 |
-There are informations about total number of active connections in given moment in
|
|
|
d26a47 |
+This is information about total number of active connections in a given moment in the
|
|
|
d26a47 |
.B active
|
|
|
d26a47 |
-key, number of closed connections during whole runtime of corosync in
|
|
|
d26a47 |
+key, number of closed connections during whole runtime of corosync in the
|
|
|
d26a47 |
.B closed
|
|
|
d26a47 |
-key and informations about each active IPC connection. All keys in this prefix are read-only.
|
|
|
d26a47 |
+key and information about each active IPC connection. All keys in this prefix are read-only.
|
|
|
d26a47 |
|
|
|
d26a47 |
.TP
|
|
|
d26a47 |
runtime.connections.ID.*
|
|
|
d26a47 |
-Each IPC connection has unique ID. This is in form [[short_name:][PID:]internal_id. On some
|
|
|
d26a47 |
+Each IPC connection has a unique ID. This is in the form [[short_name:][PID:]internal_id. On some
|
|
|
d26a47 |
platforms, short_name and PID are not filled and only internal_id is used.
|
|
|
d26a47 |
|
|
|
d26a47 |
-Typical keys in prefix are:
|
|
|
d26a47 |
+Typical keys in this prefix are:
|
|
|
d26a47 |
|
|
|
d26a47 |
.B client_pid
|
|
|
d26a47 |
containing PID of IPC connection (unavailable on some platforms).
|
|
|
d26a47 |
|
|
|
d26a47 |
.B dispatched
|
|
|
d26a47 |
-with number of dispatched messages.
|
|
|
d26a47 |
+number of dispatched messages.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B invalid_request
|
|
|
d26a47 |
-is number of requests made by IPC which are invalid (calling non-existing call, ...).
|
|
|
d26a47 |
+number of requests made by IPC which are invalid (calling non-existing call, ...).
|
|
|
d26a47 |
|
|
|
d26a47 |
.B name
|
|
|
d26a47 |
-containing short name of IPC connection (unavailable on some platforms).
|
|
|
d26a47 |
+contains short name of the IPC connection (unavailable on some platforms).
|
|
|
d26a47 |
|
|
|
d26a47 |
.B overload
|
|
|
d26a47 |
is number of requests which were not processed because of overload.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B queue_size
|
|
|
d26a47 |
-contains number of messages in queue waiting for send.
|
|
|
d26a47 |
+contains the number of messages in the queue waiting for send.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B recv_retries
|
|
|
d26a47 |
-is total number of interrupted receives.
|
|
|
d26a47 |
+is the total number of interrupted receives.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B requests
|
|
|
d26a47 |
-contains number of requests made by IPC.
|
|
|
d26a47 |
+contains the number of requests made by IPC.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B responses
|
|
|
d26a47 |
-is number of responses sent to IPC client.
|
|
|
d26a47 |
+is the number of responses sent to the IPC client.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B send_retries
|
|
|
d26a47 |
-contains total number of interrupted sends.
|
|
|
d26a47 |
+contains the total number of interrupted sends.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B service_id
|
|
|
d26a47 |
-contains ID of service which IPC is connected to.
|
|
|
d26a47 |
+contains the ID of service which the IPC is connected to.
|
|
|
d26a47 |
|
|
|
d26a47 |
.TP
|
|
|
d26a47 |
runtime.services.*
|
|
|
d26a47 |
Prefix with statistics for service engines. Each service has it's own
|
|
|
d26a47 |
.B service_id
|
|
|
d26a47 |
-key in prefix with name runtime.services.SERVICE., where SERVICE is lower case
|
|
|
d26a47 |
-name of service. Inside service prefix is number of received and send messages
|
|
|
d26a47 |
-by corosync engine in format runtime.services.SERVICE.EXEC_CALL.rx and
|
|
|
d26a47 |
-runtime.services.SERVICE.EXEC_CALL.tx, where EXEC_CALL is internal id of service
|
|
|
d26a47 |
+key in the prefix with the name runtime.services.SERVICE., where SERVICE is the lower case
|
|
|
d26a47 |
+name of the service. Inside the service prefix is the number of messages received and sent
|
|
|
d26a47 |
+by the corosync engine in the format runtime.services.SERVICE.EXEC_CALL.rx and
|
|
|
d26a47 |
+runtime.services.SERVICE.EXEC_CALL.tx, where EXEC_CALL is the internal id of the service
|
|
|
d26a47 |
call (so for example 3 in cpg service is receive of multicast message from other
|
|
|
d26a47 |
nodes).
|
|
|
d26a47 |
|
|
|
d26a47 |
.TP
|
|
|
d26a47 |
runtime.totem.pg.mrp.srp.*
|
|
|
d26a47 |
-Prefix with statistics about totem. All keys there are read only.
|
|
|
d26a47 |
+Prefix containing statistics about totem. All keys here are read only.
|
|
|
d26a47 |
Typical key prefixes:
|
|
|
d26a47 |
|
|
|
d26a47 |
.B commit_entered
|
|
|
d26a47 |
-Number of times processor entered COMMIT state.
|
|
|
d26a47 |
+Number of times the processor entered COMMIT state.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B commit_token_lost
|
|
|
d26a47 |
-Number of times processor lost token in COMMIT state.
|
|
|
d26a47 |
+Number of times the processor lost token in COMMIT state.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B consensus_timeouts
|
|
|
d26a47 |
-How many times processor timeouted making consensus about membership.
|
|
|
d26a47 |
+How many times the processor timed out forming a consensus about membership.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B continuous_gather
|
|
|
d26a47 |
-How many times was processor not able to reach consensus.
|
|
|
d26a47 |
+How many times the processor was not able to reach consensus.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B firewall_enabled_or_nic_failure
|
|
|
d26a47 |
-Set to 1 when processor was not able to reach consensus for long time. Usual
|
|
|
d26a47 |
-reason is badly configured firewall or connection failure.
|
|
|
d26a47 |
+Set to 1 when processor was not able to reach consensus for long time. The usual
|
|
|
d26a47 |
+reason is a badly configured firewall or connection failure.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B gather_entered
|
|
|
d26a47 |
-Number of times processor entered GATHER state.
|
|
|
d26a47 |
+Number of times the processor entered GATHER state.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B gather_token_lost
|
|
|
d26a47 |
-Number of times processor lost token in GATHER state.
|
|
|
d26a47 |
+Number of times the processor lost token in GATHER state.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B mcast_retx
|
|
|
d26a47 |
Number of retransmitted messages.
|
|
|
d26a47 |
@@ -203,13 +203,13 @@ Number of received orf tokens.
|
|
|
d26a47 |
Number of transmitted orf tokens.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B recovery_entered
|
|
|
d26a47 |
-Number of times processor entered recovery.
|
|
|
d26a47 |
+Number of times the processor entered recovery.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B recovery_token_lost
|
|
|
d26a47 |
-Number of times token was lost in recovery state.
|
|
|
d26a47 |
+Number of times the token was lost in recovery state.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B rx_msg_dropped
|
|
|
d26a47 |
-Number of received messages which was dropped because they were not expected
|
|
|
d26a47 |
+Number of received messages which were dropped because they were not expected
|
|
|
d26a47 |
(as example multicast message in commit state).
|
|
|
d26a47 |
|
|
|
d26a47 |
.B token_hold_cancel_rx
|
|
|
d26a47 |
@@ -223,14 +223,14 @@ Mean transit time of token in milliseconds. In other words, time between
|
|
|
d26a47 |
two consecutive token receives.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B avg_token_workload
|
|
|
d26a47 |
-Average time in milliseconds of holding time of token on current processor.
|
|
|
d26a47 |
+Average time in milliseconds of holding time of token on the current processor.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B avg_backlog_calc
|
|
|
d26a47 |
-Average number of not yet sent messages of current processor.
|
|
|
d26a47 |
+Average number of not yet sent messages on the current processor.
|
|
|
d26a47 |
|
|
|
d26a47 |
.TP
|
|
|
d26a47 |
runtime.totem.pg.mrp.srp.members.*
|
|
|
d26a47 |
-Prefix containing members of totem single ring protocol. Each member
|
|
|
d26a47 |
+Prefix containing members of the totem single ring protocol. Each member
|
|
|
d26a47 |
keys has format runtime.totem.pg.mrp.srp.members.NODEID.KEY, where key is
|
|
|
d26a47 |
one of:
|
|
|
d26a47 |
|
|
|
d26a47 |
@@ -238,35 +238,35 @@ one of:
|
|
|
d26a47 |
IP address of member. It's stored in format r(RING_ID) ip(IP_ADDRESS).
|
|
|
d26a47 |
|
|
|
d26a47 |
.B join_count
|
|
|
d26a47 |
-Number of times processor joined membership with local processor. When
|
|
|
d26a47 |
+Number of times the processor joined membership with local cluster. When
|
|
|
d26a47 |
processor fails and rejoins again, this value is incremented.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B status
|
|
|
d26a47 |
-Status of processor. Can be one of joined and left.
|
|
|
d26a47 |
+Status of the processor. Can be one of joined and left.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B config_version
|
|
|
d26a47 |
-Config version of member node.
|
|
|
d26a47 |
+Config version of the member node.
|
|
|
d26a47 |
|
|
|
d26a47 |
.TP
|
|
|
d26a47 |
resources.process.PID.*
|
|
|
d26a47 |
Prefix created by applications using SAM with CMAP integration.
|
|
|
d26a47 |
-It contains following keys:
|
|
|
d26a47 |
+It contains the following keys:
|
|
|
d26a47 |
|
|
|
d26a47 |
.B recovery
|
|
|
d26a47 |
-Recovery policy of process. Can be one of quit or restart.
|
|
|
d26a47 |
+Recovery policy of the process. Can be one of quit or restart.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B poll_period
|
|
|
d26a47 |
-Value passed in sam_initialize as time_interval.
|
|
|
d26a47 |
+Value passed in sam_initialize as a time_interval.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B last_updated
|
|
|
d26a47 |
-Last time when SAM received heartbeat from client.
|
|
|
d26a47 |
+Last time SAM received a heartbeat from the client.
|
|
|
d26a47 |
|
|
|
d26a47 |
.B state
|
|
|
d26a47 |
-State of client. Can be one of failed, stopped, running and waiting for quorum.
|
|
|
d26a47 |
+State of the client. Can be one of failed, stopped, running and waiting for quorum.
|
|
|
d26a47 |
|
|
|
d26a47 |
.TP
|
|
|
d26a47 |
uidgid.*
|
|
|
d26a47 |
-Informations about users/groups which are allowed to do IPC connection to
|
|
|
d26a47 |
+Informations about users/groups which are allowed to make IPC connections to
|
|
|
d26a47 |
corosync.
|
|
|
d26a47 |
|
|
|
d26a47 |
.TP
|
|
|
d26a47 |
@@ -276,7 +276,7 @@ to unblock quorum if notes are known to be down. for pcs use only.
|
|
|
d26a47 |
|
|
|
d26a47 |
.TP
|
|
|
d26a47 |
config.reload_in_progress
|
|
|
d26a47 |
-This value will be set to 1 (or created) when corosync.conf reload is started,
|
|
|
d26a47 |
+This value will be set to 1 (or created) when a corosync.conf reload is started,
|
|
|
d26a47 |
and set to 0 when the reload is completed. This allows interested subsystems
|
|
|
d26a47 |
to do atomic reconfiguration rather than changing each key. Note that
|
|
|
d26a47 |
individual add/change/delete notifications will still be sent during a reload.
|
|
|
d26a47 |
@@ -285,33 +285,33 @@ individual add/change/delete notifications will still be sent during a reload.
|
|
|
d26a47 |
config.totemconfig_reload_in_progress
|
|
|
d26a47 |
This key is similar to
|
|
|
d26a47 |
.B config.totemconfig_reload_in_progress
|
|
|
d26a47 |
-but changed after totem config trigger is processed. It is useful (mainly)
|
|
|
d26a47 |
+but changed after the totem config trigger is processed. It is useful (mainly)
|
|
|
d26a47 |
for situations when
|
|
|
d26a47 |
.B nodelist.local_node_pos
|
|
|
d26a47 |
-must be first correctly reinstated.
|
|
|
d26a47 |
+must be correctly reinstated before anything else.
|
|
|
d26a47 |
|
|
|
d26a47 |
.SH DYNAMIC CHANGE USER/GROUP PERMISSION TO USE COROSYNC IPC
|
|
|
d26a47 |
-Is very same as in configuration file. To add UID 500 use
|
|
|
d26a47 |
+Is the same as in the configuration file. eg: to add UID 500 use
|
|
|
d26a47 |
|
|
|
d26a47 |
.br
|
|
|
d26a47 |
# corosync-cmapctl -s uidgid.uid.500 u8 1
|
|
|
d26a47 |
|
|
|
d26a47 |
-GID is similar, so to add GID use
|
|
|
d26a47 |
+GID is similar, so to add a GID use
|
|
|
d26a47 |
|
|
|
d26a47 |
.br
|
|
|
d26a47 |
# corosync-cmapctl -s uidgid.gid.500 u8 1
|
|
|
d26a47 |
|
|
|
d26a47 |
-For removal of permission, simply delete key
|
|
|
d26a47 |
+For removal of permissions, simply delete the key
|
|
|
d26a47 |
|
|
|
d26a47 |
.br
|
|
|
d26a47 |
# corosync-cmapctl -d uidgid.gid.500
|
|
|
d26a47 |
|
|
|
d26a47 |
.SH DYNAMIC ADD/REMOVE OF UDPU NODE
|
|
|
d26a47 |
-We will need to add node with address 10.34.38.108
|
|
|
d26a47 |
+Eg. To add the node with address 10.34.38.108
|
|
|
d26a47 |
and nodeid 3. This node is called NEW and it's not running corosync yet.
|
|
|
d26a47 |
|
|
|
d26a47 |
.PP
|
|
|
d26a47 |
-* Find a node position in node list which is not used yet. It's recommended to
|
|
|
d26a47 |
+* Find a node position in the node list which is not used yet. It's recommended that you
|
|
|
d26a47 |
use highest_number + 1. Let's say output of corosync-cmapctl looks like:
|
|
|
d26a47 |
|
|
|
d26a47 |
.br
|
|
|
d26a47 |
@@ -327,32 +327,32 @@ nodelist.node.1.ring0_addr (str) = 10.34.38.107
|
|
|
d26a47 |
|
|
|
d26a47 |
So next node position will be 2.
|
|
|
d26a47 |
.PP
|
|
|
d26a47 |
-* Add all entries needed for node on all running nodes, as:
|
|
|
d26a47 |
+* Add all entries needed for the node on all running nodes, as:
|
|
|
d26a47 |
|
|
|
d26a47 |
.br
|
|
|
d26a47 |
# corosync-cmapctl -s nodelist.node.2.nodeid u32 3
|
|
|
d26a47 |
.br
|
|
|
d26a47 |
# corosync-cmapctl -s nodelist.node.2.ring0_addr str 10.34.38.108
|
|
|
d26a47 |
|
|
|
d26a47 |
-Always add ring0_addr key as last. Corosync engine on all nodes should reply
|
|
|
d26a47 |
+Always add the ring0_addr key last. The Corosync engine on all nodes should reply
|
|
|
d26a47 |
with
|
|
|
d26a47 |
.I notice [TOTEM ] adding new UDPU member {10.34.38.108}
|
|
|
d26a47 |
message.
|
|
|
d26a47 |
.PP
|
|
|
d26a47 |
-* Add node information to configuration file on all nodes so it
|
|
|
d26a47 |
-will survive restart of corosync.
|
|
|
d26a47 |
+* Add node information to the configuration file on all nodes so that it
|
|
|
d26a47 |
+will survive a restart of corosync.
|
|
|
d26a47 |
.PP
|
|
|
d26a47 |
-* Copy and edit configuration file to NEW node.
|
|
|
d26a47 |
+* Copy and edit configuration file to the NEW node.
|
|
|
d26a47 |
.PP
|
|
|
d26a47 |
-* Start corosync on NEW node.
|
|
|
d26a47 |
+* Start corosync on the NEW node.
|
|
|
d26a47 |
|
|
|
d26a47 |
-Removal of UDPU node is very similar slightly reversed action, so
|
|
|
d26a47 |
+Removal of a UDPU node is a very similar, slightly reversed action, so
|
|
|
d26a47 |
.PP
|
|
|
d26a47 |
-* Stop corosync old OLD node.
|
|
|
d26a47 |
+* Stop corosync on the OLD node.
|
|
|
d26a47 |
.PP
|
|
|
d26a47 |
-* Remove relevant entries from cmap on all nodes.
|
|
|
d26a47 |
+* Remove the relevant entries from cmap on all nodes.
|
|
|
d26a47 |
.PP
|
|
|
d26a47 |
-* Change configuration file on all nodes.
|
|
|
d26a47 |
+* Change the configuration file on all nodes.
|
|
|
d26a47 |
|
|
|
d26a47 |
.SH "SEE ALSO"
|
|
|
d26a47 |
.BR corosync_overview (8),
|
|
|
d26a47 |
--
|
|
|
d26a47 |
1.7.1
|
|
|
d26a47 |
|