From 5485b9bd815ccac6e85cf412379f2c526e17aada Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Tue, 20 Dec 2016 10:13:55 +0900 Subject: [PATCH] Enhance documentation. Add "Tips for Installation" section added. --- doc/src/sgml/filelist.sgml | 1 + doc/src/sgml/installation-tips.sgml | 47 +++++++++++++++++++++++++++++ doc/src/sgml/installation.sgml | 2 ++ 3 files changed, 50 insertions(+) create mode 100644 doc/src/sgml/installation-tips.sgml diff --git a/doc/src/sgml/filelist.sgml b/doc/src/sgml/filelist.sgml index 2b56ad831..c21a06ef1 100644 --- a/doc/src/sgml/filelist.sgml +++ b/doc/src/sgml/filelist.sgml @@ -41,6 +41,7 @@ + diff --git a/doc/src/sgml/installation-tips.sgml b/doc/src/sgml/installation-tips.sgml new file mode 100644 index 000000000..43d504ebc --- /dev/null +++ b/doc/src/sgml/installation-tips.sgml @@ -0,0 +1,47 @@ + + + + Tips for Installation + + This chapter gathers random tips for installing Pgpool-II. + + + + Firewalls + + When Pgpool-II connects to + other Pgpool-II servers + or PostgreSQL servers, the target port + must be accessible by enabling firewall management softwares. + + + + Here is an example for CentOS/RHEL7 when access + to PostgreSQL is required. + +firewall-cmd --permanent --zone=public --add-service=postgresql +firewall-cmd --reload + + "postgresql" is the service name assigned + to PostgreSQL. The list of service + names can be obtained by: + + firewall-cmd --get-services + + Note that you can define your own service name in + /usr/lib/firewalld/services/. + + + + If PostgreSQL is listening on 11002 + port, rather than the standard 5432 port, you can do: + + firewall-cmd --zone=public --remove-service=popstgresql --permanent + firewall-cmd --zone=public --add-port=11002/tcp --permanent + firewall-cmd --reload + + + + + + diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 88f70c588..915316213 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -426,4 +426,6 @@ $ psql -f pgpool-regclass.sql template1 &installation-rpm; +&installation-tips; + -- 2.39.5