1. Installing and Configuring HA for PostgreSQL
A. Files for Configuring Solaris Cluster HA for Solaris PostgreSQL Resources
B. Deployment Example: Installing PostgreSQL in the Global Zone
Installing and Configuring PostgreSQL on Shared Storage in the Global Zone
Example: Preparing the Cluster for PostgreSQL
Example: Configuring Cluster Resources for PostgreSQL
Example: Modifying the PostgreSQL Configuration File
Example: Building and Installing the PostgreSQL Software on Shared Storage
Installing the PostgreSQL Binaries in the Default Directory (Alternative Installation)
Example: Building and Installing the PostgreSQL Software in the Default Directory in the Global Zone
C. Deployment Example: Installing PostgreSQL in a Non-Global HA Container
D. Deployment Example: Installing PostgreSQL in a Non-Global Zone
E. Deployment Example: Installing PostgreSQL in the Global Zone Using WAL File Shipping
phys-schost-1$ mkdir /global/mnt3/postgres/data phys-schost-1$ mkdir /global/mnt3/postgres/logs
phys-schost-1$ cd /global/mnt3/postgres/postgresql-8.1.0 phys-schost-1$ ./bin/initdb -D /global/mnt3/postgres/data
phys-schost-1$ ./bin/postmaster -D /global/mnt3/postgresql-8.1.0
phys-schost-1$ ksh /opt/SUNWscPostgreSQL/util/pgs_db_prep -f /global/mnt3/pgs_config
phys-schost-1$ ./bin/pg_ctl -D /global/mnt3/data stop
phys-schost-1$ exit
phys-schost-1# ksh /opt/SUNWscPostgreSQL/util/pgs_register -f /global/mnt3/pgs_config
listen_addresses = 'localhost,ha-host-1'
host all all 0.0.0.0/0 password
phys-schost-1# clresource enable RS-PGS