Sun Cluster Data Service for WebLogic Server Guide for Solaris OS

ProcedureHow to Set Up the BEA WebLogic Server on Non-Global Zones for HAStoragePlus Configuration

Before You Begin
  1. On any node in the cluster, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.

  2. Create the scalable resource group with non-global zones that contain the HAStoragePlus resource.


    # clresourcegroup create -p Maximum_primaries=m \
    -p Desired_primaries=n \
     [-n node-zone-list] hasp-rg
    
    -p Maximum_primaries=m

    Specifies the maximum number of active primaries for the resource group.

    -p Desired_primaries=n

    Specifies the number of desired primaries on which the resource group should attempt to start.

    -n node-zone-list

    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.

    hasp-rg

    Specifies the name of the scalable resource group to be added. This name must begin with an ASCII character.

  3. Register the resource type for the HAStoragePlus resource.


    # clresourcetype register HAStoragePlus
    
  4. Create the HAStoragePlus resource hasp-rs and define the WebLogic Server file-system mount points.


    # clresource create -g hasp-rg -t SUNW.HAStoragePlus \
     -p filesystemMountPoints=/global/wls affinityon=false hasp-rs
    
  5. Bring the HAStoragePlus resource and resource group online.


    # clresourcegroup online hasp-rg
    
  6. Register the resource type for the WebLogic Server application.


    # clresourcetype register SUNW.wls
    
  7. Create a WebLogic Server resource group and set the dependency to hasp-rg.


    # clresourcegroup create -g wls2-rg \
    RG_affinities=++hasp-rg wls2-rg
    
  8. Add the WebLogic Server resource to wls2–rg and set the dependency to HAStoragePlus resource.


    # 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 resouce_dependies=hasp-rs \
    wls2-rs
    
  9. Bring the failover resource group online.


    # clresourcegroup online wls2–rg