Configuring and Using Pivotal Postgres
After installing the Pivotal Postgres software components, you must configure PostgreSQL and
repmgr for clustered operation. This involves tasks such as:
- Setting required PostgreSQL configuration parameters on each PostgreSQL host.
- Creating required databases and the
repmgruser on the PostgreSQL hosts.
- Enabling PostgreSQL authentication for the
repmgrsoftware on all hosts.
- Preparing and registering primary and replcation servers.
To perform these tasks, follow the instructions in Chapter 3. Quick-start guide in the Replication Manager documentation.
Note: Pivotal does not support using the
repmgr witness server, as it is not a full and complete solution for detecting split brain scenarios. Use external utilities (not provided by Pivotal) to prevent a split brain situation and to initiate fail-overs using the
For additional information about administering and using Replication Manager, see the full repmgr 4.2 Documentation.
You configure psqlODBC by placing settings into a configuration file,
odbc.ini, and then using an ODBC driver manager such as UnixODBC or iODBC to load the configuration file. See 7.3. Configuration Files in the PostgreSQL documentation for information about the ODBC driver configuration settings.
See also psqlODBC - PostgreSQL ODBC driver for additional HOWTOs and release-specific information associated with the driver software.
In order to use the
pgjdbc driver from a Java application, you must include the driver software in your CLASSPATH as described in Setting up the Class Path. See also the full documentation at The PostgreSQL JDBC Interface for information about initializing and using the JDBC driver in your Java applications.