Home | History | Annotate | Download | only in saa
      1 #
      2 # CDDL HEADER START
      3 #
      4 # The contents of this file are subject to the terms of the
      5 # Common Development and Distribution License (the License).
      6 # You may not use this file except in compliance with the License.
      7 #
      8 # You can obtain a copy of the license at usr/src/CDDL.txt
      9 # or http://www.opensolaris.org/os/licensing.
     10 # See the License for the specific language governing permissions
     11 # and limitations under the License.
     12 #
     13 # When distributing Covered Code, include this CDDL HEADER in each
     14 # file and include the License file at usr/src/CDDL.txt.
     15 # If applicable, add the following below this CDDL HEADER, with the
     16 # fields enclosed by brackets [] replaced with your own identifying
     17 # information: Portions Copyright [yyyy] [name of copyright owner]
     18 #
     19 # CDDL HEADER END
     20 #
     21 
     22 #
     23 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
     24 # Use is subject to license terms.
     25 #
     26 #ident	"@(#)saa_config.ksh	1.7	07/06/06 SMI"
     27 # 
     28 # This file will be sourced in by SAA_register and the parameters
     29 # listed below will be used.
     30 #
     31 # These parameters can be customized in (key=value) form
     32 #
     33 #        RS - name of the resource for the application
     34 #        RG - name of the resource group containing RS
     35 #      PORT - name of the port number
     36 #        LH - name of the LogicalHostname SC resource
     37 #    HAS_RS - name of the HAStoragePlus SC resource
     38 #
     39 #  PERFORM_REAL_MONITORING - Controls if real SAA monitoring is performed.
     40 #                            The default is 0, which means the SAA fault
     41 #                            monitor will not trigger restarts or failover.
     42 #                            This will enable being able to perform manual
     43 #                            intervention to the SAA application.
     44 #
     45 #                 IMPORTANT: This behaviour was explicitly requested by SWIFT.
     46 #                 ========== It will allow users unfamiliar with the Sun Cluster
     47 #                            software to operate the application as if it is
     48 #                            not running on a cluster:
     49 #                            - Operator triggering manually SWIFTAlliance Access
     50 #                              the restart function (e.g. to run SWIFTAlliance
     51 #                              Access in housekeeping mode).
     52 #                            - automatic/scheduled SWIFTAlliance Access restart
     53 #                              (e.g. to run database backup and other
     54 #                              maintenance/end-of-day processes).
     55 #                            - any graceful SWIFTAlliance Access restart /
     56 #                              recovery in case of an SWIFTAlliance Access
     57 #                              transient local error.
     58 #
     59 #                            Enabling PERFORM_REAL_MONITORING=1 is NOT
     60 #                            recommended by Swift. 
     61 #
     62 #                            If this variable is set to 1, the fault monitor
     63 #                            will also trigger restarts and failover,
     64 #                            depending on the configuration for the
     65 #                            resource properties Retry_count, Failover_enabled
     66 #                            and Failover_mode.
     67 #
     68 #                 IMPORTANT: Setting PERFORM_REAL_MONITORING=1
     69 #                 ========== mandates only using the Sun Cluster administrative
     70 #                            commands in order to enable/disable the resource
     71 #                            and thus starting and stopping the SAA application.
     72 #                            The SAA application then must never get started
     73 #                            or stopped through a different mechanism.
     74 #
     75 
     76 RS=
     77 RG=
     78 PORT=
     79 LH=
     80 HAS_RS=
     81 PERFORM_REAL_MONITORING=0
     82