Loading pgpool/configure.sh +7 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,12 @@ usage="$(basename "$0") [-h] [-p] [-s] [-a|b] [-d] -- Script configure pgpool-II -b configure pgpool for category B (2 servers) (jboss and postgresql cluster on same hasts) (Default: a) -d configure pgpool for PostgreSQL cluster (Default: false) Example usage: configure.sh -p -a -- PgPool will be configured for primary server Category A (without PostgreSQL) (app-primary) configure.sh -p -a -d -- PgPool will be configured for primary server Category A without PostgreSQL (db-primary) configure.sh -p -a -- PgPool will be configured for primary server Category A without PostgreSQL (app-primary) configure.sh -s -a -- PgPool will be configured for primary server Category A without PostgreSQL (app-standby) configure.sh -p -a -d -- PgPool will be configured for primary server Category A with PostgreSQL (db-primary) configure.sh -s -a -d -- PgPool will be configured for primary server Category A with PostgreSQL (db-standby) configure.sh -p -b -- PgPool will be configured for primary server Category B with PostgreSQL (primary) configure.sh -s -b -- PgPool will be configured for primary server Category B with PostgreSQL (standby) " while getopts ':psvhabd' option; do Loading @@ -39,6 +43,7 @@ while getopts ':psvhabd' option; do a) CATEGORY=a ;; b) CATEGORY=b DB_CLUSTER=true ;; d) DB_CLUSTER=true ;; Loading Loading
pgpool/configure.sh +7 −2 Original line number Diff line number Diff line Loading @@ -24,8 +24,12 @@ usage="$(basename "$0") [-h] [-p] [-s] [-a|b] [-d] -- Script configure pgpool-II -b configure pgpool for category B (2 servers) (jboss and postgresql cluster on same hasts) (Default: a) -d configure pgpool for PostgreSQL cluster (Default: false) Example usage: configure.sh -p -a -- PgPool will be configured for primary server Category A (without PostgreSQL) (app-primary) configure.sh -p -a -d -- PgPool will be configured for primary server Category A without PostgreSQL (db-primary) configure.sh -p -a -- PgPool will be configured for primary server Category A without PostgreSQL (app-primary) configure.sh -s -a -- PgPool will be configured for primary server Category A without PostgreSQL (app-standby) configure.sh -p -a -d -- PgPool will be configured for primary server Category A with PostgreSQL (db-primary) configure.sh -s -a -d -- PgPool will be configured for primary server Category A with PostgreSQL (db-standby) configure.sh -p -b -- PgPool will be configured for primary server Category B with PostgreSQL (primary) configure.sh -s -b -- PgPool will be configured for primary server Category B with PostgreSQL (standby) " while getopts ':psvhabd' option; do Loading @@ -39,6 +43,7 @@ while getopts ':psvhabd' option; do a) CATEGORY=a ;; b) CATEGORY=b DB_CLUSTER=true ;; d) DB_CLUSTER=true ;; Loading