Udiff pgs_config.ksh
--- /workspace/du105637/oscposthot/webrev/usr/src/cmd/ha-services/gds-agents/PostgreSQL/pgs_config.ksh- Tue Apr 22 05:14:55 2008
+++ pgs_config.ksh      Tue Apr 22 04:40:13 2008
@@ -18,15 +18,15 @@
 #
 # CDDL HEADER END
 #
 
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 
-#ident "%Z%%M% %I%     %E% SMI"
+# ident   "%Z%%M% %I%     %E% SMI"
 # 
 # This file will be sourced in by pgs_register and the parameters
 # listed below will be used.
 #
 # These parameters can be customized in (key=value) form
@@ -114,5 +114,43 @@
 SCDB=
 SCUSER=
 SCTABLE=
 SCPASS=
 NOCONRET=10
+
+# The following parameters need to be configured only if logfile shipping is configured to ship
+# the PosgreSQL WAL logs between a designated primary and a designated standby resource.
+# They need to be configured only on the primary.
+
+#        STDBY_RS  The resource name of the PostgreSQL standby resource.
+#        STDBY_RG  The resource group name of the PostgreSQL standby resource group.
+#      STDBY_USER  User which is the owner of the standby postgres database.
+#      STDBY_HOST  Resolvable name of the standby host or the standby zone,
+#                  this name has to be reachable via ssh.
+#   STDBY_PARFILE  The standbys postgres parameter file to get the rest of the necessary parameters.
+#   STDBY_PING     The number of of packets the primary uses to ping the standby host. If this variable is
+#                  empty, it will be set to 5 packets.
+#   ROLECHG_RS     The rolechangers resource name. 
+#  SSH_PASSDIR     A directory where the ssh passphrase is stored in a the file <resourcename>-sshpass.
+#                  This parameter is needed only if you configured WAL file shipping and secured your
+#                  ssh key with a passphrase.
+#                  Leave it undefined if the passprase is empty.
+#    
+# If you configure the logfile shipping in a shared nothing topology, do not set the LH parameter.
+#
+# Configure the following paramters on the primary host.
+
+STDBY_RS=
+STDBY_RG=
+STDBY_USER=
+STDBY_HOST=
+STDBY_PARFILE=
+STDBY_PING=
+#
+# Configure the following paramters on the standby host.
+#
+ROLECHG_RS=
+#
+# Configure the following parameter on both hosts.
+#
+SSH_PASSDIR=
+