

Root path for the PostgreSQL build without a prefix.įully customized root path for PostgreSQL. Root path for PostgreSQL shipped with Solaris OS. by searching the most probable root paths where you find bin/postmaster: See if the PostgreSQL version that you need is already installed on each cluster node. Before You Beginĭetermine the following requirements for the deployment of PostgreSQL with Sun Cluster: įor a complete example of deployment in a global zone, see Appendix B, Deployment Example: Installing PostgreSQL in the Global Zone.

# mkdir PostgreSQL-instance-mount-points/parameter-dirįor complete information about installing PostgreSQL, go to. # clresourcegroup online -M PostgreSQL-resource-groupĬreate a directory for the Sun Cluster HA for PostgreSQL parameter file. PostgreSQL-logical-hostname-resource-name # clreslogicalhostname create -g PostgreSQL-resource-group \ (Optional) If you plan to access the database from a logical host, choose the following tasks according to your zone type. p FileSystemMountPoints= PostgreSQL-instance-mount-points \ # clresource create -t SUNW.HAStoragePlus \ # clresourcegroup create PostgreSQL-resource-groupĬreate a resource for PostgreSQL`s disk storage. # clresourcetype register SUNW.HAStoragePlus SUNW.gds
#Configure postgresql how to
How to Install and Configure PostgreSQL in a Failover Zoneįor a complete example of deploying in a global zone, see Appendix B, Deployment Example: Installing PostgreSQL in the Global Zone.Īs superuser register the SUNW.HAStoragePlus and the SUNW.gds resource types. How to Enable a Zone to Run PostgreSQL in a Failover Zone Configuration To install and configure PostgreSQL in a failover zone configuration, complete the following tasks: How to Install and Configure PostgreSQL in a Zone How to Enable a Zone to Run PostgreSQL in a Zone Configuration

To install and configure PostgreSQL in a zone configuration, complete the following tasks: How to Install and Configure PostgreSQL in a Global Zone How to Enable a PostgreSQL Database to Run in a Global Zone Configuration To install and configure PostgreSQL in a global zone configuration, complete the following tasks: The failover zone configuration procedure is applicable if you install PostgreSQL in a failover zone. The global zone configuration procedure is applicable if you install PostgreSQL on Solaris 9, or in the global zone of Solaris 10. If the version does not fulfill your needs, you have to build PostgreSQL on your own.įor each PostgreSQL database that you are installing and configuring choose the following tasks according to your zone type.ĭetermine whether you have to configure Sun Cluster HA for PostgreSQL to run in a global zone, in a zone or in a failover zone configuration. If they are not installed, you need to decide wether you wan to install PostgreSQL from the Solaris Media or if you want to build PostgreSQL on your own. To determine which PostgreSQL version is installed, submit the following commands. To do this you need to check if at least the three following packages are installed on your system. Installing and configuring a Solaris Container, see System Administration Guide: Solaris Containers-Resource Management and Solaris Zones.ĭetermine if the sun supplied PostgreSQL is already installed and if the installed version will fulfill your requirements. For complete information about installing and configuring PostgreSQL, see. This section explains only the special requirements for installing PostgreSQL for use with Sun Cluster HA for PostgreSQL.
