JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for PostgreSQL Guide     Oracle Solaris Cluster 4.1
search filter icon
search icon

Document Information

Preface

1.  Installing and Configuring HA for PostgreSQL

A.  Files for Configuring Oracle Solaris Cluster HA for PostgreSQL Resources

B.  Deployment Example: Installing PostgreSQL in the Global Zone or a Zone Cluster

Target Cluster Configuration

Software Configuration

Assumptions

Installing and Configuring PostgreSQL on Shared Storage in the Global Zone or a Zone Cluster

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

Example: Enabling the PostgreSQL Software to Run in the Cluster

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 Zone With HA for Solaris Zones

D.  Deployment Example: Installing PostgreSQL in the Global Zone Using WAL File Shipping

Index

Example: Preparing the Cluster for PostgreSQL

  1. Install and configure the cluster as instructed in Oracle Solaris Cluster Software Installation Guide.

    Install the following cluster software components on both nodes.

    • Oracle Solaris Cluster core software

    • Oracle Solaris Cluster data service for PostgreSQL

  2. Install the following utility software on both nodes:
    • readline

    • gmake

    • Your C compiler

  3. Beginning on the node that owns the file system, add the postgres user.
    phys-schost-1# groupadd -g 1000 postgres
    phys-schost-2# groupadd -g 1000 postgres
    phys-schost-1# useradd -g 1000 -d /global/mnt3/postgres -s /bin/ksh postgres
    phys-schost-2# useradd -g 1000 -d /global/mnt3/postgres -s /bin/ksh postgres