Use the following procedure to configure an HAStoragePlus resource for non-global zones.
Before You Begin
The entries in the /etc/vfstab file for cluster file systems should contain the global keyword in the mount options.
The Oracle WebLogic Server binaries that will be made highly accessible by using the HAStoragePlus resource should be accessible from the non-global zones.
In non-global zones, 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. In addition, the dependent application resource group must have a strong positive resource group affinity set to the scalable HAStoragePlus resource group.
# clresourcegroup create -p Maximum_primaries=m \ -p Desired_primaries=n \ [-n node-zone-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 nodename:zonename pairs 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.
# clresourcetype register HAStoragePlus
# clresource create -g hasp-rg -t SUNW.HAStoragePlus \ -p filesystemMountPoints=/global/wls -p affinityon=false hasp-rs
# clresourcegroup online -M hasp-rg
# clresourcetype register SUNW.wls
# clresourcegroup create -n [node-zone-list] \ -p RG_affinities=++hasp-rg wls2-rg
# clresource create -g wls2–rg -t SUNW.wls \ -p Confdir_list=/global/bea/beahome/weblogic700 \ -p Server_url=http://logical-host-1:7001 \ -p Start_script=/global/bea/beahome/user_projects/petstore/startWebLogic.sh \ -p Server_name=ManagedServer_2 \ -p resource_dependencies=hasp-rs \ wls2-rs
# clresourcegroup online -M wls2–rg