Use the following procedure to configure an HAStoragePlus resource.
Use the following procedure to configure an HAStoragePlus resource for zone clusters.
Before You Begin
The entries in the /etc/vfstab file for cluster file systems should contain the global keyword in the mount options.
The cluster file systems can be configured for zone clusters in the HAStoragePlus resources using the loopback mount mechanism. The SUNW.HAStoragePlus resource type makes the cluster file system available to a zone cluster by mounting the file system in the global cluster and then performing a loopback mount in the zone cluster node.
The cluster file systems configured in the HAStoragePlus resource type for zone clusters should be authorized for use in zone clusters using the clzonecluster command. For more information, see Adding File Systems to a Zone Cluster in Oracle Solaris Cluster 4.3 Software Installation Guide.
In a zone cluster, file systems that are used by different resources in different resource groups must reside in a single HAStoragePlus resource that resides in a scalable resource group. The node list of the scalable HAStoragePlus resource group must be a superset of the node lists of the application resource groups that have resources which depend on the file systems. These application resources that depend on the file systems must have a strong resource dependency set to the HAStoragePlus resource.
# clresourcegroup create-p Maximum_primaries=m \ -p Desired_primaries=n [-n node-list] hasp-rg
Specifies the maximum number of active primaries for the resource group.
Specifies the number of desired primaries on which the resource group should attempt to start.
Specifies the list of node names as the node list of the HAStoragePlus resource group where the WebLogic Server instances can be brought online.
Specifies the name of the scalable resource group to be added. This name must begin with an ASCII character.
For more information, see Creating and Configuring a Zone Cluster in Oracle Solaris Cluster 4.3 Software Installation Guide.
# clresourcetype register HAStoragePlus
# clresource create -g hasp-rg -t SUNW.HAStoragePlus \ -p filesystemMountPoints=/global/wls hasp-rs
# clresourcegroup online -M hasp-rg
# clresourcetype register SUNW.wls
# clresourcegroup create -g wls-rg
# clresource create -t SUNW.wls -g wls-rg \ -p Confdir_list=/global/wls/Oracle/Middleware/wlserver_12.1 \ -p Server_url{node1}=http://logical-host-1:7003 \ -p Server_url{node2}=http://logical-host-2:7004 \ -p Start_script=/global/wls/Oracle/Middleware/user_projects/domains/base_domain/bin/startManagedWebLogic.sh -p "Server_name{node1}"= mgd1 \ -p "Server_name{node2}"= mgd2 \ -p Resource_dependencies=logical-host-1@node1,logical-host-2@node2 \ managed server-rs
# clresourcegroup online -M wls-rg