Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Data Service for Sun Java System Application Server EE (HADB) Guide |
Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB) Overview
Highly Available HADB Management Agent
Configuration Restrictions and Requirements
Configuration Planning Considerations
Installing and Configuring the Sun Java System Application Server EE (HADB) Software
Creating a Sun Java System Application Server EE (HADB) Management Domain
Creating a Sun Java System Application Server EE (HADB) Management Domain
Installing the Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB) Packages
This procedure describes how to use the Oracle Solaris Cluster maintenance commands to register and configure Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB) as a resource mastered on multiple nodes at one time.
Note - See Tools for Data Service Resource Administration in Oracle Solaris Cluster Data Services Planning and Administration Guide for details about additional options that enable you to register and configure the data service.
To perform this procedure, you need the following information about your configuration.
The name of the resource type for Oracle Solaris Cluster HA for Sun Java System Application Server EE (supporting HADB versions as of 4.4), which is SUNW.hadb_ma.
The names of the cluster nodes that can master the data service.
The sections that follow contain instructions for registering and configuring Oracle Solaris Cluster HA for Sun Java System Application Server EE (HADB) resources. For information about the extension properties, see Appendix A, Properties for Oracle Solaris Cluster HA for Sun Java System Application Server EE (Supporting HADB Versions as of 4.4). The Tunable entry indicates when you can update a property.
See Appendix A, Standard Properties, in Oracle Solaris Cluster Data Services Planning and Administration Guide for details about all of the Oracle Solaris Cluster properties.
To set an extension property of a resource, include the following option in the clresource(1CL) command that creates or modifies the resource:
-p property=value
Identifies the extension property that you are setting.
Specifies the value to which you are setting the extension property.
You can also use the procedures in Chapter 2, Administering Data Service Resources, in Oracle Solaris Cluster Data Services Planning and Administration Guide to configure resources after the resources are created.
Perform the following steps to complete your configuration.
# clresourcetype register SUNW.hadb_ma
This resource group is configured to be mastered by multiple nodes at the same time.
# clresourcegroup create -n nodelist \ -p Maximum_primaries=nodes_in_rg \ -p Desired_primaries=nodes_in_rg resource_group
Specifies a comma-separated subset of cluster nodes to run the Sun Java System Application Server EE (HADB) software. If this option is omitted, all cluster nodes run Sun Java System Application Server EE (HADB). Use the command to find the node list names.
Specifies the maximum number of nodes on which the resource can start. You must specify the same number as the value of the Desired_primaries property.
Specifies the desired number of nodes on which the resource can start. You must specify the same number as the value of the Maximum_primaries property.
Specifies the name of the resource group that is to be created.
See Appendix A, Properties for Oracle Solaris Cluster HA for Sun Java System Application Server EE (Supporting HADB Versions as of 4.4) for a detailed description of the extension properties for this resource type.
# clresource create -g resource_group -t SUNW.hadb_ma \ -p HADBM_PASSWORDFILE=path_to_pw_file resource
Specifies the name of the resource group to which the resource is to be added.
Specifies the predefined resource type name.
Specifies the full path to the file containing the HADBM administrative password.
For details about the contents of the password file, see the Sun Java System Application Server documentation.
Specifies the name of the resource that you are creating.
The resource is created in the enabled state.
# clresourcegroup online resource_group
# cluster status # ps -ef
# hadbm status database_name --nodes
The output should indicate that the database that you specified is running.
Example 1-1 Creating a SUNW.hadb_ma Resource
This example shows the creation of a SUNW.hadb_ma resource.
In this example the default values for the extension properties are used. The resource has the following characteristics:
The resource is named hadb-rs.
The resource is a member of a resource group named hadb-rg.
The resource is an instance of the SUNW.hadb_ma resource type. The registration of the resource type is not shown in this example.
clresource create -g hadb-rg -t SUNW.hadb_ma \ -p HADBM_PASSWORDFILE=/global/disk1/hadbm-pwfile hadb-rs