Print this page
Split Close
Expand all
Collapse all
          --- /workspace/du105637/oscposthot/webrev/usr/src/cmd/ha-services/gds-agents/PostgreSQL/pgs_config.ksh-
          +++ pgs_config.ksh
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/CDDL.txt.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets [] replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23      -# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
       23 +# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26   26  
  27      -#ident  "%Z%%M% %I%     %E% SMI"
       27 +# ident   "%Z%%M% %I%     %E% SMI"
  28   28  # 
  29   29  # This file will be sourced in by pgs_register and the parameters
  30   30  # listed below will be used.
  31   31  #
  32   32  # These parameters can be customized in (key=value) form
  33   33  #
  34   34  #                RS - name of the resource for the application.
  35   35  #                RG - name of the resource group containing RS.
  36   36  #              PORT - name of the port number.
  37   37  #                LH - name of the LogicalHostname SC resource.
↓ open down ↓ 71 lines elided ↑ open up ↑
 109  109  PGPORT=
 110  110  PGHOST=
 111  111  PGLOGFILE=
 112  112  LD_LIBRARY_PATH=
 113  113  ENVSCRIPT=
 114  114  SCDB=
 115  115  SCUSER=
 116  116  SCTABLE=
 117  117  SCPASS=
 118  118  NOCONRET=10
      119 +
      120 +# The following parameters need to be configured only if logfile shipping is configured to ship
      121 +# the PosgreSQL WAL logs between a designated primary and a designated standby resource.
      122 +# They need to be configured only on the primary.
      123 +
      124 +#        STDBY_RS  The resource name of the PostgreSQL standby resource.
      125 +#        STDBY_RG  The resource group name of the PostgreSQL standby resource group.
      126 +#      STDBY_USER  User which is the owner of the standby postgres database.
      127 +#      STDBY_HOST  Resolvable name of the standby host or the standby zone,
      128 +#                  this name has to be reachable via ssh.
      129 +#   STDBY_PARFILE  The standbys postgres parameter file to get the rest of the necessary parameters.
      130 +#   STDBY_PING     The number of of packets the primary uses to ping the standby host. If this variable is
      131 +#                  empty, it will be set to 5 packets.
      132 +#   ROLECHG_RS     The rolechangers resource name. 
      133 +#  SSH_PASSDIR     A directory where the ssh passphrase is stored in a the file <resourcename>-sshpass.
      134 +#                  This parameter is needed only if you configured WAL file shipping and secured your
      135 +#                  ssh key with a passphrase.
      136 +#                  Leave it undefined if the passprase is empty.
      137 +#    
      138 +# If you configure the logfile shipping in a shared nothing topology, do not set the LH parameter.
      139 +#
      140 +# Configure the following paramters on the primary host.
      141 +
      142 +STDBY_RS=
      143 +STDBY_RG=
      144 +STDBY_USER=
      145 +STDBY_HOST=
      146 +STDBY_PARFILE=
      147 +STDBY_PING=
      148 +#
      149 +# Configure the following paramters on the standby host.
      150 +#
      151 +ROLECHG_RS=
      152 +#
      153 +# Configure the following parameter on both hosts.
      154 +#
      155 +SSH_PASSDIR=
      156 +
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX