Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Services Reference Manual Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

### SUNW.sapwebas

### , sapwebas

- resource type implementation for the SAP web application server component of Oracle Solaris Cluster HA for SAP Web Application Server

## Description

The `SUNW.sapwebas` resource type represents the following components in an Oracle Solaris Cluster Configuration: SAP web application server; J2EE Engine; SAP web Application Server with the J2EE Engine. This resource type is part of a set of resource types for the SAP Web Application Server platform. The other components are the SAP enqueue server (represented by the `SUNW.sapenq` resource type), the SAP replica server (represented by the `SUNW.saprepl` resource type), and the SAP message server (represented by the `SUNW.sapscs` resource type).

The components represented by the `SUNW.sapwebas` resource may be configured as a failover resource or a scalable resource.

The SAP web application server component resource depends on the database resource being online. The J2EE Engine component depends on the database resource and the SAP message server. You create these dependencies when you configure the Oracle Solaris Cluster HA for SAP Web Application Server data service and the J2EE Engine data service.

Standard properties and extension properties that are defined for the `SUNW.sapwebas` resource type are described in the subsections that follow. To set these properties for an instance of the `SUNW.sapwebas` resource type, use the `clresourcetype`(1CL) command.

### Standard Properties

Standard resource properties are overridden for this resource type as follows:

`Retry_Count`
  Maximum

    5

  Default

    2

  Tunable

    Any time

`Retry_Interval`
  Maximum

    4600

  Default

    4320

  Tunable

    Any time

`Thorough_Probe_Interval`
  Maximum

    3600

  Default

    120

  Tunable

    Any time

For a description of these standard resource properties, see `r_properties`(5).

### Extension Properties

The extension properties of this resource type are as follows:

`Monitor_Retry_Count`

  The maximum number of restarts by the process monitor facility (PMF) that are allowed for the SAP web application server component fault monitor.

  Data type

    Integer

  Default

    4

  Range

    No range defined

  Tunable

    Any time

`Monitor_Retry_Interval`

  The interval in minutes between restarts of the SAP web application server component fault monitor.

  Data type

    Integer

  Default

    2

  Range

    No range defined

  Tunable

    Any time

`Probe_Timeout`

  The timeout value in seconds that the SAP web application server component fault monitor uses to probe an SAP web application server component instance.

  Data type

    Integer

  Default

    120

  Range

    Minimum = 2; no maximum defined

  Tunable

    Any time

`SAP_Instance_Name`

  The name of the SAP web application server component instance. This is `INSTANCE_NAME` in the SAP profile.

  Data type

    String

  Default

    None defined

  Range

    Not applicable

  Tunable

    When disabled

`SAP_Instance_Number`

  The two-digit SAP system number for the SAP web application server component instance. This is `SAPSYSTEM` in the SAP profile.

  Data type

    String

  Default

    None defined

  Range

    Not applicable

  Tunable

    When disabled

`SAP_SID`

  The SAP system ID. This is `SAPSYSTEMNAME` in the SAP profile.

  Data type

    String

  Default

    None defined

  Range

    Not applicable

  Tunable

    When disabled

`SAP_User`

  The administration user for the SAP web application server component.

  Data type

    String, where letters are in lowercase

  Default

    `<SAP_SID>adm`

  Range

    Not applicable

  Tunable

    When disabled

`SAP_Instance_Type`

  The Instance type on the specified Host. The possible values of this extension property are as follows:

  - `ABAP` – Specifies that SAP Web AS ABAP central instance is installed on the host.

  - `J2EE` – Specifies that SAP Web AS Java engine is deployed on the host.

  - `ABAP_J2EE` – Specifies that SAP Web AS ABAP and SAP Web AS Java engine are deployed on the host.

  Data type

    Enum

  Default

    `ABAP`

  Range

    Not applicable

  Tunable

    When disabled

`SAP_Logdir`

  The directory for the startup and monitor log files.

  Data type

    String

  Default

    The home directory of the administration user, as specified by the extension property `SAP_User`.

  Range

    Not applicable

  Tunable

    Any time

`Webas_Shutdown_Script`

  The full path to the shut down script for the instance.

  Data type

    String

  Default

    `/usr/sap/<SAP_SID>/SYS/exe/run/stopsap`

  Range

    Not applicable

  Tunable

    When disabled

`Webas_Startup_Script`

  The full path to the start-up script for the instance.

  Data type

    String

  Default

    `/usr/sap/<SAPSID>/SYS/exe/run/startsap`

  Range

    Not applicable

  Tunable

    When disabled

`Webas_Use_Pmf`

  Determines if the startup script process tree is run under Process Monitor Facility (PMF). The possible values of this extension property are as follows:

  - `True` - Specifies that the startup script process tree is run under PMF.

  - `False` - Specifies that the startup script process tree is not run under PMF.

  Data type

    Boolean

  Default

    `TRUE`

  Range

    Not applicable

  Tunable

    When disabled

## Examples

Example 1 Creating a Failover Resource for `SUNW.sapwebas`

For this example to work, you must first install the Oracle Solaris Cluster HA for SAP Web Application Server data service, which includes all the packages to make the SAP Web Application Server components highly available.

The failover resource group for the SAP web application server component contains the SAP web application server component resource and the logical host resource. The following commands are an example of creating the failover resource group for the SAP web application server component:

    # clresourcegroup create fo-webas-rg
    # clreslogicalhostname create -g fo-webas-rg  -l webas-lh \\
    -n sc_ipmp0@1,sc_ipmp0@2,sc_ipmp0@3,sc_ipmp0@4

To bring online the failover resource group for the SAP web application server component, the following command is run:

    # clresourcegroup online -M fo-webas-rg

To register the resource type, the following command is run:

    # clresourcetype register SUNW.sapwebas

To create a SAP web application server component resource in the failover resource group, the following command is run:

    # clresource create -g fo-webas-rg -t SUNW.sapwebas \\
    -p SAP_SID=SC3 -p SAP_Instance_Number=08 \\
    -p SAP_Instance_Name=D08 \\
    -p Resource_Dependencies=db-webas-rs,msg-rs webas-rs

Example 2 Creating a Scalable Resource for `SUNW.sapwebas`

For this example to work, you must first install the Oracle Solaris Cluster HA for SAP Web Application Server data service, which includes all the packages to make the SAP Web Application Server components highly available.

The scalable resource group for the SAP web application server component contains the SAP web application server component resource and the logical host resource. The following commands are an example of creating the scalable resource group for the SAP web application server component:

    # clresourcegroup create \\
    -p Maximum_primaries=4 \\
    -p Desired_primaries=4 \\
    sc-webas-rg
    # clreslogicalhostname create -g sc-webas-rg -l webas-lh \\
    -N sc_ipmp0@1,sc_ipmp0@2,sc_ipmp0@3,sc_ipmp0@4

To bring online the scalable resource group for the SAP web application server component, the following command is run:

    # clresourcegroup online -M sc-webas-rg

To register the resource type, the following command is run:

    # clresourcetype register SUNW.sapwebas

To create a SAP web application server component resource in the scalable resource group, the following command is run:

    # clresource create -g sc-webas-rg -t SUNW.sapwebas \\
    -p SAP_SID=SC3 -p SAP_Instance_Number=08 \\
    -p SAP_Instance_Name=D08 \\
    -p Resource_Dependencies=db-webas-rs,msg-rs webas-rs

## Attributes

See `attributes`(5) for descriptions of the following attributes:

ATTRIBUTE TYPE | ATTRIBUTE VALUE
--- | ---
Availability | `ha-cluster/data-service/sapwebas`

## See Also

`clresource`(1CL), `clresourcegroup`(1CL),`clresourcetype`(1CL), `attributes`(5), `r_properties`(5), `SUNW.sapenq`(5), `SUNW.sapscs`(5), `SUNW.saprepl`(5)

Copyright © 2000, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |