JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Services Reference Manual     Oracle Solaris Cluster 3.3 3/13
search filter icon
search icon

Document Information

Preface

OSC33DS 4

OSC33DS 5

apache(5)

asm_diskgroup(5)

dns(5)

hadb(5)

hadb_ma(5)

iws(5)

jsas(5)

jsas-na(5)

krb5(5)

ldom(5)

nfs(5)

obiee_cluster_controller(5)

obiee_presentation_service(5)

obiee_scheduler(5)

obiee_server(5)

ohs(5)

opmn(5)

oracle_external_proxy(5)

oracle_listener(5)

oracle_rac_server(5)

oracle_server(5)

ORCL.obiee_cluster_controller(5)

ORCL.obiee_presentation_service(5)

ORCL.obiee_scheduler(5)

ORCL.obiee_server(5)

ORCL.ohs(5)

ORCL.opmn(5)

ORCL.oracle_external_proxy(5)

ORCL.sapcentr(5)

ORCL.sapdia(5)

ORCL.saprepenq(5)

ORCL.saprepenq_preempt(5)

ORCL.sapstartsrv(5)

s1as(5)

s1mq(5)

sap_as(5)

sap_as_v2(5)

sapcentr(5)

sap_ci(5)

sap_ci_v2(5)

sapdb(5)

sapdia(5)

sapenq(5)

sap_livecache(5)

saprepenq(5)

saprepenq_preempt(5)

saprepl(5)

sapscs(5)

sapstartsrv(5)

sapwebas(5)

sap_xserver(5)

sblgtwy(5)

sblsrvr(5)

scalable_acfs_proxy(5)

scalable_asm_diskgroup_proxy(5)

scalable_asm_instance(5)

scalable_asm_instance_proxy(5)

scalable_rac_listener(5)

scalable_rac_server(5)

scalable_rac_server_proxy(5)

SUNW.apache(5)

SUNW.asm_diskgroup(5)

SUNW.dns(5)

SUNW.hadb(5)

SUNW.hadb_ma(5)

SUNW.iws(5)

SUNW.jsas(5)

SUNW.jsas-na(5)

SUNW.krb5(5)

SUNW.ldom(5)

SUNW.nfs(5)

SUNW.oracle_listener(5)

SUNW.oracle_rac_server(5)

SUNW.oracle_server(5)

SUNW.s1as(5)

SUNW.s1mq(5)

SUNW.sap_as(5)

SUNW.sap_as_v2(5)

SUNW.sap_ci(5)

SUNW.sap_ci_v2(5)

SUNW.sapdb(5)

SUNW.sapenq(5)

SUNW.sap_livecache(5)

SUNW.saprepl(5)

SUNW.sapscs(5)

SUNW.sapwebas(5)

SUNW.sap_xserver(5)

SUNW.sblgtwy(5)

SUNW.sblsrvr(5)

SUNW.scalable_acfs_proxy(5)

SUNW.scalable_asm_diskgroup_proxy(5)

SUNW.scalable_asm_instance(5)

SUNW.scalable_asm_instance_proxy(5)

SUNW.scalable_rac_listener(5)

SUNW.scalable_rac_server(5)

SUNW.scalable_rac_server_proxy(5)

SUNW.sybase(5)

SUNW.wls(5)

sybase(5)

wls(5)

Index

SUNW.hadb

, hadb

- resource type implementation for Sun Java System Application Server EE (HADB) that is mastered on multiple nodes simultaneously

Description

The SUNW.hadb resource type represents the Sun Java System Application Server EE (HADB) component in an Oracle Solaris Cluster configuration.

You must set the following properties on a SUNW.hadb resource by using clresource(1CL).

Standard Properties

See r_properties(5) for a complete description of the following resource properties.

Thorough_probe_interval
Default

180

Maximum

3600

Tunable

Any time

Stop_timeout
Default

180

Minimum

120

Tunable

Any time

Start_timeout
Default

600

Minimum

60

Tunable

Any time

Extension Properties

Confdir_list

Type string array. This property is a path name set to the Sun Java System Application Server EE (HADB) configuration directory for the HADB database. For example, /etc/opt/SUNWhadb/dbdef/hadb. This property is tunable when the resource is disabled.

DB_Name

Type string. No default. This property contains the name of the HADB database. This property is tunable when the resource is disabled.

HADB_ROOT

Type string. No default. This property is a path name set to the Sun Java System Application Server EE (HADB) application binary location. For example, /opt/SUNWappserver7/SUNWhadb/4. This property is tunable when the resource is disabled.

Auto_recovery

Type boolean. Default is FALSE. If the Auto_recovery extension property is set to TRUE and the agent is unable to start the database, the HADB data service attempts to recover the database by reinitializing it. The data service reinitializes the database by running the hadbm clear -- fast command, and then running the command specified by the Auto_recovery_command extension property. This property is tunable at any time.

Auto_recovery_command

Type string. Default is "". This property specifies the command to be run when the HADB data service recovers the database by reinitializing the database. The HADB data service runs the command after clearing the database. This property is tunable at any time.

DB_password_file

Type string. Default is "". This property specifies the file that contains the password to be used for the system user of the database. The hadbm commands that require a password will have the DB_password_file extension property passed as the value of the hadbm --dbpasswordfile command. This argument is needed if the Auto_recovery extension property is set to TRUE because the hadbm –-clear command requires a password. This property is tunable at any time.

Examples

The following examples show the creation of a resource group for a Sun Java System Application Server EE (HADB) resource and the creation of a resource in this resource group. The examples that show the creation of a Sun Java System Application Server EE (HADB) resource illustrate alternative configurations of the Sun Java System Application Server EE (HADB) resource.

The examples assume that the SUNWschadb package is already installed.

Example 1 Creating a Resource Group for a Sun Java System Application Server EE (HADB) Resource

This example shows the creation of a resource group for a Sun Java System Application Server EE (HADB) resource on a six-node cluster. Sun Java System Application Server EE (HADB) is mastered on all nodes in the cluster. The resource group is named hadb-rg.

# clresourcegroup create \
-p maximum_primaries=6 -p desired_primaries=6 hadb-rg

Example 2 Creating a Sun Java System Application Server EE (HADB) Resource Without Auto_recovery

This example shows the creation of a Sun Java System Application Server EE (HADB) resource without Auto_recovery that is named hadb-rs. This resource is created in an existing resource group that is named hadb-rg. The creation of the hadb-rg resource group is shown in the example for the creation of a resource group for a Sun Java System Application Server EE (HADB) resource.

# clresource create -g hadb-rg -t SUNW.hadb \
-p confdir_list=/etc/opt/SUNWhadb/dbdef/hadb \
-p hadb_root=/opt/SUNWappserver7/SUNWhadb/4 
\-p db_name=hadb hadb-rs

Example 3 Creating a Sun Java System Application Server EE (HADB) Resource With Auto_recovery

This example shows the creation of a Sun Java System Application Server EE (HADB) resource with Auto_recovery that is named hadb-rs. This resource is created in an existing resource group that is named hadb-rg. The creation of the hadb-rg resource group is shown in the example for the creation of a resource group for a Sun Java System Application Server EE (HADB) resource.

# clresource create -g hadb-rg -t SUNW.hadb \
-p confdir_list=/etc/opt/SUNWhadb/dbdef/hadb \
-p hadb_root=/opt/SUNWappserver7/SUNWhadb/4 -p db_name=hadb \
-p auto_recovery=true \
-p auto_recovery_command=/usr/local/etc/create-session-store \
-p db_password_file=/usr/local/etc/hadb-password-file hadb-rs

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
SUNWschadb

See Also

clresourcetype(1CL), clresourcegroup(1CL), scha_resource_get(3HA), pmfadm(1M), attributes(5), r_properties(5), scalable_service(5)

Oracle Solaris Cluster Data Service for Sun Java System Application Server EE (HADB), Oracle Solaris Cluster Data Services Planning and Administration Guide