juju deploy pgbouncer
Discuss this charm
Share your thoughts on this charm with the community on discourse.
PgBouncer is a lightweight connection pooler for PostgreSQL.
To deploy you'll need at a minimum: a cloud environment, a working Juju installation, and a successful bootstrap. Please refer to the Juju Getting Started documentation before continuing.
It is also recommended that you read the documentation for the postgresql charm so you understand how to set up postgresql in a master-slave relationship.
juju deploy cs:postgresql juju deploy cs:~postgresql-charmers/pgbouncer juju deploy cs:~postgresql-charmers/postgresql-client psql juju add-relation postgresql:db-admin pgbouncer:backend-db-admin juju add-relation psql:db pgbouncer:db # Or db-admin
The pgbouncer charm implements the same interface as the PostgreSQL charm.
See the PostgreSQL Client Interface
for details. Both charms provide the
db (standard privileges)
db-admin (administrative privileges) relations, and may be used
config.yaml for configuration options. Further details may be
found in the pgbouncer documentation
This charm provides relations that support monitoring via Nagios using
cs:nrpe_external_master as a subordinate charm.
Source is available in git at https://git.launchpad.net/pgbouncer-charm.
Bugs should be reported in the Launchpad Bugtracker.