While setting up a cluster, you must always ensure that the cluster has some spare capacity to handle the SAP WebAS failover scenarios. For example, in case of a backend database failure, the cluster must be able to run another database instance in conjunction with other running applications.
See Veritas Cluster Server Installation and Configuration Guide.
The cluster should 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 faults or resource faults. An administrator should also be proactively able to move a service group between cluster nodes to perform preventative maintenance or apply patches.
Perform the following steps to add a service group for SAP WebAS
For more details on creating a service group refer to,Veritas Cluster Server User's Guide
# hagrp -modify SAP71-PI1SCS SystemList vcssx074 0 vcssx075 1
# hares -add SAP71-PI1SCS_nic NIC SAP71-PI1SCS
# hares -add SAP71-PI1SCS_ip IP SAP71-PI1SCS
For more details on creating and modifying resource attributes for NIC, IP, DiskGroup, Volume and Mount refer to, Bundled Agents Reference Guide.
# hares -add SAP71-PI1SCS_scs SAPWebAS71 SAP71-PI1SCS
Based on the SAP instance you are clustering, modify the resource attributes. For more information on agent attributes,
Group Parent Child SAP71-PI1SCS SAP71-PI1SCS_ip SAP71-PI1SCS_nic SAP71-PI1SCS SAP71-PI1SCS_mnt SAP71-PI1SCS_vol SAP71-PI1SCS SAP71-PI1SCS_scs SAP71-PI1SCS_mnt SAP71-PI1SCS SAP71-PI1SCS_scs SAP71-PI1SCS_ip SAP71-PI1SCS SAP71-PI1SCS_vol SAP71-PI1SCS_dg