For a complete example of deploying in a global zone, see Appendix B, Deployment Example: Installing PostgreSQL in the Global Zone.
As superuser register the SUNW.HAStoragePlus and the SUNW.gds resource types.
# clresourcetype register SUNW.HAStoragePlus SUNW.gds |
Create a failover resource group.
# clresourcegroup create PostgreSQL-resource-group |
Create a resource for the PostgreSQL`s disk storage.
# clresource create -t SUNW.HAStoragePlus \ -p FileSystemMountPoints=PostgreSQL-instance-mount-points \ PostgreSQL-has-resource |
(Optional) If you plan to access the database from a logical host, choose the following tasks according to your zone type.
# clreslogicalhostname create -g PostgreSQL-resource-group \ PostgreSQL-logical-hostname-resource-name |
Enable the failover resource group.
# clresourcegroup online -M PostgreSQL-resource-group |
Create a directory for the Sun Cluster HA for PostgreSQL parameter file.
# mkdir PostgreSQL-instance-mount-points/parameter-dir |