PgBouncer service actions
This article describes the actions available for the PgBouncer service in the ADCM web interface.
Install
Installs the PgBouncer service. This action is available only if a service has been added but not yet installed.
|
IMPORTANT
Depending on where you install PgBouncer, the |
Add/Remove
Opens the component-host mapping interface where you can add and remove PgBouncer on the selected hosts.
|
IMPORTANT
If PgBouncer is installed on the master host and you activate the standby master (using the Activate standby cluster action), then remove PgBouncer from the former master using the Add/Remove action. After completing this action, run the Reconfigure action of the PgBouncer service. |
Manage
Allows you to run PgBouncer commands from the ADCM web interface. Starting with ADB 6.32.0, the action is performed via the ADCM Wizard component.
In the Manage window that opens, perform the following steps:
-
In the Select command step, use the Command list to select a command to run and then click Next step.
The Manage window, step 1.1 -
In the Configure targets step, configure the following parameters:
-
PgBouncer hosts: the hosts on which you want to run PgBouncer commands. Only hosts with the PgBouncer service can be used. By default, all cluster hosts that contain the PgBouncer service are selected. You can remove hosts from the list if you don’t want the command to run on some of them.
-
Database name: the name of a target database. Specifying a database name is required for the
ENABLEandDISABLEcommands and is optional for thePAUSE,RECONNECT,KILL,RESUME, andWAIT_CLOSEcommands (if no database is provided for these commands, the command is executed on all databases). This field is not available for theSHUTDOWNorRELOADcommand because these commands apply to the entire service.
The Manage window, step 1.2
-
-
In the Preparing for running step, click Run to launch the action.
The Manage window, step 2.1
Reconfigure
Updates the service configuration according to the configuration settings.
During the Reconfigure action, after updating the configuration files, the PgBouncer RELOAD command is executed to apply the settings. The settings will be applied to new connections. Existing connections with the previous parameters will be closed when they are released (according to the pooling mode as defined by the Pool mode parameter in the PgBouncer configuration settings).
The PgBouncer configuration files are stored in /etc/pgbouncer on the host where PgBouncer is installed.
|
NOTE
The PgBouncer service uses some of the ADB service settings (such as SSL, LDAP, and pg_hba.conf). If you run the Reload or Restart action of the ADB service with the Apply configs from ADCM option selected, run the Reconfigure action of the PgBouncer service to apply the changes from ADB. Until the action is run, the PgBouncer service shows a non-blocking concern reminding you to do so. |