Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Data Service for SAP MaxDB Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

## Configuring the `HAStoragePlus` Resource Type to Work With HA for SAP MaxDB

For maximum availability of the SAP MaxDB database, resources that HA for SAP MaxDB requires must be available before the SAP MaxDB database instance is started. An example of such a resource is the file system where programs and libraries for the SAP MaxDB runtime environment reside. To ensure that these resources are available, configure the `HAStoragePlus` resource type to work with HA for SAP MaxDB.

For information about the relationship between resource groups and disk device groups, see Relationship Between Resource Groups and Device Groups in Oracle Solaris Cluster Data Services Planning and Administration Guide.

Configuring the `HAStoragePlus` resource type to work with HA for SAP MaxDB involves the following operation:

- Registering and configuring an `HAStoragePlus` resource

## How to Register and Configure an `HAStoragePlus` Resource

Perform this procedure on any one cluster node.

1. Register the `SUNW.HAStoragePlus` resource type.

       # clresourcetype register SUNW.HAStoragePlus

2. Create an `HAStoragePlus` resource for the global device group on which SAP MaxDB is installed.

   Create this resource in the SAP MaxDB resource group. This resource must perform an affinity switchover for all global devices that are defined for this resource.

       # clresource create -d -g sapdb-rg \
       -t SUNW.HAStoragePlus -p filesystemmountpoints=mountpoint-list \
       -p globaldevicepaths=sapdb-device-group \
       -p affinityon=TRUE hsp-resource

   `-d`

     Specifies that a new resource is to be created in a disabled state.

   `-g` sapdb-rg

     Specifies that the resource is to be added to the SAP MaxDB resource group.

   `-t SUNW.HAStoragePlus`

     Specifies that the resource is an instance of the `SUNW.HAStoragePlus` resource type.

   `-p filesystemmountpoints=`mountpoint-list

     Specifies a list of valid mount points for the file system.

   `-p globaldevicepaths=`sapdb-device-group

     Specifies the name of the global device group on which the SAP MaxDB software is installed.

   `-p affinityon=TRUE`

     Specifies that this resource performs an affinity switchover for all global devices that are defined for this resource.

   hsp-resource

     Specifies that the resource that you are creating is named hsp-resource.

Example 1-6 Creating an `HAStoragePlus` Resource

    # clresource create -g sapdbrg \
    -t SUNW.HAStoragePlus -p filesystemmountpoints=/global/sapdbdata \
    -p globaldevicepaths=sapdbdg -p affinityon=TRUE hsprs

This example shows the creation of a `SUNW.HAStoragePlus` resource that has the following characteristics:

- The resource is named `hsprs`.

- The resource is a member of a resource group that is named `sapdbrg`. The creation of this resource group is shown in Example 1-5.

- The resource is an instance of the `SUNW.HAStoragePlus` resource type. The registration of this resource type is not shown in this example.

- The mount point for the file system is `/global/sapdbdata`.

- The SAP MaxDB software is installed on a global device group that is named `sapdbdg`.

- The `hsprs` resource performs an affinity switchover for all global devices that are defined for this resource.

Next Steps

Go to Registering and Configuring HA for SAP MaxDB.

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