Entering content frameProcedure documentation Installing SAPOSCOL on a UNIX Host Locate the document in its SAP Library structure

Prerequisites

You have downloaded the current version of SAPOSCOL as described under Downloading SAPOSCOL.

Procedure

  1. SAPOSCOL reads areas of the operating system that are normally reserved for kernel processes; SAPOSCOL must therefore run under the root user. To change the user to root, enter the command su root.
  2. If an SAP R/3 System is running on the host, change to the directory /usr/sap/<SID>/SYS/exe/run. On hosts with no SAP R/3 Systems, you can install SAPOSCOL in any directory.
  3. If an older version of SAPOSCOL is already active on your host, stop it using the command saposcol -k and back up the old version with the command cp saposcol saposcol.old.
  4. Copy the new version of SAPOSCOL:
    cp <temp-dir>/saposcol saposcol
  5. Assign the required authorizations to SAPOSCOL with the commands:
    chgrp sapsys saposcol
    chmod 4750 saposcol
  6. Note

    As SAPOSCOL is running with root authorizations, only users from the group sapsys (such as <sid>adm ) should have access to it. If you are installing SAPOSCOL on hosts with no SAP system, assign the access rights in the same way using a user group (analogous to sapsys).

  7. Change back to your original user with the command exit.
  8. Start the new SAPOSCOL with the command saposcol.
  9. Note

    To ensure that SAPOSCOL was correctly installed, enter the command ls -l saposcol in the directory /usr/sap/<SID>/SYS/exe/run.

    The system displays the following line:

    This graphic is explained in the accompanying text

  10. If no SAP instance is running on the host (otherwise, SAPOSCOL is contained in the start script), you must ensure yourself that SAPOSCOL is automatically restarted after a restart of the host (for example, by entering the start command in the INITTAB).

Result

You have copied the current version of the operating system collector SAPOSCOL to your host and started it there.

See also:

This graphic is explained in the accompanying text Operating System Monitor and Operating System Collector SAPOSCOL initial pages.

 

 

Leaving content frame