QCP Installation and Usage Guide
This guide provides simple steps for installing the QCP connection pooler, as well as basic configuration of the systemd service. See Chapter QCP Asynchronous Connection Pool for more details.
To start using QCP, you need to install the supplied package on your system. If you are installing packages from the QHB repository, you can use the Step-by-Step Guides for Initial Download, Installation and Launch. After connecting to the repository, you can install the package, for example, for Centos 7, as follows:
sudo yum install qcp
After installation, a file with an example configuration will be created in /etc/qcp/config-example.yaml. You should to copy it to /etc/qcp/config.yaml and edit to suit your needs, setting the necessary parameters for connecting to the DBMS.
The service is managed through the supplied systemd unit.
Before the first launch, after installing QCP, you must restart the daemon systemd for the changes to take effect:
systemctl daemon-reload
To start QCP:
sudo systemctl start qcp
To stop QCP:
sudo systemctl stop qcp
To have QCP automatically start at system startup, execute the following command:
sudo systemctl enable qcp
When changing the configuration, you need to execute the following command to make QCP reread the configuration file:
sudo systemctl reload qcp