Sun Cluster 2.2 Data Services Update: SAP With Oracle, SAP With Informix

Configuring Sun Cluster HA for SAP (SAP With Oracle)

This section describes how to register and configure Sun Cluster HA for SAP.

How to Configure Sun Cluster HA for SAP (SAP With Oracle)
  1. If Sun Cluster HA for SAP has not yet been installed, install it now by running scinstall(1M) on all nodes and adding the Sun Cluster HA for SAP data service.

    See Section 3.2, "Installation Procedures" in the Sun Cluster 2.2 Software Installation Guide for details. If the cluster is already running, you must stop it before installing the data service.

  2. Register the Sun Cluster HA for SAP data service by running the hareg(1M) command.

    Run this command on only one node:


    # hareg -s -r sap -h CIloghost
    

  3. Verify that all nodes are running in the cluster.

  4. Create a new Sun Cluster HA for SAP instance using the hadsconfig(1M) command.

    The hadsconfig(1M) command is used to create, edit, and delete instances of the Sun Cluster HA for SAP data service. The configuration parameters are described in "Configuration Parameters for Sun Cluster HA for SAP (SAP With Oracle)".

    Run this command on only one node, while all nodes are running in the cluster:


    # hadsconfig
    

  5. If Sun Cluster HA for SAP is dependent upon other data services within the same logical host, set dependencies on those data services.

    See "How to Set a Data Service Dependency for SAP (SAP With Oracle)". If you do set dependencies, start all services on which SAP depends before proceeding.

  6. Stop the central instance before starting SAP under the control of Sun Cluster HA for SAP.


    # su - <sapsid>adm
    $ stopsap r3
    


    Caution - Caution -

    The SAP central instance must be stopped before Sun Cluster HA for SAP is turned on.


  7. Turn on the Sun Cluster HA for SAP instance.


    # hareg -y sap
    

  8. Test switchover of Sun Cluster HA for SAP.

    For example:


    # scadmin switch clustername phys-hahost2 CIloghost
    

  9. (Optional) If you have application servers or a test/development system, customize and test the hasap_start_all_instances and hasap_stop_all_instances scripts.

    See "Configuration Options for Application Servers and Test/Development Systems" for details. Test switchover of Sun Cluster HA for SAP and verify start and stop of application servers. Verify that the test/development system stops when the central instance logical host is switched to the test/development system physical host.


    # scadmin switch clustername phys-hahost1 CIloghost