Sun Cluster Data Service for PostgreSQL Guide for Solaris OS

ProcedureExample: Preparing the Cluster for PostgreSQL

  1. Install and configure cluster as instructed in Sun Cluster Software Installation Guide for Solaris OS.

    Install the following cluster software components on both nodes:

    • Sun Cluster core software

    • Sun Cluster data service for PostgreSQL

  2. Install the following utility software on both nodes:

    • readline utility

    • rsync utility

    • gmake utility

    • Your C compiler

  3. Beginning from the node that owns the file system, add the postgres users.


    phys-schost-1# groupadd -g 1000 postgres
    

    phys-schost-2# groupadd -g 1000 postgres
    

    phys-schost-1# useradd -g 1000 -d /global/mnt3/postgres -m -s /bin/ksh pgs
    

    phys-schost-2# useradd -g 1000 -d /global/mnt3/postgres -m -s /bin/ksh pgs
    

    Note –

    For a local zone, perform the steps in the local zones on each node.


  4. Ensure that the PostgreSQL users can login to each other's profile using ssh without a password prompt.