Sun Cluster Data Service for SAP Web Application Server Guide for Solaris OS

How to Verify the Installation and Configuration of the SAP J2EE Engine

  1. Become superuser, then the sapsidadm user with superuser environment.


    # su - root
    # su sapsidadm
    
  2. Set the following environment variables:

    • Set the LD_LIBRARY_PATH variable to /sapmnt/SAPSID/exe.

    • Set the SAPSYSTEMNAME variable to the appropriate SAP system identification.

    • Add the following paths to the PATH variable: /usr/sbin:/usr/bin:/usr/cluster/bin.

    • Set the SAPSYSTEM variable to the system number configured for the specific instance of SAP which should be handled by the resource.

    • Set the HOME environment variable to the home directory of the SAP administration user.

    • Set the LOGNAME variable to root.

  3. Enable the logical-host-name resource for the resource group.

  4. Start the database.

    Before running the SAP start script in the next step, you must start the database.

  5. Run the SAP start script for the SAP J2EE engine using the absolute path and the appropriate arguments.

    The following command is an example that runs the SAP start script for the SAP J2EE engine. You must run the equivalent command for your installation.


    # /usr/sap/SC3/SYS/exe/run/startsap j2ee D01
    
  6. Change to the home directory of the SAP administration user.

    The probe utility writes files to the current directory, and this directory must be writable by the SAP administration user. In Step 2 you set the HOME environment variable to the home directory of the SAP administration user.


    # cd $HOME
    
  7. After the SAP J2EE engine starts successfully, verify it by deploying and running some examples. See the SAP Web Application Server Installation Guide for instructions.

  8. Run the SAP stop script for the SAP J2EE engine to verify that the SAP J2EE engine can be stopped.

    Verify that the SAP J2EE engine can be stopped correctly. Run the SAP stop script for the SAP J2EE engine with the full path and the appropriate arguments. The following command is an example that runs the SAP stop script. Run the equivalent command for your installation.


    # /usr/sap/SC3/SYS/exe/run/stopsap j2ee D01