Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Service for PostgreSQL Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

## Example: Configuring Cluster Resources for PostgreSQL

1. Register the necessary data types on both nodes.

       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 logical host.

       phys-schost-1# clreslogicalhostname create -g RG-PGS ha-host-1

4. 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

5. Enable the resource group.

       phys-schost-1# clresourcegroup online -M RG-PGS

Copyright © 2000, 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices |