
                              pgpool-ha 2.0
                    OCF style Resource Agent for pgpool-II


install
=======

 see "INSTALL"

usage
=====

 OCF parameters are as below:

    pgpoolconf   path of pgpool.conf
                 (default: /usr/local/etc/pgpool.conf)

    pcpconf      path of pcp.conf

    hbaconf      path of pool_hba.conf

    logfile      log file for stdout and stderr redirection;
                 or a program for log collecting by a pipeline.
                   (e.g.)
                   "/var/log/pgpool.log"
                   "| logger -t pgpool -p local3.info"

    options      pgpool start options (except configuration file options and
                 -n option for log resirection)
                   (e.g.)
                   "--discard-status"
                   "-D -d"

    pgpooluser   pgpool start user

    checkmethod  monitoring method:
                   "pid"   process existence check only (default).
                   "pcp"   check by pcp_node_count command.
                   "psql"  check by psql command.

                 "pcp" and "psql" methods also check process existence
                 with pid_file_name parameter in pgpool.conf file.

    checkstring  parameter for monitoring method
                   checkmetod="pid"  : pidfile
                    (default: value of pid_file_name parameter in pgpool.conf)

                   checkmetod="pcp"  : parameter string for pcp_node_count
                    (default: "10 localhost 9898 postgres pass")

                   checkmetod="psql" : parameter string for psql
                    (default: "-U postgres -h localhost -p 9999 -l")

support ML
==========

 pgpool-general@pgpool.net



