confdb_keys8
Overview of keys stored in the configuration database
Overview
There are roughly 3 types of keys stored in ConfDB:
* Values stored in config file.
* Runtime statistics.
* Other user created values.
Objects and keys
- internal_configuration.*
-
Internal configuration data. It's only useful for getting list of loaded services.
- logging.*
-
Values read from configuration file. It's possible to change them at runtime. If subsystem specific configuration is needed, each subsys must have one object with subsys key. Other keys are same as in config file.
- runtime.blackbox.*
-
Trigger keys for store fplay data. It's recommended to use corosync-blackbox command to change keys in this object.
- runtime.connections.*
-
There are informations about total number of active connections in given moment in
activekey, number of closed connections during whole runtime of corosync inclosedkey and informations about each active IPC connection.
- runtime.connections.ID.*
-
Each IPC connection has unique ID. This is in form [[short_name:][PID:]internal_id. On some platforms, short_name and PID are not filled and only internal_id is used.
Typical keys in object are:
client_pidcontaining PID of IPC connection (unavailable on some platforms).dispatchedwith number of dispatched messages.invalid_requestis number of requests made by IPC which are invalid (calling non-existing call, ...).namecontaining short name of IPC connection (unavailable on some platforms).overloadis number of requests which were not processed because of overload.queue_sizecontains number of messages in queue waiting for send.recv_retriesis total number of interrupted receives.requestscontains number of requests made by IPC.responsesis number of responses sent to IPC client.send_retriescontains total number of interrupted sends.service_idcontains ID of service which IPC is connected to.
- runtime.services.*
-
Objects with statistics for service engines. Each service has it's own subobject with name SERVICE, where SERVICE is lower case name of service. Inside object is number of received and send messages by corosync engine in format runtime.services.SERVICE.EXEC_CALL.rx and runtime.services.SERVICE.EXEC_CALL.tx, where EXEC_CALL is internal id of service call (so for example 3 in cpg service is receive of multicast message from other nodes).
- runtime.totem.pg.mrp.srp.*
-
Object with statistics about totem. Typical keys:
commit_enteredNumber of times processor entered COMMIT state.commit_token_lostNumber of times processor lost token in COMMIT state.consensus_timeoutsHow many times processor timeouted making consensus about membership.continuous_gatherHow many times was processor not able to reach consensus.firewall_enabled_or_nic_failureSet to 1 when processor was not able to reach consensus for long time. Usual reason is badly configured firewall or connection failure.gather_enteredNumber of times processor entered GATHER state.gather_token_lostNumber of times processor lost token in GATHER state.mcast_retxNumber of retransmitted messages.mcast_rxNumber of received multicast messages.mcast_txNumber of transmitted multicast messages.memb_commit_token_rxNumber of received commit tokens.memb_commit_token_txNumber of transmitted commit tokens.memb_join_rxNumber of received join messages.memb_join_txNumber of transmitted join messages.memb_merge_detect_rxNumber of received member merge messages.memb_merge_detect_txNumber of transmitted member merge messages.orf_token_rxNumber of received orf tokens.orf_token_txNumber of transmitted orf tokens.recovery_enteredNumber of times processor entered recovery.recovery_token_lostNumber of times token was lost in recovery state.rx_msg_droppedNumber of received messages which was dropped because they were not expected (as example multicast message in commit state).token_hold_cancel_rxNumber of received token hold cancel messages.token_hold_cancel_txNumber of transmitted token hold cancel messages.mtt_rx_tokenMean transit time of token in milliseconds. In other words, time between two consecutive token receives.avg_token_workloadAverage time in milliseconds of holding time of token on current processor.avg_backlog_calcAverage number of not yet sent messages of current processor.
- runtime.totem.pg.mrp.srp.members.*
-
Object containing members of totem single ring protocol. Each member key has format runtime.totem.pg.mrp.srp.members.NODEID.KEY, where key is one of:
ipIP address of member. It's stored in format r(RING_ID) ip(IP_ADDRESS).join_countNumber of times processor joined membership with local processor. When processor fails and rejoins again, this value is incremented.statusStatus of processor. Can be one of joined and left.
- resources.process.PID.*
-
Object created by applications using SAM with ConfDB integration. It contains following keys:
recoveryRecovery policy of process. Can be one of quit or restart.poll_periodValue passed in sam_initialize as time_interval.last_updatedLast time when SAM received heartbeat from client.stateState of client. Can be one of failed, stopped, running and waiting for quorum.
- uidgid.*
-
Informations about users/groups which are allowed to do IPC connection to corosync. Objects can contain uid and gid keys, with user and group allowed to connect corosync IPC.