JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for Oracle WebLogic Server Guide     Oracle Solaris Cluster 3.3 3/13
search filter icon
search icon

Document Information

Preface

1.  Installing and Configuring Oracle Solaris Cluster HA for Oracle WebLogic Server

HA for Oracle WebLogic Server Overview

Overview of the Installation and Configuration Process for HA for Oracle WebLogic Server

Planning the HA for Oracle WebLogic Server Installation and Configuration

Configuration Restrictions

Configuration Requirements

Standard Data Service Configurations

Oracle WebLogic Server Configured as a Failover Resource

Simple Configuration

Configuration 1

Configuration 2

Configuration 3

Oracle WebLogic Servers Configured as a Multi-Master Resource

Oracle WebLogic Servers Configured as Multi-Instance

Preparing the Nodes and Disks

How to Prepare the Nodes for a Failover Configuration

How to Prepare the Nodes for a Multi-Master Configuration

How to Prepare the Nodes for a Multi-Instance Configuration

Installing and Configuring the Oracle WebLogic Server Application

How to Install Oracle WebLogic Server

Installing a Database

Installing a Web Server

Verifying the Oracle WebLogic Server Installation and Configuration

How to Verify the Oracle WebLogic Server Installation and Configuration for Failover Services

How to Verify the Oracle WebLogic Server Installation and Configuration for Multi-Master Services

Installing the HA for Oracle WebLogic Server Packages

How to Install the HA for Oracle WebLogic Server Packages

Registering and Configuring the HA for Oracle WebLogic Server

Tools for Registering and Configuring HA for Oracle WebLogic Server

Using the clsetup Utility to Register and Configure the Oracle WebLogic Server Data Service

How to Configure Logical Host Resources for HA for Oracle WebLogic Server (clsetup)

How to Configure Logical Host Resources for Administration, Reverse Proxy, and Managed Servers in Failover Mode (clsetup)

How to Configure Storage Resources for HA for Oracle WebLogic Server (clsetup)

How to Register and Configure HA for Oracle WebLogic Server as an Administration Server (clsetup)

How to Register and Configure HA for Oracle WebLogic Server Managed Servers (clsetup)

How to Register and Configure HA for Oracle WebLogic Server Reverse Proxy Servers (clsetup)

Setting HA for Oracle WebLogic Server Extension Properties

How to Register and Configure the HA for Oracle WebLogic Server as a Reverse Proxy Server (CLI)

How to Register and Configure HA for Oracle WebLogic Server as a Failover Data Service (CLI)

How to Register and Configure HA for Oracle WebLogic Server as a Multi-Master Data Service (CLI)

How to Register and Configure HA for Oracle WebLogic Server as a Multi-Instance Data Service (CLI)

Setting Up the Oracle WebLogic Server for HAStoragePlus Configuration

How to Set Up the Oracle WebLogic Server on Non-Global Zones for HAStoragePlus Configuration

How to Set Up Oracle WebLogic Server on Zone Clusters for HAStoragePlus Configuration

Verifying the HA for Oracle WebLogic Server Installation and Configuration

How to Verify the HA for Oracle WebLogic Server Installation and Configuration for Failover Services

How to Verify the HA for Oracle WebLogic Server Installation and Configuration in a Multi-Master or Multi-Instance Configuration

Alternate HA for Oracle WebLogic Server Configurations

Creating a Simple Oracle WebLogic Server Resource

Creating a Resource With a Server Name Argument

Creating a Resource That Shuts Down Smoothly

Creating a Resource That Probes the Database

Creating a Resource That Monitors URIs

Using a Non-Clustered Managed Server Instance as a Proxy Server

Operation of the HA for Oracle WebLogic Server Fault Monitor

Probing Algorithm and Functionality

START Method

STOP Method

A.  HA for Oracle WebLogic Server Extension Properties

Index

Setting Up the Oracle WebLogic Server for HAStoragePlus Configuration

Use the following procedure to configure an HAStoragePlus resource for non-global zones.

How to Set Up the Oracle WebLogic Server on Non-Global Zones for HAStoragePlus Configuration

Use the following procedure to configure an HAStoragePlus resource for non-global zones.

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 -p affinityon=false hasp-rs
  5. Bring the HAStoragePlus resource and resource group online.
    # clresourcegroup online -M hasp-rg
  6. Register the resource type for the Oracle WebLogic Server application.
    # clresourcetype register SUNW.wls
  7. Create a Oracle WebLogic Server resource group and set the dependency to hasp-rg.
    # clresourcegroup create -n [node-zone-list] \
    -p RG_affinities=++hasp-rg wls2-rg
  8. Add the Oracle 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 resource_dependencies_offline_restart=hasp-rs \
    wls2-rs
  9. Bring the failover resource group online.
    # clresourcegroup online -M wls2–rg

How to Set Up Oracle WebLogic Server on Zone Clusters for HAStoragePlus Configuration

Use the following procedure to configure an HAStoragePlus resource for zone clusters.


Note - The examples shown in the following procedure assume that you perform all steps from inside the zone cluster. If you choose to create resources and resource groups from outside the cluster, you need to add the -Z sczone option to all commands to specify the name of the zone cluster.


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 that contains 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 node names as the node list of the HAStoragePlus resource group where the Oracle 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. Configure the cluster file system in the zone cluster.

    For more information, see Configuring a Zone Cluster in Oracle Solaris Cluster Software Installation Guide.

  4. Register the resource type for the HAStoragePlus resource.
    # clresourcetype register HAStoragePlus
  5. Create the HAStoragePlus resource hasp-rs and define the Oracle WebLogic Server file system mount points.
    # clresource create -g hasp-rg -t SUNW.HAStoragePlus \
     -p filesystemMountPoints=/global/wls hasp-rs
  6. Bring the HAStoragePlus resource and resource group online.
    # clresourcegroup online -M hasp-rg
  7. Register the resource type for the Oracle WebLogic Server application.
    # clresourcetype register SUNW.wls
  8. Create a Oracle WebLogic Server resource group.
    # clresourcegroup create -g wls-rg
  9. Add the Oracle WebLogic Server resource to wls–rg and set the dependency to HAStoragePlus resource.
    # clresource create -t SUNW.wls -g wls-rg \
    -p Confdir_list=/global/bea/beahome/wlserver_10.3 \
    -p Server_url{node1}=http://logical-host-1:port-number \
    -p Server_url{node2}=http://logical-host-2:port-number \
    -p Start_script=/global/bea/beahome/user_projects/domains/
    base_domain_mgd1/bin/startManagedWebLogic.sh \
    -p "Server_name{node1}"= ManagedServer_1 \
    -p "Server_name{node2}"= ManagedServer_2 \
    -p smooth_shutdown=true \
    -p resource_dependencies=hasp-rs,logical-host-1@node1,logical-host-2@node2 \
    wls-rs
  10. Bring the failover resource group online.
    # clresourcegroup online -M wls–rg