Use this procedure to prepare for the installation and configuration of Oracle Communications ASAP in a failover configuration on a single UNIX machine. The examples in this procedure assume that the storage resource is configured using HAStoragePlus.
Before You Begin
Ensure that the /etc/netmasks file has IP-address subnet and netmask entries for all logical hostnames. If necessary, edit the /etc/netmasks file to add any missing entries.
# clresourcegroup create [-n nodelist] asap-app-rg
The logicalhost–resource is the host name where Oracle Communications ASAP will be listening.
# clreslogicalhostname create -g asap-app-rg logicalhost-resource
This example shows the highly-available local file system managed by the HAStoragePlus resource.
# clresource create -g asap-app-rg -t SUNW.HAStoragePlus \ -p FilesystemMountPoints=asap-mount-points hasp-rs
For more information, see How to Set Up the HAStoragePlus Resource Type for New Resources in Oracle Solaris Cluster 4.3 Data Services Planning and Administration Guide .
Create a scalable mount-point resource group.
# clresourcegroup create -p RG_mode=Scalable \ -p Desired_primaries=2 \ -p Maximum_primaries=2 scalmnt-rg
Type the following command to register the resource type for the scalable mount-point resource.
# clresourcetype register SUNW.ScalMountPoint
Type the following command to add a scalable mount-point resource to scalmnt-rg.
# clresource create -g scalmnt-rg -t SUNW.ScalMountPoint \ -p TargetFileSystem=asap4nas:/export/home/asap \ -p FileSystemType=nas \ -p MountPointDir=/global/asap scalmnt-resource
Bring the resource group online.
# clresourcegroup online -emM scalmnt-rg
Set the resource group affinities.
# clrg set -p rg_affinities=++scalmnt-rg asap-app-rg
For more information, see How to Configure a Scalable Application Using the ScalMountPoint Resource in Oracle Solaris Cluster 4.3 Data Services Planning and Administration Guide .
# clresourcegroup online -emM asap-app-rg