scalable_asm_instance_proxy(5)
SUNW.scalable_asm_instance_proxy(5)
- resource type implementation for Sun Java System Application Server EE (HADB) (hadb_ma)
The SUNW.hadb_ma resource type represents the Sun Java System Application Server EE (HADB version 4.4) application in an Oracle Solaris Cluster configuration.
Standard properties and extension properties that are defined for the SUNW.hadb_ma resource type are described in the subsections that follow. To set these properties for an instance of the SUNW.hadb_ma resource type, use the clresource(1CL) command.
See r_properties(5) for a complete description of the following resource properties.
A list of logical-hostname or shared-address network resources upon which this resource has a dependency. This list contains all network-address resources that appear in the properties Resource_dependencies, Resource_dependencies_weak, Resource_dependencies_restart, or Resource_dependencies_offline_restart.
This property is updated automatically by the RGM, based on the setting of the resource-dependencies properties. You do not set this property directly. Instead, use the Resource_dependencies property.
Conditional/Optional
The empty list
Any time
Specifies a list of resources upon which a resource depends. This list includes any logical-hostname or shared-address network resources that are used by a resource. The default value for this property is null.
You can specify one or more resource names. Each network resource can contain one or more logical host names. See the clreslogicalhostname(1CL) and clressharedaddress(1CL) man pages for more information.
You can specify an alternate kind of dependency by using the Resource_dependencies_weak, Resource_dependencies_restart, or Resource_dependencies_offline_restart property instead of the Resource_dependencies property. For more information, see the r_properties(5) man page.
Optional
The empty list
Any time
10
2
Any time
3600
480
Any time
3600
120
Any time
The extension properties of this resource type are as follows:
The full path to the configuration file that is used to start the HADB Management Agent Server.
String
/etc/opt/SUNWhadb/mgt.cfg
Not applicable
When disabled
The full path to the script that is used to start and stop the HADB Management Agent Server. This script must be able to start and stop the MA Server without any input from the user. Any configuration parameters must be specified in the file that is indicated by the extension property HADB_MA_CFG.
String
/etc/init.d/ma-initd
Not applicable
When disabled
The user name of the user who starts the HADB Management Agent Server.
String
root
Not applicable
When disabled
The complete path to the HADB installation directory. This directory contains the directory struction bin/, which contains the files ma and hadbm.
String
/opt/SUNWhadb/4
Not applicable
When disabled
The complete path to the file that contains the HADBM administrative password. This property must be set if the HADB management domain is created with an administrative password.
String
Null
Not applicable
Any time
Example 1 Creating a Resource for SUNW.hadb_ma
For this example to work, the Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB) data service must first be installed. This data service includes all the packages to make Sun Java System Application Server EE (HADB) highly available.
This example creates an HADB MA resource mastered on multiple nodes. The resource is created in an existing resource group, which is assumed to be mastered on multiple nodes. To create this resource the following commands are run:
# clresourcetype register SUNW.hadb_ma # clresource create -g hadb-ma-rg -t SUNW.hadb_ma hadb-ma-rs
In this example, the resource group is named hadb-ma-rg and the resource is named hadb-ma-rs. The default values are used for the extension properties.
See attributes(5) for descriptions of the following attributes:
|
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) Guide and Oracle Solaris Cluster Data Services Planning and Administration Guide