Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Solaris Cluster Data Service for SAP Web Application Server Guide Oracle Solaris Cluster |
1. Installing and Configuring HA for SAP Web Application Server
HA for SAP Web Application Server Overview
Overview of the Installation and Configuration Process for HA for SAP Web Application Server
Planning the HA for SAP Web Application Server Installation and Configuration
Installing and Configuring SAP Web Application Server
Configuring Your Highly Available Database
How to Install and Configure the SAP Web Application Server and the SAP J2EE Engine
How to Modify the Installation for a Scalable SAP Web Application Server Component
How to Enable the SAP Web Application Server to Run in a Cluster
How to Enable the Stand-Alone SAP J2EE Engine to Run in a Cluster
Verifying the SAP Web Application Server Installation and Configuration
How to Verify That the Configuration for the SAP Message Server Is Correct for the Data Service
Installing the HA for SAP Web Application Server Packages
How to Install the HA for SAP Web Application Server Packages
Registering and Configuring HA for SAP Web Application Server
Setting HA for SAP Web Application Server Extension Properties
Tools for Registering and Configuring HA for SAP Web Application Server
How to Register and Configure the HA for SAP Web Application Server by Using clsetup
Setting Up the SAP Web Application Server on Non-Global Zones for HAStoragePlus Configuration
How to Set Up the SAP Web Application Server on Non-Global Zones for HAStoragePlus Configuration
How to Register and Configure HAStoragePlus Resources for the SAP Central Services Components
How to Register and Configure an SAP Enqueue Server Resource
How to Register and Configure an SAP Replica Server Resource
How to Register and Configure an SAP Message Server Resource
How to Register and Configure an SAP Web Application Server Component
Examples of Configuring the SAP Web Application Server
Using Alternate Project Identification
Tuning the HA for SAP Web Application Server Fault Monitors
Operation of the Fault Monitor for the SAP Enqueue Server Resource Type
Operation of the Fault Monitor for the SAP Replica Server Resource Type
Operation of the Fault Monitor for the SAP Message Server Resource Type
Verifying the HA for SAP Web Application Server Installation and Configuration
How to Verify the Operation of the Fault Monitor for the SAP Enqueue Server
How to Verify the Operation of the Fault Monitor for the SAP Replica Server
How to Verify the Operation of the Fault Monitor for the SAP Message Server
This section contains the information that you need to plan your HA for SAP Web Application Server installation and configuration.
Note - Before you begin, consult your SAP documentation for configuration restrictions and requirements that are not stated in Oracle Solaris Cluster documentation or imposed by Oracle Solaris Cluster software.
Be sure to read all SAP notes that pertain to your release of SAP Web Application Server. For more information, see the SAP documentation at http://service.sap.com/ha.
Note - HA for SAP Web Application Server can be configured to run in a whole root or a sparse root non-global zone, if required.
![]() | Caution - Your data service configuration might not be supported if you do not observe these restrictions. |
For restrictions that apply to all data services, see Oracle Solaris Cluster 3.3 5/11 Release Notes. The following configuration restriction applies only to HA for SAP Web Application Server.
The maximum length of the node names depends on the SAP release. Refer to the SAP installation guide for your release of SAP. This limitation is an SAP software restriction.
Configure the database resource to be in a different resource group from the SAP enqueue server resource, if possible.
However, if you are using Oracle as the database, and if you must configure Oracle in the same resource group as the SAP enqueue server resource, you must ensure that the value of the restart_type extension property for Oracle Solaris Cluster HA for Oracle is set to RESOURCE_RESTART. This property setting means that if the response to a fault in the Oracle database is to restart the Oracle resource, only the Oracle database is restarted. If this property is set to RESOURCE_GROUP_RESTART, and if the response to a fault in the Oracle database is to restart the Oracle resource, all the resources in the resource group are restarted. However, if the SAP replica server is configured and online on another node, the SAP enqueue server cannot be restarted locally. Therefore, the restart_type property must be set to RESOURCE_RESTART.
![]() | Caution - Configuration requirements represent actions that you must perform. If your data service configuration does not satisfy these requirements, the data service configuration might not be supported. |
For requirements that apply to all data services, see Configuration Guidelines for Oracle Solaris Cluster Data Services in Oracle Solaris Cluster Data Services Planning and Administration Guide.
The following configuration requirements apply only to HA for SAP Web Application Server.
The fault monitor probe for the resource type of the SAP message server requires the msprot program. You must download this binary from http://service.sap.com. Refer to the relevant SAP note for information about obtaining and using the msprot program.
HA for SAP Web Application Server supports configurations that conform to the requirements that are specified in the previous section.
All configurations of HA for SAP Web Application Server have the following requirements:
The SAP enqueue server is configured as a failover resource.
The SAP replica server is configured as a failover resource.
The SAP message server is configured as a failover resource.
The SAP web application server component can be configured either as a failover or as a scalable data service resource.
The SAP J2EE engine can be configured either as a failover or as a scalable data service resource.
The SAP enqueue server and the SAP message server are resources in the SAP central services resource group. The SAP replica server is a resource in the SAP replica server resource group.
The SAP replica server resource is configured to depend on the SAP enqueue server resource. This dependency ensures that the SAP replica server does not attempt to start until the SAP enqueue server is online.
The SAP central services resource group is configured to have weak positive affinity with the SAP replica server resource group. This affinity ensures that, if a hardware or software failure occurs on the node or zone that is mastering the SAP central services resource group, the SAP central services resource group fails over to the node or zone where the SAP replica server resource group is currently running.
The SAP replica server resource group is configured to have strong negative affinity with the SAP central services resource group. This affinity ensures that, if the SAP central services resource group fails over, the SAP replica server resource group is off-loaded from the node where it is currently running before the SAP central services resource group is brought online on that same node. The SAP replica server resource group is started on another node, if one is available.
The following examples show the following supported configurations of HA for SAP Web Application Server.
The SAP web application server component is configured as a failover resource.
The SAP web application server component is configured as a scalable resource.
Example 1-1 SAP Web Application Server Component Configured as a Failover Resource
This example shows a standard configuration of HA for SAP Web Application Server with the SAP web application server component that is configured as a failover resource.
The boxes that have a solid border represent the location of the resource groups before failover.
The boxes that have a dashed border represent the location of the resource groups after a failover because of a problem on the first node. The SAP central services resource group fails over, and the SAP replica server resource group consequently moves to another node. The SAP web application server component resource group also fails over.
Example 1-2 SAP Web Application Server Component Configured as a Scalable Resource
This example shows a standard configuration of HA for SAP Web Application Server with the SAP web application server component that is configured as a scalable resource.
The boxes that have a solid border represent the location of the resource groups before failover.
The boxes that have a dashed border represent the location of the resource groups after a failover because of a problem on the first node. As in the previous example, the SAP central services resource group fails over, and the SAP replica server resource group consequently moves to another node. Because the SAP web application server component resource group is scalable, it does not fail over, but the corresponding resource groups on the other node continue running.
The following configuration considerations affect the installation and configuration of HA for SAP Web Application Server.
The SAP enqueue server and SAP replica server run on different cluster nodes. Therefore, the SAP application files (binary files, configuration files, and parameter files) can be installed either on the global file system or on the local file system. However, the application files for each of these applications must be accessible at all times from the nodes on which these applications are running.
See Configuration Guidelines for Oracle Solaris Cluster Data Services in Oracle Solaris Cluster Data Services Planning and Administration Guide. This section details the advantages and disadvantages of placing the SAP binaries on the local file system or on the cluster file system.
The default value of the Retry_count system property for the SAP enqueue server is 0. This value ensures that the SAP enqueue server fails over after the first failure. If replication is running, do not modify this default value because enqueue locks would be lost. When replication is in operation and the Enqueue server is restarted, even on the same node, the locks are no longer valid.
The resource group for the SAP web application server component can be configured to be a failover resource group or a scalable resource group. If the SAP web application server component is configured to be a scalable resource group, the directory /usr/sap/SAPSID/INSTANCE_NAME must be local on each node where the SAP web application server component is installed, as explained in How to Modify the Installation for a Scalable SAP Web Application Server Component. Note that SAPSID represents the SAP system identification and INSTANCE_NAME represents the name of the SAP web application server instance.
During the installation and configuration process, track any system files that you change, because you need to copy those files to all the nodes that are to run the application.
For each new installation, the SAP start and stop scripts are overwritten. Therefore, be sure to modify these scripts as needed at each new installation.
Use the questions in this section to plan the installation and configuration of HA for SAP Web Application Server. Write the answers to these questions in the space that is provided on the data service worksheets in Configuration Worksheets in Oracle Solaris Cluster Data Services Planning and Administration Guide.
Will you run the SAP web application server component of the application as a failover resource or as a scalable resource?
Will you run the SAP J2EE engine as a failover resource or as a scalable resource?
What is the logical hostname for clients that will access the data service?
Where will the system configuration files reside?
See Configuration Guidelines for Oracle Solaris Cluster Data Services in Oracle Solaris Cluster Data Services Planning and Administration Guide for the advantages and disadvantages of placing the SAP binaries on the local file system or on the cluster file system.