JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for Sun Java System Application Server EE (HADB) Guide
search filter icon
search icon

Document Information

Preface

1.  Oracle Solaris Cluster HA for Sun Java System Application Server EE (Supporting HADB Versions as of 4.4)

2.  SPARC: Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB Versions Before 4.4)

Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB) Overview

Overview of the Installation and Configuration Process for Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB)

Planning the Installation and Configuration of Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB)

Configuration Overview

Configuration Planning Questions

Installing and Configuring the Sun Java System Application Server EE (HADB) Software

Creating a Sun Java System Application Server EE (HADB) Database

How to Create a Sun Java System Application Server EE (HADB) Database

Installing the Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB) Packages

Registering and Configuring Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB)

Setting Extension Properties for Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB)

How to Register and Configure Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB)

Verifying the Installation and Configuration of Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB)

How to Verify the Installation and Configuration for Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB)

Maintaining the HADB Database

How to Maintain the HADB Database

Tuning the Fault Monitor for Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB)

Operations by the Fault Monitor During a Probe

A.  Properties for Oracle Solaris Cluster HA for Sun Java System Application Server EE (Supporting HADB Versions as of 4.4)

B.  Properties for Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB Versions Before 4.4)

Index

Tuning the Fault Monitor for Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB)

The fault monitor for Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB) is contained in the resource that represents Sun Java System Application Server EE (HADB). You create this resource when you register and configure Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB). For more information, see Registering and Configuring Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB).

System properties and extension properties of this resource control the behavior of the fault monitor. The default values of these properties determine the preset behavior of the fault monitor. The preset behavior should be suitable for most Oracle Solaris Cluster installations. Therefore, you should tune the fault monitor only if you need to modify this preset behavior.

For more information, see the following sections.

Operations by the Fault Monitor During a Probe

The start method of the HADB resource starts HADB nodes that are configured to run on the local Oracle Solaris Cluster node if they are not running. The method then attempts to start the HADB database. If a failure occurs, the database is started later in the probe.

The fault monitor probe periodically checks the status of the HADB database and the HADB nodes. The probe restarts failed HADB nodes. The probe also starts the HADB database if the HADB resource is not ready to start the database during the start method. For each iteration of this procedure, the probe executes the following steps:

  1. The probe retrieves the current status of the HADB database and the HADB nodes by executing the hadbm status and hadbm status --nodes commands.

  2. If the database is not running, the probe checks that the HADB stopstate file corresponding to that database exists on the local Oracle Solaris Cluster node. The hadbm start command references the stopstate file for role assignment of nodes when it starts the database.

  3. If the stopstate file exists, the HADB resource examines it to determine if the database can be started.

    • If the database can be started, the probe starts the database and sets the resource status to Online.

    • If the database cannot be started, the probe sets the resource status to Online Degraded.

  4. If the database is running, the probe starts the HADB nodes configured to run on the local Oracle Solaris Cluster node.

  5. If the database and the local HADB nodes are running, the probe sets the resource status to Online if it was Online Degraded.

  6. If all the Oracle Solaris Cluster nodes in the HADB resource group have the HADB resource running in the Online Degraded state longer than Stop_timeout seconds, the HADB resource concludes that the database cannot be started. For a description of the Stop_timeout property, see the method_timeout resource property in Appendix A, Standard Properties, in Oracle Solaris Cluster Data Services Planning and Administration Guide.

  7. If the Auto_recovery extension property is set to TRUE, the HADB resource attempts to recover the database.

  8. If recovery of the database is attempted, the probe executes the following steps:

    • Issues the hadbm clear --fast command on one of the Oracle Solaris Cluster nodes in the resource group's node list. This command clears the database contents and reinitializes and restarts the database.

    • If the hadbm clear command succeeds, the command specified in Auto_recovery_command is issued on the same Solaris Cluster node that issued the hadbm clear command. The command would normally be a script that contains the asadmin create-session-store command. The command can also perform other actions. For example, it might send mail to the Application Server administrator.

    • If both steps succeed, the probe sets the state of the resource to Online.