Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Data Service for WebLogic Server Guide Oracle Solaris Cluster |
1. Installing and Configuring Solaris Cluster HA for Oracle WebLogic Server
Oracle Solaris Cluster HA for Oracle WebLogic Server Overview
Planning the Oracle Solaris Cluster HA for Oracle WebLogic Server Installation and Configuration
Standard Data Service Configurations
Oracle WebLogic Server Configured as a Failover Resource
Oracle WebLogic Server Configured as a Multi-Master Resource
How to Prepare the Nodes for a Failover Configuration
How to Prepare the Nodes for a Multi-Master 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 WebLogic Server Packages
How to Install the HA for WebLogic Server Packages
Registering and Configuring the Oracle Solaris Cluster HA for Oracle WebLogic Server
Setting Oracle Solaris Cluster HA for Oracle WebLogic Server Extension Properties
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 the Oracle WebLogic Server on Zone Clusters for HAStoragePlus Configuration
Verifying the Oracle Solaris Cluster HA for Oracle WebLogic Server Installation and Configuration
Alternate Oracle Solaris Cluster 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 Oracle Solaris Cluster 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(1CL) command. For more information, see How to Add a Cluster File System to a Zone Cluster in Oracle Solaris Cluster Software Installation Guide.
In 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=http://localhost: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 wls-rs
# clresourcegroup online -M wls–rg