Sun Cluster 3.0 12/01 Data Services Installation and Configuration Guide

How to Verify SAP and Database Installation With Application Server

If you have installed and configured any application servers, perform this procedure on all of the potential nodes on which the application server can run. This procedure tests starting and stopping the application server.

  1. Create the failover resource group to hold the network and application server resources.


    # scrgadm -a -g sap-as-resource-group
    

    Note -

    You can optionally select the set of nodes on which the SAP application server can run with the -h option to the scrgadm command.


    # scrgadm -a -g sap-as-resource-group [-h nodelist]


  2. Verify that you have added all of the network resources that you use to your name service database.

  3. Run the scrgadm command to add a network resource (logical hostname or shared address) to the failover resource group.


    # scrgadm -a -L -g sap-as-resource-group -l logical-hostname [-n nafo0@node1,nafo0@node2]
  4. Enable the resource group.

    Run the scswitch(1M) command to move the resource group into a managed state and bring the resource group online.


    # scswitch -Z -g sap-as-resource-group
    
  5. Log in to the cluster member that hosts the application server resource group.

  6. Start the application server.

  7. Start the SAP GUI to verify that the SAP application server initializes correctly.

  8. Stop the application server.

  9. Run the scswitch command.

    In the following example, the term sap-as-resource-group represents the resource group that contains the network resource (logical hostname or shared address) for the application server resource. Switch this resource group to another cluster member that can host the application server.


    # scswitch -z -h node -g sap-as-resource-group
    
  10. Repeat Step 5 through Step 7 until you verify startup and shutdown of the application server on each cluster node that can host the application server.

Where to Go From Here

After you finish all of the procedures to install and configure SAP and the database, go to "How to Register and Configure Sun Cluster HA for SAP With Central Instance".