Entering content frameFunction documentationProgram sapcpe Locate the document in its SAP Library structure

Use

Program sapcpe ensures automatic adjustment of locally installed executables, if changes have been made to the executables on the central instance.

Prerequisites

See Installing Local Executables using Automatic Adjustment.

Features

Program sapcpe does the following:

Only the most often used executables are copied. For executables that are used less often, spacpe sets up soft links to the executables in the central directory (see graphic in Features of the Automatic Adjustment). Which executables are copied, and which executables have a soft link is determined in sapcpeft and the list files. This is covered in a later section.

This sapcpe function makes it unnecessary to distribute executables manually after installing an SAP Release or upgrade. To update your distributed SAP Systems, you only need to restart the SAP instances that are set up for the automatic adjustment.

If sapcpe finds any of the following list files in /usr/sap/<SID>/SYS/exe/ctrun, it copies or links only the executables listed in these files to the local /usr/sap/<SAPSID/SYS/exe/run directory:

instance.lst, instancedb.lst, tools.lst, inhouse.lst, frontend.lst

The configuration file sapcpeft defines which files are copies or linked.

If none of the list files are available, sapcpe copies or links all of the files defined in the configuration file. The configuration file contains all the executables necessary for an SAP instance to operate normally. All the executables in this list are copied to the local directory, depending on their attributes. For example: gwrd, gwwp, gwhost, sapexec, sapmscsa, disp+work, rsyn.bin, saprouter etc.

You can override the internal table using the entry in the file sapcpeft. For more information on these files, see Configuring sapcpe.

By default, sapcpe uses soft links to make other, less frequently-used executables available in /usr/sap/<SID>/SYS/exe/ctrun. This procedure ensures that these executables, which generally are used only for testing, do not fill local disk space.

Note that the initial startup after an update can delay the start of the instance for several minutes due to the executables being copied.

Activities

Configuring sapcpe

 

 

Leaving content frame