table of contents
PCSD(8) | System Administration Utilities | PCSD(8) |
NAME¶
pcsd - pacemaker/corosync configuration system daemon
DESCRIPTION¶
Daemon for controlling and configuring pacemaker/corosync clusters via pcs.
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.
- RACK_ENV=<string>
- Value of this variable has to be production, otherwise pcsd will not work properly.
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.
pcsd_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.
tokens¶
This JSON file stores authentication tokens which are used to login to remote instances of pcsd.
SEE ALSO¶
April 2020 | pcs 0.9.169 |