Starting the SAP Web AS instance outside a cluster

If you face problems while working with a resource, you must disable the resource within the cluster framework. A disabled resource is not under the control of the cluster framework, and so you can test the SAP Web AS instance independent of the cluster framework. Refer to the cluster documentation for information about disabling a resource.

You can then restart the SAP Web AS instance outside the cluster framework.

Note:

While restarting the SAP instance outside the cluster framework, use the same parameters as that configured for the VCS SAP resource.

A sample procedure to start a SAP instance outside the cluster framework, is illustrated as follows.

To restart the SAP instance outside the cluster framework

  1. Log in as superuser.
  2. Ensure that the SAP database is up and running. Refer to the relevant database documentation or consult your database administrator for more information.
  3. Use the SAPAdmin attribute to log in to the SAP server.
    # su SAPAdmin
    $ USER=SAPAdmin; LOGNAME=SAPAdmin; HOME=/home/SAPAdmin
    $ export USER LOGNAME HOME
    $ . EnvFile

    For certain shell versions on AIX, LOGNAME is read-only.

  4. Start the SAP server to run the instance, using the following commands:
    $ sapstartsrv pf=InstProfile -D -u SAPAdmin
    $ sapstart pf=InstProfile
  5. Ensure that the SAP instance is running successfully by running the grep command for InstName.

    For example, for a SAP instance:

    $ ps -ef | grep InstName

    As a result all the processes listed in ProcMon, for the instance running on the system, must be displayed.

    If the SAP instance is working outside the cluster framework, you can log out of the resource. You can then attempt to restart the SAP server within the framework.