pcsd - Man Page

pacemaker/corosync configuration system daemon

Synopsis

pcsd
pcsd --version [--full]

Description

Daemon for controlling and configuring pacemaker/corosync clusters via pcs.

--version

Print pcsd version information. List pcsd capabilities if --full is specified.

Environment

Network and SSL/TLS Settings

PCSD_BIND_ADDR=<string>

List of IP addresses pcsd should bind to delimited by ',' character.

PCSD_PORT=<string>

Port on which pcsd should be available.

PCSD_SSL_OPTIONS=<string>

SSL/TLS options delimited by ',' character. This is usually used to set SSL/TLS protocols accepted by pcsd. List of valid options can be obtained by running: ruby -e 'require "openssl"; puts OpenSSL::SSL.constants.grep /^OP_/'

PCSD_SSL_CIPHERS=<string>

SSL/TLS ciphers accepted by pcsd.

Web UI Settings

PCSD_DISABLE_GUI=<boolean>

Set to true to disable web UI frontend in pcsd.

PCSD_SESSION_LIFETIME=<integer>

Web UI session lifetime in seconds.

Proxy Settings

See ENVIRONMENT section in curl(1) man page for more details.

https_proxy=<string>, HTTPS_PROXY=<string>

Proxy server address for node to node communication.

all_proxy=<string>, ALL_PROXY=<string>

Proxy server address for node to node communication.

no_proxy=<string>, NO_PROXY=<string>

List of hostnames for which proxy is not used.

Miscellaneous Settings

PCSD_DEBUG=<boolean>

Set to true for advanced pcsd debugging information.

PCSD_RESTART_AFTER_REQUESTS=<integer>

Number of requests after which the Ruby server will be restarted to reduce memory footprint. To disable restarts, set 0, other numbers lower than 50 are interpreted as 50. Invalid values are ignored and the default (200) is set instead.

Files

All files described in this section are located in /var/lib/pcsd/. They are not meant to be edited manually unless said otherwise.

cfgsync_ctl

This JSON file controls pcsd and cluster configuration files synchronization across cluster nodes which pcsd is doing automatically in the background. This file can be safely edited manually.
Example:
{
 "file_backup_count": 50,
 "thread_disabled": false,
 "thread_interval": 600,
 "thread_interval_previous_not_connected": 60,
 "thread_paused_until": 1487780453
}

file_backup_count

How many backup files should be kept for each synchronized file.

thread_disabled

Set this to true to completely disable the synchronization.

thread_interval

How often in seconds should pcsd ask other nodes if the synchronized files have changed.

thread_interval_previous_not_connected

How often in seconds should pcsd ask other nodes if the synchronized files have changed if during the previous attempt pcsd was unable to connect to at least two nodes.

thread_paused_until

Disable the synchronization until the set unix timestamp.

known-hosts

This JSON file stores information about hosts known to the local pcsd which are used to login to remote instances of pcsd. Stored information include host addresses, pcsd ports and authentication tokens.

pcs_settings.conf

This JSON file contains web UI and cluster configuration such as clusters managed from web UI and cluster permissions.

pcs_users.conf

This JSON file stores authentication tokens accepted by local instance of pcsd.

pcsd.cookiesecret

Web UI cookie secret.

pcsd.crt, pcsd.key

These files contain pcsd server certificate and private key.

See Also

pcs(8) pcs_snmp_agent(8)

curl(1)

Referenced By

pcs(8), pcs_snmp_agent(8).

2024-01-05 pcs 0.11.7 System Administration Utilities