Configuring ASCRS with Oracle Fusion Middleware

13-4 Oracle Fusion Middleware High Availability Guide setup -j JDKJRE_HOME When the installation is complete, the following ASCRS directory structure appears: CRS_HOME ascrsbin CRS_HOME ascrsconfig CRS_HOME ascrslib CRS_HOME ascrslog CRS_HOME ascrspublic CRS_HOME ascrsperl CRS_HOME ascrssql CRS_HOME ascrswlst

13.3.3 Configuring ASCRS with Oracle Fusion Middleware

After you install ASCRS, it is ready for use with the default configuration. To customize logging locations, logging levels, or the default CRS properties, edit the config.xml file located in the CRS_HOMEascrsconfig directory. The config.xml file contains the configuration for ascrsctl ASCRS agent logging. To change either of their locations, specify an existing path name or a path name within this CRS home using the ORACLE_HOME prefix. The available logging levels in the decreasing order of verbosity are ALL, FINEST, FINER, FINE, INFO, WARNING and SEVERE. Each resource has its own agent log file that rolls over after its size exceeds rollover_size bytes. CRS properties are configured for policies. A policy name describes the characteristics of the CRS property values under that policy. A policy can be normal or fast. Policy fast means more frequent resource health checking, and less delay in failover. The following represents the default config.xml file shipped with ASCRS: ?xml version=1.0 ? config ascrsctl display level=normal log path={ORACLE_HOME}ascrslogascrsctl.log level=FINER resource-params target=vip policy=normal param name=AUTO_START value=1 param name=CHECK_INTERVAL value=7 param name=FAILOVER_DELAY value=5 param name=FAILURE_INTERVAL value=50 param name=FAILURE_THRESHOLD value=5 param name=RESTART_ATTEMPTS value=2 param name=SCRIPT_TIMEOUT value=120 param name=START_TIMEOUT value=120 param name=STOP_TIMEOUT value=120 resource-params resource-params target=vip policy=fast param name=AUTO_START value=1 param name=CHECK_INTERVAL value=5 param name=FAILOVER_DELAY value=4 param name=FAILURE_INTERVAL value=30 param name=FAILURE_THRESHOLD value=5 param name=RESTART_ATTEMPTS value=2 param name=SCRIPT_TIMEOUT value=120 param name=START_TIMEOUT value=120 param name=STOP_TIMEOUT value=120 resource-params Using Oracle Cluster Ready Services 13-5 resource-params target=disk policy=normal param name=AUTO_START value=1 param name=CHECK_INTERVAL value=7 param name=FAILOVER_DELAY value=5 param name=FAILURE_INTERVAL value=50 param name=FAILURE_THRESHOLD value=5 param name=RESTART_ATTEMPTS value=2 param name=SCRIPT_TIMEOUT value=120 param name=START_TIMEOUT value=120 param name=STOP_TIMEOUT value=120 resource-params resource-params target=disk policy=fast param name=AUTO_START value=1 param name=CHECK_INTERVAL value=5 param name=FAILOVER_DELAY value=4 param name=FAILURE_INTERVAL value=30 param name=FAILURE_THRESHOLD value=5 param name=RESTART_ATTEMPTS value=2 param name=SCRIPT_TIMEOUT value=120 param name=START_TIMEOUT value=120 param name=STOP_TIMEOUT value=120 resource-params resource-params target=dblsnr policy=normal param name=AUTO_START value=1 param name=CHECK_INTERVAL value=50 param name=FAILOVER_DELAY value=20 param name=FAILURE_INTERVAL value=300 param name=FAILURE_THRESHOLD value=5 param name=RESTART_ATTEMPTS value=4 param name=SCRIPT_TIMEOUT value=120 param name=START_TIMEOUT value=120 param name=STOP_TIMEOUT value=120 resource-params resource-params target=dblsnr policy=fast param name=AUTO_START value=1 param name=CHECK_INTERVAL value=40 param name=FAILOVER_DELAY value=20 param name=FAILURE_INTERVAL value=250 param name=FAILURE_THRESHOLD value=5 param name=RESTART_ATTEMPTS value=4 param name=SCRIPT_TIMEOUT value=120 param name=START_TIMEOUT value=120 param name=STOP_TIMEOUT value=120 resource-params resource-params target=db policy=normal param name=AUTO_START value=1 param name=CHECK_INTERVAL value=120 param name=FAILOVER_DELAY value=30 param name=FAILURE_INTERVAL value=700 param name=FAILURE_THRESHOLD value=5 param name=RESTART_ATTEMPTS value=4 param name=SCRIPT_TIMEOUT value=300 param name=START_TIMEOUT value=300 param name=STOP_TIMEOUT value=300 resource-params 13-6 Oracle Fusion Middleware High Availability Guide resource-params target=db policy=fast param name=AUTO_START value=1 param name=CHECK_INTERVAL value=60 param name=FAILOVER_DELAY value=20 param name=FAILURE_INTERVAL value=400 param name=FAILURE_THRESHOLD value=5 param name=RESTART_ATTEMPTS value=4 param name=SCRIPT_TIMEOUT value=300 param name=START_TIMEOUT value=300 param name=STOP_TIMEOUT value=300 resource-params resource-params target=as policy=normal param name=AUTO_START value=1 param name=CHECK_INTERVAL value=50 param name=FAILOVER_DELAY value=20 param name=FAILURE_INTERVAL value=350 param name=FAILURE_THRESHOLD value=5 param name=RESTART_ATTEMPTS value=4 param name=SCRIPT_TIMEOUT value=600 param name=START_TIMEOUT value=600 param name=STOP_TIMEOUT value=600 resource-params resource-params target=as policy=fast param name=AUTO_START value=1 param name=CHECK_INTERVAL value=40 param name=FAILOVER_DELAY value=10 param name=FAILURE_INTERVAL value=300 param name=FAILURE_THRESHOLD value=5 param name=RESTART_ATTEMPTS value=4 param name=SCRIPT_TIMEOUT value=600 param name=START_TIMEOUT value=600 param name=STOP_TIMEOUT value=600 resource-params ascrsctl agent log path={ORACLE_HOME}ascrslog level=FINER rollover_size=5242880 agent config Consult Oracle Clusterware documentation for the definitions of these parameters before editing their values. Since computing environments vary in speed, Oracle recommends measuring the applications start and stop latency before setting the script, start, and stop timeout values. These values may be twice as much as the observed latencies. Note: The parameter values for a resource should fall within proper ranges when creating it. If a parameter is not configured for a policy, an internal default value is assumed. The internal default parameter values are listed in Table E–1 . Using Oracle Cluster Ready Services 13-7

13.4 Using ASCRS to Manage Resources