Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Data Service for Oracle WebLogic Server Guide Oracle Solaris Cluster 3.3 3/13 |
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
Standard Data Service Configurations
Oracle WebLogic Server Configured as a Failover Resource
Oracle WebLogic Servers Configured as a Multi-Master Resource
Oracle WebLogic Servers Configured as Multi-Instance
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
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 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
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
Use the following procedure to configure an HAStoragePlus resource for non-global zones.
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_offline_restart=hasp-rs \ wls2-rs
# clresourcegroup online -M wls2–rg
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
The entries in the /etc/vfstab file for cluster file systems should contain the global keyword in the mount options.
The cluster file systems can be configured for zone clusters in the HAStoragePlus resources using the loopback mount mechanism. The SUNW.HAStoragePlus resource type makes the cluster file system available to a zone cluster by mounting the file system in the global cluster and then performing a loopback mount in the zone cluster node.
The cluster file systems configured in the HAStoragePlus resource type for zone clusters should be authorized for use in zone clusters using the clzonecluster command. For more information, see Adding File Systems to a Zone Cluster in Oracle Solaris Cluster Software Installation Guide.
In a zone cluster, 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.
# 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 node names as the node list of the HAStoragePlus resource group where the Oracle 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.
For more information, see Configuring a Zone Cluster in Oracle Solaris Cluster Software Installation Guide.
# clresourcetype register HAStoragePlus
# clresource create -g hasp-rg -t SUNW.HAStoragePlus \ -p filesystemMountPoints=/global/wls hasp-rs
# clresourcegroup online -M hasp-rg
# clresourcetype register SUNW.wls
# clresourcegroup create -g wls-rg
# 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
# clresourcegroup online -M wls–rg