![]() $ gmakeįor a complete example of deploying in a zone, see Appendix D, Deployment Example: Installing PostgreSQL in a Non-Global Zone. Complete, verify and install the build.configure -prefix= /global/postgres/version $ LD_LIBRARY_PATH= /usr/sfw/lib:/usr/local/lib:/usr/lib: $ PATH=$PATH: /usr/local/bin:/usr/sfw/bin:/usr/ccs/bin # chown -R postgres:postgres /global/postgres # useradd -u 1000 -g postgres -d /global/postgres -s /usr/bin/ksh postgres Add a user who owns the PostgreSQL installation on every node.Add a group for PostgreSQL on every node.As superuser create the home directory for the PostgreSQL user on one node.The PostgreSQL build directory is in /tmp/postgres/version, and the software is already downloaded and extracted in this place. The home directory of the postgres user is /global/postgres. The PostgreSQL database cluster will be installed in the same file system as the database software, in the directory /global/postgres/data. The PostgreSQL database software will be installed on the shared storage in the directory version in the failover file system /global/postgres. The readline package is installed under /usr/local. ![]() The compiler gcc and the gmake package are installed in /usr/sfw. These packages are needed to build PostgreSQL from the source code downloads from. Make sure, that a C compiler, make, and the readline package are installed. A known convention is /path/postgresql-x.y.z.ĭetermine the number of PostgreSQL resources to deploy.ĭetermine which cluster file systems will be used by each PostgreSQL resource. This is where to place the binaries on the shared storage. ![]() # mkdir PostgreSQL-instance-mount-points/parameter-dirįully customized root path for PostgreSQL. Create a directory for the HA for PostgreSQL parameter file.# clresourcegroup online -M PostgreSQL-resource-group 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įollowing tasks according to your zone type.p FileSystemMountPoints= PostgreSQL-instance-mount-points \ # clresource create -t SUNW.HAStoragePlus \ Create a resource for PostgreSQL`s disk storage.# clresourcegroup create PostgreSQL-resource-group # clresourcetype register SUNW.HAStoragePlus SUNW.gds As superuser register the SUNW.HAStoragePlus and the SUNW.gds resource types.How to Install and Configure PostgreSQL in an HA Containerįor a complete example of deploying in a global zone, see Appendix B, Deployment Example: Installing PostgreSQL in the Global Zone. How to Enable a Zone to Run PostgreSQL in an HA Container Configuration To install and configure PostgreSQL in an HA container configuration, complete the following 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: If you install PostgreSQL in an HA container. The HA container configuration procedure is applicable The global zoneĬonfiguration procedure is applicable if you install PostgreSQL on Solaris 9, or in Global zone, in a zone or in an HA container configuration. If the version does not fulfill your needs, youįor each PostgreSQL database that you are installing and configuring choose the followingĭetermine whether you have to configure HA for PostgreSQL to run in a To install PostgreSQL from the Solaris Media or if you want to build If they are not installed, you need to decide wether you want To determine which PostgreSQL version is installed, submit the following commands.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |