Sun Cluster 3.0 U1 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 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 logical-hostname 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 -n nafo0@node1,nafo0@node2
    


  2. Verify that you have added all the logical hostnames that you use to your name-service database.

  3. Run the scrgadm command to add a logical hostname to the failover resource group.


    # scrgadm -a -L -g sap-as-resource-group -l logical-hostname
    
  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 logical-hostname resource 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.