Cluster Server 7.4.2 Configuration Guide for SAP Web Application Server - Windows
- Section I. Getting Started
- Introducing the Veritas High Availability Agent for SAP Web Application Server
- About the Veritas High Availability agent for SAP Web Application Server
- How does the Veritas High Availability solution work
- Agent functions
- Installing and configuring the SAP Web Application Server for high availability
- Setting up SAP systems for clustering
- Configuring the Enqueue Replication Server
- Clustering an SAP instance
- Introducing the Veritas High Availability Agent for SAP Web Application Server
- Section II. Configuring the application for high availability
- Section III. Troubleshooting the Agent
- Troubleshooting the agent for SAP Web Application Server
- Troubleshooting common problems
- Reviewing SAP Web Application Server agent log files
- Reviewing error log files
- Troubleshooting the agent for SAP Web Application Server
- Appendix A. Sample Configurations
Configuring service groups with the SAP Web Application Server agent
While setting up a cluster, you must always ensure that the cluster has some spare capacity to handle the SAP NetWeaver failover scenarios. For example, in case of a back-end database failure, the cluster must be able to run another database instance in conjunction with other running applications. Review the information about data protection.
The cluster should thus be able to provide application failover by encapsulating the resources required for an application into a service group. A service group is a virtualized application that can switch between the cluster nodes. It contains a set of dependent resources, such as disk groups, disk volumes, file systems, IP addresses, NIC cards, and dependent application processes. It also includes logic about the dependencies between the application components.
These service groups should thus be configured such that the cluster can start, stop, monitor, and switch the service groups between the nodes, depending upon the server or resource faults. An administrator should also be pro-actively able to move a service group between cluster nodes to perform preventative maintenance or apply patches.
To configure the service groups
- Change the cluster configuration to read/write mode.
C:\> haconf -makerw
- Create a service group for SAP NetWeaver
C:\> hagrp -add SAP710-PI1SCS
- Modify the SystemList attribute for the group, to add systems.
C:\> hagrp -modify SAP710-PI1SCS SystemList vcswin74 0 vcswin75 1
- Create resources for NIC, IP, Lanman,VMDg, and MountV in the service group.
C:\> hares -add SAP710-PI1SCS_nic NIC SAP710-PI1SCS
C:\> hares -add SAP710-PI1SCS_ip IP SAP710-PI1SCS
C:\> hares -add SAP710-PI1SCS_lanman Lanman SAP710-PI1SCS
C:\> hares -add SAP710-PI1SCS_mnt MountV SAP710-PI1SCS
C:\> hares -add SAP710-PI1SCS_vmdg VMDg SAP710-PI1SCS
For more details on creating and modifying resource attributes for NIC, IP, Lanman, VMDg and MountV refer to Cluster Server Bundled Agents Reference Guide.
- Create links between the resources.
C:\> hares -link SAP710-PI1SCS_ip SAP710-PI1SCS_nic
C:\> hares -link SAP710-PI1SCS_lanman SAP710-PI1SCS_ip
C:\> hares -link SAP710-PI1SCS_mnt SAP710-PI1SCS_vmdg
- Create SAPWebAS resource for applications based on SAP NetWeaver
C:\> hares -add SAP710-PI1SCS_scs SAPWebAS SAP710-PI1SCS
Based on the SAP instance you are clustering, modify the resource attributes.
- Create resource dependencies for SAPWebAS resource.
The SAPWebAS resource depends on the Lanman and MountV resources.
C:\> hares -link SAP710-PI1SCS_scs SAP710-PI1SCS_lanman
C:\> hares -link SAP710-PI1SCS_scs SAP710-PI1SCS_mnt
- Verify the final resource dependencies for SAP server group.
Group Parent Child SAP710-PI1SCS SAP710-PI1SCS_scs SAP710-PI1SCS_lanman SAP710-PI1SCS SAP710-PI1SCS_scs SAP710-PI1SCS_mnt SAP710-PI1SCS SAP710-PI1SCS_ip SAP710-PI1SCS_nic SAP710-PI1SCS SAP710-PI1SCS_lanman SAP710-PI1SCS_ip SAP710-PI1SCS SAP710-PI1SCS_mnt SAP710-PI1SCS_vmdg
- Save the cluster configuration.
C:\> haconf -dump -makero