Note that in How to Configure and Activate Network Resources you previously created the failover resource groups for the DAS component and for the NA component, added failover IP addresses and logical hosts to the resource groups, and brought the resource groups online.
Become superuser on a cluster member.
Register the resource type for the DAS component.
# scrgadm -a -t SUNW.jsas |
Adds the resource type for the DAS component
Specifies the predefined resource type name
Add the DAS resource instance to the failover resource group that you created for your network resources.
See SUNW.jsas Extension Properties for a detailed description of the extension properties for this resource type.
# scrgadm -a -j DAS-resource -g DAS-resource-group \ -t SUNW.jsas \ -y Network_resources_used=logical-hostname \ -x Adminuser=DAS-admin-username \ -x Domain_name=domain-name \ -x Passwordfile=password-file \ -x Confdir_list=install-directory \ -x Domaindir=domain-directory \ -x Monitor_Uri_List=http://logical-hostname[:port][/path] |
Adds a resource.
Specifies the DAS resource name.
Specifies the resource group for the DAS component.
Specifies the resource type for the DAS component.
Specifies the failover IP address that is used by DAS.
Specifies DAS administrative user name.
Specifies the domain name.
Specifies the full path to the file containing the DAS administrative password and master password.
Specifies the complete path to the Sun Java System Application Server installation directory. The default value for this extension property is /opt/SUNWappserver, which is the standard installation directory.
Specifies the full path to the domain directory. This extension property is optional if the domain directory is the default directory that was specified at the installation of the Sun Java System Application Server.
(Optional) Specifies a comma-separated list of URIs from which Sun Cluster HA for Sun Java System Application Server makes requests. The Monitor_Uri_List extension property is required if the Port_list property is not set. The Port_list property is one of the standard properties for a resource, which specifies a list of port numbers on which a server is listening. See Resource Properties in Sun Cluster Data Services Planning and Administration Guide for Solaris OS for a full description of the Port_list property.
Register the resource type for the Node Agent component.
# scrgadm -a -t SUNW.jsas-na |
Adds the resource type for the NA component
Specifies the predefined resource type name
Add the Node Agent resource instance to the failover resource group that you created for your network resources.
SeeSUNW.jsas-na Extension Properties for a detailed description of the extension properties for this resource type.
# scrgadm -a -j NA-resource -g NA-resource-group \ -t SUNW.jsas-na \ -y Resource_Dependencies=DAS-resource \ -x Adminuser=DAS-admin-username \ -x Confdir_list=install-directory \ -x Adminhost=DAS-hostname \ -x Adminport=DAS-port \ -x Agentdir=NA-directory \ -x Passwordfile=password-file |
Adds a resource.
Specifies the Node Agent resource name.
Specifies the resource group for the Node Agent component.
Specifies the resource type for the Node Agent component.
Specifies that the DAS resource must be online before the Node Agent resource can start.
Specifies DAS administrative user name.
Specifies the complete path to the Sun Java System Application Server installation directory. The default value for this extension property is /opt/SUNWappserver, which is the standard installation directory.
Specifies the host name of the Domain Administration Server.
Specifies the port where DAS listens.
Specifies the full path to the Node Agents directory.
Specifies the full path to the file containing the DAS administrative password and master password.