scalable_asm_instance_proxy(5)
SUNW.scalable_asm_instance_proxy(5)
- resource type implementation for failover and multiple masters Sun Java System Application Server
The SUNW.jsas resource type represents the Sun Java System Application Server application in an Oracle Solaris Cluster configuration.
Standard properties and extension properties that are defined for the SUNW.jsas resource type are described in the subsections that follow. To set these properties for an instance of the SUNW.jsas resource type, use the clresource(1CL) commands.
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
Null string
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 DAS adminstrative user name.
String array
No default defined
Not applicable
At creation
The complete path to the Sun Java System Application Server installation directory.
String array
/opt/SUNWappserver
Not applicable
At creation
The full path to the domain directory.
String
Null
Not applicable
At creation
The domain name.
String
No default defined
Not applicable
At creation
List of URIs to be probed. The Application Server agent sends HTTP/1.1 GET requests to each of the listed URIs.
The only response code that results in a failover of the resource is the response code 500 (Internal Server Error).
String array
Null
Not applicable
Any time
The full path to the file that contains the DAS administrative password.
String
No default defined
Not applicable
At creation
The timeout value (in seconds) for the probe.
Integer
180
Minimum = 2
Any time
Example 1 Creating a Resource for SUNW.jsas
For this example to work, you must first install the Oracle Solaris Cluster HA for Sun Java System Application Server data service. This data service includes all the packages to make Sun Java System Application Server highly available.
This example creates a failover Domain Administration Server (DAS) resource. The resource is created in an existing failover resource group. To create this resource the following commands are run:
# clresourcetype register SUNW.jsas # clresource create -g das-rg -t SUNW.jsas \ -p Adminuser=admin \ -p Domain_name=new-domain \ -p Passwordfile=/global/disk1/passwordfile das-rs
In this example, the DAS resource group is named das-rg, the DAS resource is named das-rs, and values are specified for the extension properties that have no defaults.
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 Guide and Oracle Solaris Cluster Data Services Planning and Administration Guide