JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Cluster Data Service for SAP MaxDB Guide     Oracle Solaris Cluster 3.3 3/13
search filter icon
search icon

Document Information

Preface

1.  Installing and Configuring HA for SAP MaxDB

HA for SAP MaxDB Overview

Overview of the Installation and Configuration Process for HA for SAP MaxDB

Planning the HA for SAP MaxDB Installation and Configuration

Configuration Requirements

SAP MaxDB Software Version Requirements

HA for SAP MaxDB Configuration Requirements

SAP xserver Configuration Requirements

Supported Configurations of This Data Service

Configuration Considerations

Device Group for the SAP MaxDB Application

Dependencies of the SAP MaxDB Application on SAP xserver

Administration of SAP xserver by a User Other Than Root

Configuration Planning Questions

Installing and Configuring SAP MaxDB

How to Install and Configure SAP MaxDB

How to Enable SAP MaxDB to Run in a Cluster

Verifying the SAP MaxDB Installation and Configuration

How to Verify SAP MaxDB Installation and Configuration on Each Node

Installing the HA for SAP MaxDB Packages

How to Install the HA for SAP MaxDB Packages

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

How to Register and Configure an HAStoragePlus Resource

Registering and Configuring HA for SAP MaxDB

Setting HA for SAP MaxDB Extension Properties

Administering SAP xserver as a User Other Than Root

How to Register and Configure an SAP xserver Resource

How to Register and Configure a SAP MaxDB Resource

Tuning the HA for SAP MaxDB Fault Monitors

Factors That Affect the Interval Between Fault Monitor Probes

Operations by the HA for SAP MaxDB Fault Monitors During a Probe

Operations by the SAP MaxDB Fault Monitor During a Probe

Operations by the SAP xserver Fault Monitor During a Probe

Faults Detected by the HA for SAP MaxDB Fault Monitors

Faults Detected by the SAP MaxDB Fault Monitor

Faults Detected by the SAP xserver Fault Monitor

Recovery Actions in Response to Detected Faults

Forcing the SAP MaxDB Database Instance to Be Restarted if the Parent Kernel Process Is Terminated

Verifying the HA for SAP MaxDB Installation and Configuration

How to Verify the Operation of the SAP MaxDB Fault Monitor

How to Verify the Operation of the SAP xserver Fault Monitor

Upgrading the SUNW.sap_xserver Resource Type

Information for Registering the New Resource Type Version

Information for Migrating Existing Instances of the Resource Type

A.  HA for SAP MaxDB Extension Properties

Index

Verifying the HA for SAP MaxDB Installation and Configuration

After you install, register, and configure HA for SAP MaxDB, verify the HA for SAP MaxDB installation and configuration. Verifying the HA for SAP MaxDB installation and configuration determines if the HA for SAP MaxDB data service makes the SAP MaxDB application highly available.

Verifying the HA for SAP MaxDB installation involves verifying the operation of the following fault monitors:

How to Verify the Operation of the SAP MaxDB Fault Monitor

Perform this procedure on each node where SAP MaxDB can run.

  1. Log in as superuser to a node or zone that can master the SAP MaxDB resource group.
  2. Switch the SAP MaxDB resource group to the node or zone that you logged in to in Step 1.
    # clresourcegroup switch -n node sapdb-rg
    node

    Specifies the node to which the SAP MaxDB resource group is to be switched

    sapdb-rg

    Specifies the name of the SAP MaxDB resource group is to be switched to another node

  3. Abnormally terminate SAP MaxDB.
    1. Determine the process identities of all kernel processes for the SAP MaxDB database instance that you are running.
      # ps -ef | grep kernel | grep db-name
      db-name

      Specifies the name of the SAP MaxDB database instance in uppercase

    2. Kill all kernel processes for the SAP MaxDB database instance that you are running.
      # kill -9 sapdb-kernel-pid
      sapdb-kernel-pid

      Specifies the process identities of the SAP MaxDB kernel processes that you determined in Step a

  4. Confirm that the HA for SAP MaxDB fault monitor performs the appropriate operation from the following list:
    • Restarting the SAP MaxDB resource

    • Failing over the SAP MaxDB resource to another node

    The expected behavior of the fault monitor depends on the failure history of the resource and the value of the Failover_enabled extension property. For more information, see the following sections:

  5. Terminate SAP MaxDB normally.
    1. Become the OS user who administers the SAP MaxDB database.
      # su - os-sapdb-adm-user
      os-sapdb-adm-user

      Specifies the UNIX user identity of the OS user who administers the SAP MaxDB database. This user's home directory contains the .XUSER.62 file that was created during the installation and configuration of SAP MaxDB. For more information, see Installing and Configuring SAP MaxDB. You specify this user when you set the DB_User extension property as explained in How to Register and Configure a SAP MaxDB Resource.

    2. Manually stop the SAP MaxDB database instance.
      # dbmcli -U sapdb-adm-key db_offline
      -U sapdb-adm-key

      Specifies that the dbmcli command is run with the user key of the database user who administers the SAP MaxDB database. This user key is created during the installation and configuration of SAP MaxDB. For more information, see Installing and Configuring SAP MaxDB. You specify this user key when you set the User_Key extension property as explained in How to Register and Configure a SAP MaxDB Resource.

  6. Confirm that the HA for SAP MaxDB fault monitor performs the appropriate operation from the following list:
    • Restarting the SAP MaxDB resource

    • Failing over the SAP MaxDB resource to another node

    The expected behavior of the fault monitor depends on the failure history of the resource and the value of the Failover_enabled extension property. For more information, see the following sections:

How to Verify the Operation of the SAP xserver Fault Monitor

Perform this procedure on each node that can master SAP xserver.

  1. Log in to a node or zone that can master SAP xserver.
  2. Abnormally terminate SAP xserver.
    1. Determine the process identities of all SAP xserver processes.
      # ps -ef | grep vserver
    2. Kill all SAP xserver processes.
      # kill -9 xserver-pid
      xserver-pid

      Specifies the process identities of the SAP xserver processes that you determined in Step a

  3. Confirm that the SAP xserver fault monitor restarts the SAP xserver resource.
  4. Terminate SAP xserver normally.
    1. Become the OS user who administers SAP xserver.
      # su - os-sapxsrvr-adm-user
      os-sapxsrvr-adm-user

      Specifies the UNIX user identity of the OS user who administers SAP xserver. By default, this user is root. You can specify this user by setting the Xserver_User extension property. For more information, see SUNW.sap_xserver Extension Properties.

    2. Manually stop the SAP xserver.
      # x_server stop
  5. Confirm that the SAP xserver fault monitor restarts the SAP xserver resource.