Program sapcpe ensures automatic adjustment of locally installed executables, if changes have been made to the executables on the central instance.
Program sapcpe does the following:
· It performs the initial copy of executables from the central directory to the local directory if you set up a system for local executables (see Installing Local Executables using Automatic Adjustment).
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 in the list files. This is covered in a later section.
· It checks that the local executables are up to date at each startup of an R/3 instance that uses local executables. sapcpe checks the local executables against the central directory. It copies new executables whose date or size has changed.
This feature of SAPCPE makes it unnecessary to distribute executables by hand after installing a n SAP release or upgrade. To update your distributed SAP system, 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 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
Which files are copied or linked to is determined in the configuration file sapcpeft.
If none of
the above-mentioned list files is available, sapcpe copies or links all the files defined
in the configuration file sapcpeft.
This list contains all the executables necessary for an SAP instance to operate normally. All of the executables in this list are copied according to the attribute in the local directory.
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 occupy local disk space.
Note after copying the executables, the start of the instance may be delayed for several minutes.