Installation GuideSAP SCM Optimizer on Linux
Target Audience ■ System administrators ■ Technology consultants
CUSTOMERDocument version: 1.2 – 2013-08-20
Document History
CAUTION
Before you start the implementation, make sure you have the latest version of this document.
You can find the latest version at the following location: http://service.sap.com/
instguides.
The following table provides an overview of the most important document changes.
Version Date Description
1.0 2012-11-29 Initial Version
1.1 2013-05-22 Added program paths for RFC check
1.2 2013-08-20 Guide renamed to be release-independent
2/32 CUSTOMER 2013-08-20
Table of Contents
Chapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1 SAP Notes for the Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Chapter 2 Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 Planning Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Implementation Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Chapter 3 Preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.1 Preparation Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2 Preparing the Installation Media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 4 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.1 Installation Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.2 Running the Installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.3 Additional Information About the Installer . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.3.1 Interrupted Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.3.2 Performing a Remote Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.3.3 Starting the Installer GUI Separately . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.3.4 Running the Installer in Accessibility Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.3.5 Troubleshooting with the Installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.4 Installing SAP SCM Optimizer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Chapter 5 Post-Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.1 Post-Installation Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.2 Performing a Setup Check of the RFC Gateway . . . . . . . . . . . . . . . . . . . . . . . . 25
5.3 Customizing the Optimizer Destination Entries . . . . . . . . . . . . . . . . . . . . . . . 27
5.4 Testing the Optimizer Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.5 Applying the Latest Patches and Support Packages . . . . . . . . . . . . . . . . . . . . . . 28
Chapter 6 Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.1 Uninstalling SAP SCM Optimizer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2013-08-20 CUSTOMER 3/32
This page is left blank for documents that are printed on both sides.
1 Introduction
This documentation describes how to install SAP SCM Optimizer.
You can install SAP SCM Optimizer either on an ABAP application server or on a dedicated server
running on Windows with SAP Standalone Gateway installed.
Make sure that you have read the Master Guide for your SAP Business Suite Application before you
continue with this installation guide. You can find a printed version of the Master Guide in your
installation package or you can download the latest version at http://service.sap.com/
instguides.
NOTE
Software provisioning manager is the successor of the product- and release-specific delivery of
provisioning tools, such as SAPinst.
Before you perform an installation or system copy, we recommend that you always download
the latest version of the software provisioning manager which is part of the Software Logistics
Toolset (SL Toolset for short).
This way, you automatically get the latest SAPinst version including latest fixes in the tool and
supported processes.
For more information about software provisioning manager as well as products and releases
supported by it, see SAP Note 1680045.
1.1 SAP Notes for the Installation
You must read the following SAP Notes before you start the installation. These SAP Notes contain the
most recent information on the installation, as well as corrections to the installation documentation.
Make sure that you have the up-to-date version of these SAP Notes, which you can find at: http://
service.sap.com/notes
SAP Note Number Title Description
1686826 Implementation of SCM Optimizer SCM Optimizer information about the SAP system
1577112 SCM Optimizer: Sizing Information SCM Optimizer-specific sizing information and other requirements
1 Introduction
1.1 SAP Notes for the Installation
2013-08-20 CUSTOMER 5/32
This page is left blank for documents that are printed on both sides.
2 Planning
2.1 Planning Checklist
This section tells you how to plan the installation of the SCM Optimizer:
You make yourself familiar with the implementation considerations [page 7].
2.2 Implementation Considerations
You can install SAP SCM Optimizer either on top of an existing ABAP application server or on a dedicated
server.
The following applies:
■ SAP SCM Optimizer runs on Windows, Linux, and AIX platforms.
For more information, see the Product Availability Matrix at http://service.sap.com/pam.
■ If you use a dedicated server for SAP SCM Optimizer, you need to install an SAP Standalone Gateway
beforehand. For more information, see the Installation Guide for Standalone Engines in SAP
NetWeaver on SAP Service Marketplace at http://service.sap.com/installnw73 under
Installation - Standalone Engines Inst. Gateway for NW 7.3/NW 7.3 EHP1 Using SW Prov. Mgr. 1.0 SP00 .
RECOMMENDATION
The CPU time and memory requirement can be very high when you execute an optimizer
instance. If insufficient resources are available, this can impact heavily on performance or
affect correct implementation. Therefore, we highly recommend that you install an SAP
SCM Optimizer server for a production or test environment on dedicated hardware (that is,
no additional applications will run on this hardware). If you want to run other applications
on the optimizer server, you must make sure that these are executed in sequence or that the
hardware used provides sufficient resources. This also applies to executing several optimizer
instances.
■ Check SAP Note 1577112 for sizing information and other requirements.
2 Planning
2.1 Planning Checklist
2013-08-20 CUSTOMER 7/32
This page is left blank for documents that are printed on both sides.
3 Preparation
3.1 Preparation Checklist
You have to complete the following preparations:
1. If you want to install the SCM Optimizer on top of an existing ABAP application server, you make
sure that there is an ABAP application server in your system landscape.
2. If you want to install the SCM Optimizer on a dedicated host, you make sure that there is a
standalone SAP gateway on this host. For more information, see the Installation Guide for
Standalone Engines in SAP NetWeaver on SAP Service Marketplace at http://service.sap.com/
installnw73 under Installation - Standalone Engines Inst. Gateway for NW 7.3/NW 7.3 EHP1 Using SW
Prov. Mgr. 1.0 SP00 .
3. You prepare the installation media [page 9] for the SCM Optimizer installation.
3.2 Preparing the Installation Media
This section describes how to prepare the installation media, which are available as follows:
■ The software provisioning manager 1.0 archive containing the installer as such.
You always have to download the latest version of the software provisioning manager 1.0 archive.
■ The media containing the software to be installed, which are available as follows:
● You normally obtain the physical installation media as part of the installation package.
● You can also download the installation media apart from the software provisioning manager
1.0 archive from SAP Service Marketplace, as described at the end of this section.
Prerequisites
Make sure the latest version of the SAPCAR archiving tool is available on each installation host.
You require the SAPCAR archiving tool to be able to unpack software component archives (*.SAR files)
which is the format of software life-cycle media and tools that you can download from the SAP software
distribution center.
If required, you can download the latest version of SAPCAR from http://service.sap.com/swdc
Support Packages and Patches A – Z Index S SAPCAR .
For more information about SAPCAR, see SAP Note 212876.
Procedure
1. NOTE
3 Preparation
3.1 Preparation Checklist
2013-08-20 CUSTOMER 9/32
2. 1. Download the latest version of the software provisioning manager 1.0 archive
SWPM10SP<support package number>_<version number>.SAR from http://
service.sap.com/swdc Support Packages and Patches A – Z Index S SL Toolset SL Toolset
<release> Entry by Component Software Provisioning Manager Software Provisioning Manager 1.0
<Operating System>
2. Unpack the software provisioning manager archive to a local directory using the following
command:
SAPCAR –xvf <download directory>/<path>/<Archive>.SAR -R <unpack directory>
NOTE
Make sure that all users have read permissions for the directory where you want to
unpacked the installer.
3. CAUTION
If you copy the media to disk, make sure that the paths to the destination location of the
copied media do not contain any blanks.
Downloading Installation Media from SAP Service Marketplace
You normally obtain the installation media as part of the installation package from SAP.
However, you can also download installation media from the software distribution center on SAP
Service Marketplace using one of the following paths:
NOTE
You always have to download the software provisioning manager 1.0 archive (SWPM10SP<support
package number>_<version number>.SAR) from the software distribution center because you
have to use the latest version (see above).
■ http://service.sap.com/swdc Installations and Upgrades A-Z index <first letter of your product>
<your product> <your product version>
■ http://service.sap.com/swdc Installations and Upgrades Browse our Download Catalog <your
product> <your product version>
NOTE
If you download installation media, note that they might be split into several files. In this case,
you have to reassemble the required files after the download.
1. Identify all download objects that belong to one installation medium according to one or both of
the following:
■ Material number
All download objects that are part of an installation medium have the same material number
and an individual sequence number:
<material_number>_<sequence_number>
3 Preparation
3.2 Preparing the Installation Media
10/32 CUSTOMER 2013-08-20
EXAMPLE
51031387_1
51031387_2
...
■ Title
All objects that are part of an installation medium have the same title, such as
<solution><media_name><OS> or <database>RDBMS<OS> for database media.
2. Download the objects to the download directory.
3. To correctly re-combine the media that are split into small parts, you must unpack all parts into
the same directory.
In the unpacking directory, the system creates a subdirectory with a short text describing the
medium and copies the data into it. The data is now all in the correct directory, the same as on the
medium that was physically produced. For more information, see SAP Note 1258173.
3 Preparation
3.2 Preparing the Installation Media
2013-08-20 CUSTOMER 11/32
This page is left blank for documents that are printed on both sides.
4 Installation
4.1 Installation Checklist
This section provides information about the steps that you have to perform to install SAP SCM
Optimizer.
1. Make sure that you have completed the planning [page 7] and preparation [page 9] activities before you
start the installation.
2. You run the installation with Software Provisioning Manager 1.0 (the Installer) [page 13].
Additional information about the installer:
■ Interrupted Installation with the Installer [page 17]
■ Performing a Remote Installation with the Installer [page 19]
■ Starting the Installer GUI Separately [page 20]
■ Running the Installer in Accessibility Mode [page 22]
■ Troubleshooting with the Installer [page 23]
4.2 Running the Installer
This section describes how to run the installation tool software provisioning manager 1.0 (the “installer”
for short). Software provisioning manager 1.0 includes a GUI client and a GUI server, which both use
Java. In the following, GUI client and GUI server are called the “installer GUI”.
This procedure describes an installation where the installer and the installer GUI are running on the
same host.
If you need to see the installation on a remote display, we recommend that you perform a remote
installation [page 19], where the installer GUI is running on a separate host from the installer.
Alternatively you can use an X server for Microsoft Windows or other remote desktop tools for remote
access to the installer GUI on Windows workstations. For more information, see SAP Note 1170809.
Useful Information About the Installer
■ The installer creates the installation directory sapinst_instdir directly below the temporary
directory. The installer finds the temporary directory by checking the value of the TEMP, TMP, or
TMPDIR environment variable. If no value is set for these variables, the installer uses /tmp as
default installation directory.
If you want to use an alternative installation directory, set the environment variable TEMP, TMP,
or TMPDIR to the required directory before you start the installer.
4 Installation
4.1 Installation Checklist
2013-08-20 CUSTOMER 13/32
Shell Used Command
Bourne shell (sh) TEMP=<directory>
export TEMP
C shell (csh) setenv TEMP <directory>
Korn shell (ksh) export TEMP=<directory>
CAUTION
Make sure that the installation directory is not mounted with NFS, otherwise there might
be problems when the Java Virtual Machine is started.
■ The installer creates a subdirectory for each installation option called <sapinst_instdir>/
<installation_option_directory>.
■ The installer extracts itself to the temporary directory. These executables are deleted again after
the installer has stopped running.
Directories called sapinst_exe.xxxxxx.xxxx sometimes remain in the temporary directory. You
can safely delete them.
The temporary directory also contains the log file dev_selfex.out from the extraction process,
which might be useful if an error occurs.
CAUTION
If the installer cannot find a temporary directory, the installation terminates with the error
FCO-00058.
■ During the installation, the default port 21212 is used for communication between the installer
GUI server and the installer GUI client. If this port is already in use, you see an error message.
In this case or if you want the installer to use a specific port, open a command prompt and change
to the required directory to which you unpacked the SWPM10SP<support package
number>_<version number>.SAR file
Execute the sapinst executable with the following command line parameter:
GUISERVER_DIALOG_PORT=<port_number_gui_server_to_gui_client>
■ To see a list of all available installer properties, start the installer as described above with the option
-p:
./sapinst -p.
■ If you need to run the installer in accessibility mode, proceed as described in Running the Installer in
Accessibility Mode [page 22].
■ If required, you can stop the installer by choosing SAPinst Cancel in the installer GUI menu.
NOTE
If you need to terminate the installer, you can do this by pressing Ctrl + C .
Prerequisites
■ Ensure that you have applied SAP Note 1697164.
■ We recommend that you use the csh shell for the installation with the installer. If you want to use
another shell, make sure that you have read SAP Note 202227.
4 Installation
4.2 Running the Installer
14/32 CUSTOMER 2013-08-20
■ Make sure that your operating system does not delete the contents of the temporary directory /
tmp or the contents of the directories to which the variables TEMP, TMP, or TMPDIR point, for example
by using a crontab entry.
Make sure that the temporary directory has the permissions 1777.
■ Make sure that you have at least 300 MB of free space in the installation directory for each installation
option. In addition, you need 300 MB free space for the installer executables. If you cannot provide
300 MB free space in the temporary directory, you can set one of the environment variables TEMP,
TMP, or TMPDIR to another directory with 300 MB free space for the installer executables.
You can set values for the TEMP, TMP, or TMPDIR environment variable to an alternative installation
directory as described above in section Useful Information About the Installer.
■ Make sure that your DISPLAY environment variable is set to <host_name>:0.0, where
<host_name> is the host on which you want to display the installer GUI.
You can set values for the DISPLAY environment variables as follows:
Shell Used Command
Bourne shell (sh) DISPLAY=<host_name>:0.0
export DISPLAY
C shell (csh) setenv DISPLAY <host_name>:0.0
Korn shell (ksh) export DISPLAY=<host_name>:0.0
■ Make sure that umask is set to 022 for user root.
As user root, enter the following command: umask 022
■ Make sure that you have checked the following values for user root:
● In csh, execute limit
Output Properties
cputime unlimited
filesize unlimited
datasize unlimited
stacksize 8192 KB
coredumpsize unlimited
descriptors 8192
memorysize unlimited
● In sh or ksh execute ulimit -a
Output Properties
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 8192
coredump(blocks) unlimited
nofiles(descriptors) 8192
memory(KBytes) unlimited
4 Installation
4.2 Running the Installer
2013-08-20 CUSTOMER 15/32
If your parameter settings differ from the settings above, change these values accordingly.
EXAMPLE
If you have to change the value for descriptors to 8192, proceed as follows:
● In csh execute:
limit descriptors 8192
● In sh or ksh execute:
ulimit -n 8192
Procedure
1. Log on to the installation host as user root.
CAUTION
Do not use an existing <sapsid>adm user.
2. Start the installer from the directory to which you unpacked the SWPM10SP<support package
number>_<version number>.SAR file by executing the following command: /<path to unpack
directory>/sapinst
CAUTION
Make sure that the installation directory is not mounted with NFS, or there might be problems
when the Java Virtual Machine is started.
3. Choose Next.
4. Follow the instructions in the installer screens and enter the required parameters.
NOTE
To find more information on each parameter during the input phase of the installation,
position the cursor on the required parameter and press F1 .
After you have entered all requested input parameters, the installer displays the Parameter Summary
screen. This screen shows both the parameters that you entered and those that the installer set by
default. If required, you can revise the parameters before starting the installation.
5. To start the installation, choose Start.
The installer starts the installation and displays the progress of the installation. When the
installation has finished, the installer shows the message Execution of <Option_Name> has completed.
6. If required, delete directories with the name sapinst_exe.xxxxxx.xxxx after the installer has
finished. Sometimes these remain in the temporary directory.
NOTE
If there are errors with the extraction process of the installer, you can find the log file
dev_selfex.out in the temporary directory.
7. We recommend that you delete all files in the directory <user_home>/.sdtgui/.
8. If you copied the installer software to your hard disk, you can delete these files when the installation
has successfully completed.
4 Installation
4.2 Running the Installer
16/32 CUSTOMER 2013-08-20
4.3 Additional Information About the Installer
The following sections provide additional information about the installer:
■ Interrupted Installation [page 17]
■ Performing a Remote Installation [page 19]
■ Starting the Installer GUI Separately [page 20]
■ Running the Installer in Accessibility Mode [page 22]
■ Troubleshooting with the Installer [page 23]
4.3.1 Interrupted Installation
The SAP system installation might be interrupted for one of the following reasons:
■ An error occurred during the Define Parameters or Execute phase:
The installer does not abort the installation in error situations. If an error occurs, the installation
pauses and a dialog box appears. The dialog box contains a short description of the choices listed
in the table below as well as a path to a log file that contains detailed information about the error.
■ You interrupted the installation by choosing Cancel in the SAPinst menu.
CAUTION
If you stop an option in the Execute phase, any system or component installed by this option
is incomplete and not ready to be used. Any system or component uninstalled by this option
is not completely uninstalled.
The following table describes the options in the dialog box:
Option Definition
Retry The installer retries the installation from the point of failure without repeating any of the previous steps.This is possible because the installer records the installation progress in the keydb.xml file.We recommend that you view the entries in the log files, try to solve the problem, and then choose Retry.If the same or a different error occurs, the installer displays the same dialog box again.
Stop The installer stops the installation, closing the dialog box, the installer GUI, and the GUI server.The installer records the installation progress in the keydb.xml file. Therefore, you can continue the installation from the point of failure without repeating any of the previous steps. See the procedure below.
Continue The installer continues the installation from the current point.
View Log Access installation log files.
NOTE
You can also terminate the installer by choosing Ctrl + C . However, we do not recommend
that you use Ctrl + C , because this kills the process immediately.
4 Installation
4.3 Additional Information About the Installer
2013-08-20 CUSTOMER 17/32
Procedure
This procedure describes the steps to restart an installation, which you stopped by choosing Stop, or to
continue an interrupted installation after an error situation.
1. Log on to your local UNIX host as user root.
CAUTION
Make sure that the root user has not set any environment variables for a different SAP system
or database.
2. Make sure that the installation media are still available on the installation host.
RECOMMENDATION
Make installation media locally available. For example, if you use Network File System (NFS),
reading from media mounted with NFS might fail.
3. Restart the installer from the directory to which you unpacked the SWPM10SP<support package
number>_<version number>.SAR file by executing the following command:
/<path to unpack directory>/sapinst
4. From the tree structure in the Welcome screen, select the installation option that you want to
continue and choose Next.
The What do you want to do? screen appears.
5. In the What do you want to do? screen, decide between the following alternatives and continue with
Next:
Alternative Behavior
Run a new option The installer does not continue the interrupted installation option. Instead, it moves the content of the old installation directory and all installation-specific files to a backup directory. Afterwards, you can no longer continue the old installation option.For the backup directory, the following naming convention is used:<log_day_month_year_hours_minutes_seconds>.
NOTE
All actions taken by the installation before you stopped it (like creating directories, or users) will not be revoked.
EXAMPLE
log_01_Oct_2008_13_47_56
CAUTION
The installer moves all the files and folders to a new log directory, even if these files and folders are owned by other users. If there are any processes currently running on these files and folders, they might no longer function properly.
Continue with the old option The installer continues the interrupted installation from the point of failure.
4 Installation
4.3 Additional Information About the Installer
18/32 CUSTOMER 2013-08-20
4.3.2 Performing a Remote Installation
You use this procedure to install your SAP system on a remote host. In this case, the installer and the
GUI server run on the remote host, and the installer GUI client (the “installer GUI” for short) runs on
the local host. The local host is the host from which you control the installation with the installer GUI.
If your security policy requires that the person performing the installation by running the installer
GUI on the local host is not allowed to know root credentials on the remote host, you can specify
another operating system user for authentication purposes. You do this using the
SAPINST_REMOTE_ACCESS_USER parameter when starting the sapinst executable from the command
line. You have to confirm that the user is a trusted one. For more information, see SAP Note
1745524.
Alternatively you can use an X server for Microsoft Windows or other remote desktop tools for remote
access to the installer GUI on Windows workstations. For more information, see SAP Note 1170809.
You can run the installer GUI on a PC with 32-bit while the installer is running on a 64-bit installation
host. For more information, see Starting the Installer GUI Separately [page 20].
Prerequisites
■ Ensure that you have read SAP Note 1697164.
■ ■ Both computers are in the same network and can ping each other.
To test this:
1. Log on to your remote host and enter the command ping <local host>.
2. Log on to the local host and enter the command ping <remote host>.
■ Make sure that the sapinst executable on the remote host and the sapinstgui executable on the
local host have exactly the same version. You can check this by using the option –sfxver as
described in the procedure below and in the procedure in Starting the Installer GUI Separately [page
20].
■ If you need to specify another operating system user with the SAPINST_REMOTE_ACCESS_USER
command line parameter, make sure that this user exists on the remote host.
Procedure
1. Log on to your remote host as user root.
CAUTION
Make sure that the root user has not set any environment variables for a different SAP system
or database.
2. Make the installation media available on the remote host.
RECOMMENDATION
Make installation media locally available. For example, reading from media mounted with
Network File System (NFS) might fail.
4 Installation
4.3 Additional Information About the Installer
2013-08-20 CUSTOMER 19/32
3. Check the version of the sapinst executable by entering the following command:
./sapinst –sfxver
The version of the sapinst executable must be exactly the same as the version of the
sapinstgui executable on the local host (see also Starting the Installer GUI Separately [page 20]).
4. Start the installer from the directory to which you unpacked the SWPM10SP<support package
number>_<version number>.SAR file by executing the following command: /<path to unpack
directory>/sapinst -nogui
NOTE
If you need to specify another operating system user for authentication purposes, enter the
following command:
./sapinst -nogui SAPINST_REMOTE_ACCESS_USER=<specified OS user>
The installer now starts and waits for the connection to the installer GUI. You see the following
at the command prompt:
guiengine: no GUI connected; waiting for a connection on host <host_name>, port
<port_number> to continue with the installation
5. Start the installer GUI on your local host as described in Starting the Installer GUI Separately [page
20].
4.3.3 Starting the Installer GUI Separately
You use this procedure to start the installer GUI separately. You might need to start the installer GUI
separately in the following cases:
■ You closed the installer GUI using File Exit from the installer menu while the installer is still
running.
■ You want to perform a remote installation, where the installer GUI runs on a different host from
the installer. For more information, see Performing a Remote Installation [page 19].
■ You want to run the installer in accessibility mode. In this case, you have to start the installer GUI
separately on a Windows host as described below with the additional command line parameter –
accessible.
For more information, see Running the Installer in Accessibility Mode [page 22].
Prerequisites
■ Make sure that the sapinst executable on the remote host and the sapinstgui executable on the
local host have exactly the same version. You can check this by using the option –sfxver as
described in the procedure below and in the procedure in Performing a Remote Installation [page 19].
4 Installation
4.3 Additional Information About the Installer
20/32 CUSTOMER 2013-08-20
Procedure
Starting the Installer GUI on Windows
1. Make the installer software available on the host on which you want to start the installer GUI.
NOTE
If you want to start the installer GUI on a Windows operating system that is able to run 32-
programs, you can use the SWPM10SP<support package number>_<version number>.SAR
file for Windows I386.
2. Start the installer GUI by executing <Drive>:\<path to unpack directory>\sapinstgui.exe
with the appropriate command line parameters:
■ If you want to perform a remote installation, proceed as follows:
1. Check the version of sapinstgui.exe by entering the following command:
sapinstgui.exe –sfxver
The version of the sapinstgui executable must be exactly the same as the version of the
sapinst executable on the remote host (see also Performing a Remote Installation [page 19]).
2. Start the installer GUI by entering the following command:
sapinstgui.exe -host <remote_host> -port
<port_number_gui_server_to_gui_client>
– where <remote_host> is the name of the remote host, and
<port_number_gui_server_to_gui_client> is the port the GUI server uses to
communicate with the GUI client (21212 by default).
■ If you closed the installer GUI using File Exit and want to reconnect to the installer,
proceed as follows:
● If you are performing a local installation with the installer and the installer GUI running
on the same host, execute the following command:
sapinstgui.exe -port <port_number_gui_server_to_gui_client>
– where <port_number_gui_server_to_gui_client> is the port the GUI server uses to
communicate with the GUI client (21212 by default).
● If you are performing a remote installation with the installer and the installer GUI running
on different hosts, execute the following command:
sapinstgui.exe -host <remote_host> -port
<port_number_gui_server_to_gui_client>
– where <remote_host> is the name of the remote host, and
<port_number_gui_server_to_gui_client> is the port the GUI server uses to
communicate with the GUI client (21212 by default).
The installer GUI starts and connects to the installer.
Starting the Installer GUI on UNIX
1. Make the installer software available on the host on which you want to start the installer GUI.
4 Installation
4.3 Additional Information About the Installer
2013-08-20 CUSTOMER 21/32
NOTE
If you want to start the installer GUI on a Linux 32-bit operating system, make the
SWPM10SP<support package number>_<version number>.SAR file for Linux I386 available.
2. ■ If you want to perform a remote installation, proceed as follows:
1. Check the version of the sapinstgui executable by entering the following command:
/<path to unpack directory>/sapinstgui –sfxver
The version of the sapinstgui executable must be exactly the same as the version of the
sapinst executable on the remote host (see also Performing a Remote Installation [page 19]).
2. Start the installer GUI by entering the following command:
/<path to unpack directory>/sapinstgui -host <remote_host> -port
<port_number_gui_server_to_gui_client>
– where <remote_host> is the name of the remote host, and
<port_number_gui_server_to_gui_client> is the port the GUI server uses to
communicate with the GUI client (21212 by default).
■ If you closed the installer GUI using File Exit and want to reconnect to the installer,
proceed as follows:
● If you are performing a local installation with the installer and the installer GUI running
on the same host, execute the following command:
/<path to unpack directory>/sapinstgui -port
<port_number_gui_server_to_gui>
– where <port_number_gui_server_to_gui> is the port the GUI server uses to
communicate with the GUI client (21212 by default).
● If you are performing a remote installation with the installer and the installer GUI running
on different hosts, execute the following command:
/<path to unpack directory>/sapinstgui -host <remote_host> -port
<port_number_gui_server_to_gui>
– where <remote_host> is the name of the remote host, and
<port_number_gui_server_to_gui> is the port the GUI server uses to communicate with
the GUI client (21212 by default).
The installer GUI starts and connects to the installer.
4.3.4 Running the Installer in Accessibility Mode
You can also run the installer in accessibility mode. The following features are available:
■ Keyboard access:
This feature is available for all operating systems.
■ High-contrast color:
4 Installation
4.3 Additional Information About the Installer
22/32 CUSTOMER 2013-08-20
This feature is derived from the Windows display properties. Therefore, to enable this feature, you
must perform a remote installation with the installer GUI running on a Windows host.
■ Custom font setting:
This feature is derived from the Windows display properties. Therefore, to enable this feature, you
must perform a remote installation with the installer GUI running on a Windows host.
Procedure
Activating and Adjusting Accessibility Settings on Windows
You first have to activate and adjust the relevant settings for the font size and color schemes before
you start the installer or the installer GUI.
NOTE
The following procedure applies for Windows Server 2008 and might be different when using
another Windows operating system.
1. Right click on your Windows desktop and choose Personalize.
2. Choose Adjust font size (DPI) and choose Larger scale (120 DPI).
To define other font size schemes, choose Custom DPI.
3. In the right-hand pane, select Window Color and Appearance.
Select a color scheme from the Color scheme dropdown box.
To define your own color schemes, choose Advanced.
Running the Installer in Accessibility Mode
You perform a remote installation as follows:
1. Start the installer on the remote host by executing the following command from the command
line as described in Performing a Remote Installation [page 19]:
./sapinst –nogui
2. Start the installer GUI on a local Windows host by executing the following command from the
command line as described in Starting the Installer GUI Separately [page 20]:
sapinstgui.exe -accessible –host <remote_host> -port
<port_number_gui_server_to_gui_client>
4.3.5 Troubleshooting with the Installer
This section tells you how to proceed when errors occur during the installation with the installer.
If an error occurs, the installer:
■ Stops the installation
■ Displays a dialog informing you about the error
4 Installation
4.3 Additional Information About the Installer
2013-08-20 CUSTOMER 23/32
Procedure
1. Check SAP Note 1548438 for known installer issues.
2. To view the log file, choose View Logs.
3. If an error occurs during the dialog or processing phase, do one of the following:
■ Try to solve the problem.
■ Abort the installation with Exit.
For more information, see Interrupted Installation [page 17].
■ Continue the installation by choosing Retry.
4. Check the log and trace files of the GUI server and the installer GUI in the directory
<user_home>/.sdtgui/ for errors.
■ If GUI server or the installer GUI do not start, check the file sdtstart.err in the current
<user_home> directory.
■ If the installer GUI aborts during the installation without an error message, restart the installer
GUI as described in Starting the Installer GUI Separately [page 20].
■ If you use an X Server for Microsoft Windows or other remote desktop tools for the Remote
Access of the installer GUI on Windows Workstations and you experience display problems
such as missing repaints or refreshes, contact your X Server vendor. The vendor can give you
information about whether this X Server supports Java Swing-based GUIs and also tell you
about further requirements and restrictions. See also SAP Note 1170809.
5. If you cannot resolve the problem, create a customer message using component BC-INS.
For more information about using subcomponents of BC-INS, see SAP Note 1669327.
4.4 Installing SAP SCM Optimizer
Procedure
1. On the entry screen of the installer, choose Generic Installation Options SCM Optimizer Installation .
2. On the Define Parameter screen, enter the installation directory in the Installation Directory field. The
default installation directory proposed by the installer is scmopt.
NOTE
You can change the installation directory.
The selected installation directory will later on be referred to as <INST_DIR>.
3. In the Installation Archive field, enter an installation archive that is valid for SCM Optimizer 10.0 or
higher.
You can retrieve the respective archive from your SAP SCM Optimizer installation media.
NOTE
You can find the SAR archive in the DATA_UNITS/<OS> directory on the installation media.
For further information on which media to use, see the Master Guide for your product and release.
4 Installation
4.4 Installing SAP SCM Optimizer
24/32 CUSTOMER 2013-08-20
5 Post-Installation
5.1 Post-Installation Checklist
You need to perform the following post-installation steps for SAP SCM Optimizer after the installer
has finished:
1. You perform a setup check of the RFC gateway [page 25].
2. You customize the SAP Optimizer destination entries [page 27].
3. You test the SCM Optimizer installation [page 27].
4. You check for patches and support packages [page 28].
5.2 Performing a Setup Check of the RFC Gateway
We recommend that you perform a setup check of the RFC gateway.
Procedure
1. If you use a standalone gateway instance, start the gateway instance.
2. Log on to the ABAP application server.
3. Call transaction SM59.The Display and maintain RFC destinations screen appears.
4. Open the node TCP/IP connection.
5. For the first optimizer server, you have to adapt the RFC entries that are existing in your system.
The RFC entries existing in your system might look as follows:
NOTE
You only have to adapt the entries that actually exist in your system, for example
OPTSERVER_CS01.
You do not have to add entries that are missing in your system as your system only requires
the entries that actually exist in your system.
For example, SAP TM systems might only have entries starting with “T” such as TVRG01.
EXAMPLE
■ OPTSERVER_CS01
■ OPTSERVER_CTM01
■ OPTSERVER_DPS01
■ OPTSERVER_MIP01
■ OPTSERVER_MMP01
■ OPTSERVER_SEQ01
5 Post-Installation
5.1 Post-Installation Checklist
2013-08-20 CUSTOMER 25/32
■ OPTSERVER_SNP01
■ OPTSERVER_VSR01
■ OPTSERVER_TSPS01
■ OPTSERVER_TVRG01
■ OPTSERVER_TVSR01
■ OPTSERVER_TVSS01
NOTE
For any additional optimizer server, you have to create a new RFC entry (for example,
OPTSERVER_CTM02). Make sure that this new RFC entry ends with a two digit number that is
different from 01.
To adapt an RFC entry:
1. Double-click the destination name OPTSERVER_<Optimizer>01. The RFC Destination
OPTSERVER_<Optimizer>01 screen appears.
2. Depending on the server, you must do the following to check the RFC entries:
Standalone SAP SCM Optimizer on Separate HostSAP SCM Optimizer and ABAP Application Server on Same Host
1. Choose Start on Explicit host.2. In the Program field, check your program path (see table Program Paths
of RFC Entries below).3. Check the name of your Target Host.4. Enter the number of the gateway host and the corresponding
gateway service SAPGW<GW_NO>.
NOTE
You can find out the required parameters on your target host as follows:1. On your target host, call transaction SMGW.2. Choose Goto Parameters Display (see entries for
gateway hostname and gateway service).5. Confirm with OK.
1. Choose Start on Application server.
2. In the Program entry field, check your program path (see table Program Paths of RFC Entries below).
CAUTION
If your ABAP application server is a Unicode system, you must do the following in addition
to the above setting for each OPTSERVER_<Optimizer>01 destination:
1. Choose the tab Unicode.
2. You must select the indicator Unicode, and in the group frame Character Conversion, leave
the indicator at the default setting.
NOTE
In SCM Optimizer 10.0, the default path has changed from APOOPT to SCMOPT. Furthermore,
all subdirectories have been deleted so that any optimizer executables are extracted directly
to the chosen installation directory.
RFC Program Path
OPTSERVER_CTM01 <INST_DIR>/ctmsvr
5 Post-Installation
5.2 Performing a Setup Check of the RFC Gateway
26/32 CUSTOMER 2013-08-20
RFC Program Path
OPTSERVER_DPS01 <INST_DIR>/dsoptsvr
OPTSERVER_SNP01 <INST_DIR>/snpopsvr
OPTSERVER_SEQ01 <INST_DIR>/seqopsvr
OPTSERVER_VSR01 <INST_DIR>/vsropsvr
OPTSERVER_MMP01 <INST_DIR>/mmpopsvr
OPTSERVER_CS01 <INST_DIR>/csopsvr
OPTSERVER_TSPS01 <INST_DIR>/csopsvr
OPTSERVER_TVRG01 <INST_DIR>/vsropsvr
OPTSERVER_TVSR01 <INST_DIR>/vsropsvr
OPTSERVER_TVSS01 <INST_DIR>/vsropsvr
OPTSERVER_MIP01 <INST_DIR>/mipopsvr
OPTSERVER_TVSO01 <INST_DIR>/vsoopsvr
OPTSERVER_TSFM01 <INST_DIR>/csopsvr
3. Save your entry and choose Exit.
4. Repeat the steps 1. to 3. for the remaining RFC entries.
5.3 Customizing the Optimizer Destination Entries
Procedure
1. Log on to the ABAP application server.
2. Call transaction SPRO.
3. Choose SAP Reference IMG.
4. Expand the Cross-Application Components tree and choose Processes and Tools for Enterprise Applications
Remote Control and Communication Framework .
5. Choose the Execute button of the step Edit Destinations and maintain it according to the customizing
documentation.
6. Perform the Connection Test in this transaction after the customization.
5.4 Testing the Optimizer Installation
Procedure
1. Log on to the ABAP application server.
2. Call transaction RCC_CUST and click the connection test button. All tests must be successful (green
light).
5 Post-Installation
5.3 Customizing the Optimizer Destination Entries
2013-08-20 CUSTOMER 27/32
5.5 Applying the Latest Patches and Support Packages
Procedure
Proceed as described in SAP Note1686826.
5 Post-Installation
5.5 Applying the Latest Patches and Support Packages
28/32 CUSTOMER 2013-08-20
6 Additional Information
This section contains additional information on the SAP SCM Optimizer installation:
■ Uninstalling the SAP SCM Optimizer [page 29]
6.1 Uninstalling SAP SCM Optimizer
Proceed as follows to uninstall SAP SCM Optimizer
Procedure
1. If your SAP SCM Optimizer runs on a dedicated host, stop the SAP Standalone Gateway.
2. Delete the directory /INST_DIR completely with all its content.
3. If required, uninstall also the SAP Standalone Gateway.
6 Additional Information
6.1 Uninstalling SAP SCM Optimizer
2013-08-20 CUSTOMER 29/32
Typographic Conventions
Example Description
<Example> Angle brackets indicate that you replace these words or characters with appropriate entries to make entries in the system, for example, “Enter your <User Name>”.
ExampleExample
Arrows separating the parts of a navigation path, for example, menu options
Example Emphasized words or expressions
Example Words or characters that you enter in the system exactly as they appear in the documentation
http://www.sap.com Textual cross-references to an internet address
/example Quicklinks added to the internet address of a homepage to enable quick access to specific content on the Web
123456 Hyperlink to an SAP Note, for example, SAP Note 123456
Example ■ Words or characters quoted from the screen. These include field labels, screen titles, pushbutton labels, menu names, and menu options.
■ Cross-references to other documentation or published works
Example ■ Output on the screen following a user action, for example, messages ■ Source code or syntax quoted directly from a program ■ File and directory names and their paths, names of variables and parameters, and
names of installation, upgrade, and database tools
EXAMPLE Technical names of system objects. These include report names, program names, transaction codes, database table names, and key concepts of a programming language when they are surrounded by body text, for example, SELECT and INCLUDE
EXAMPLE Keys on the keyboard
30/32 CUSTOMER 2013-08-20
SAP AGDietmar-Hopp-Allee 16
69190 WalldorfGermany
T +49/18 05/34 34 34F +49/18 05/34 34 20
www.sap.com
© Copyright 2013 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. National product specifications may vary.These materials are provided by SAP AG and its affiliated companies (“SAP Group”) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.
DisclaimerPlease see http://www.sap.com/corporate-en/legal/copyright/index.epx for disclaimer information and notices.
Documentation in the SAP Service MarketplaceYou can find this document at the following address: http://service.sap.com/instguides
2013-08-20 CUSTOMER 31/32
SAP AGDietmar-Hopp-Allee 1669190 WalldorfGermanyT +49/18 05/34 34 34F +49/18 05/34 34 20www.sap.com
© Copyright 2013 SAP AG. All rights reserved.No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.