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

Document Information

Preface

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

C.  Deployment Example: Installing PostgreSQL in a Non-Global HA Container

Target Cluster Configuration

Software Configuration

Assumptions

Installing and Configuring PostgreSQL on Shared Storage in a Non-Global HA Container

Example: Preparing the Cluster for PostgreSQL

Example: Configuring Cluster Resources for PostgreSQL

Example: Configuring the HA Container

Example: Modifying the PostgreSQL Configuration File

Example: Building and Installing the PostgreSQL Software on Shared Storage in an HA Container

Example: Enabling the PostgreSQL Software to Run in the Cluster

Installing the PostgreSQL Binaries in the Default Directory in an HA Container (Alternative Installation)

Example: Building and Installing the PostgreSQL Software in the Default Directory in an 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

Index

Example: Configuring Cluster Resources for PostgreSQL

This example is based upon How to Enable a PostgreSQL Database to Run in a Global Zone Configuration.

  1. Register the HAStoragePlus resource type.
    phys-schost-1# clresourcetype register SUNW.gds SUNW.HAStoragePlus
  2. Create the PostgreSQL resource group.
    phys-schost-1# clresourcegroup create RP-PGS
  3. Create the HAStoragePlus resource in the RG-PGS resource group.
    phys-schost-1# clresource create -g RG-PGS -t SUNW.HAStoragePlus -p AffinityOn=TRUE \ -p FilesystemMountPoints=/global/mnt3,/global/mnt4 RS-PGS-HAS
  4. Enable the resource group.
    phys-schost-1# clresourcegroup online -M RG-PSG