Go to main content

Oracle® Solaris Cluster Data Service for Oracle Communications ASAP Guide

Exit Print View

Updated: September 2015
 
 

How to Prepare the Nodes for Deploying ASAP on Several UNIX Machines

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.

  1. Create a failover resource group to hold the logical hostname, the HAStoragePlus resource, and the Oracle ASAP Slave Control server resource.
    # clresourcegroup create [-n nodelist] asap-slave-rg
  2. Add the logical host name resource.

    The slave-logicalhost-rs is the host name where Oracle Communications ASAP Slave Control Server will be listening.

    # clreslogicalhostname create -g asap-slave-rg slave-logicalhostname-rs

    Note -  If you require a fully qualified hostname, you must specify the fully qualified name with the -h option and you cannot use the fully qualified form in the resource name.
  3. Create a highly-available local file system managed by the HAStoragePlus resource.
    # clresource create -g asap-slave-rg -t SUNW.HAStoragePlus \
    -p FilesystemMountPoints=asap-slave-server-mount-points  slave-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 .

  4. If you are using a ScalMountpoint resource to manage the ASAP application binaries installed on a NAS storage, type the following commands.

    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-slave-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 .

  5. Bring the resource group online.
    # clresourcegroup online -emM asap-slave-rg