Commit 2cff35f2 authored by iSergio's avatar iSergio
Browse files

Fixes

parent 180902d1
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -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
@@ -39,6 +43,7 @@ while getopts ':psvhabd' option; do
        a) CATEGORY=a
            ;;
        b) CATEGORY=b
           DB_CLUSTER=true
            ;;
        d) DB_CLUSTER=true
            ;;