Show TOC Start of Content Area

Procedure documentation Installing with SAPinst on UNIX  Locate the document in its SAP Library structure

This procedure tells you how to run SAPinst to install TREX on UNIX.

Prerequisites

      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.

This graphic is explained in the accompanying text

SAPinst normally creates the installation directory sapinst_instdir directly below the temporary directory. SAPinst finds the temporary directory by checking the value of the environment variables TEMP, TMP, or TMPDIR. If no value is set for these variables, SAPinst uses /tmp as default directory.

The SAPinst Self-Extractor extracts the SAPinst executables to the temporary directory, TEMP, TMP, TMPDIR or /tmp. These executables are deleted again after SAPinst has stopped running. If required, you can terminate SAPinst and the SAPinst Self-Extractor by pressing Ctrl+C.

This graphic is explained in the accompanying text

If SAPinst cannot find a temporary directory, the installation terminates with the error FCO-00058.

·        Make sure that you have at least 60 MB of free space in the installation directory for each Java installation service. In addition, you need 200MB free space for the SAPinst executables. If you cannot provide 200 MB free space in the temporary directory, you can set one of the environment variables TEMP, TMP, or TMPDIR to another directory with 200 MB free space for the SAPinst executables.

This graphic is explained in the accompanying text

Each SAP instance requires a separate installation directory.

·        Make sure that your SAPINST_JRE_HOME environment variable is set to a valid Java Runtime Environment (JRE).

This graphic is explained in the accompanying text

If you have more than one Java Virtual Machine (JVM) installed on your system (for example, you have two JREs with different versions installed), make sure that the SAPINST_JRE_HOME environment variable <UNIX: for user root> is set to the valid <JAVA_HOME> directory.

·        Make sure that your DISPLAY environment variable is set to <host_name>:0.0, where <host_name> is the host on which the SAPinst GUI will be displayed.

·        Only valid for UNIX AIX: If the operating system is AIX 64-bit, make sure that the PATH variable points to a JDK/JRE for AIX 64-bit.

·        If there are errors with SAPinst, you can find the Self-Extractor log file dev_selfex.out in the temporary directory.

·        If required, delete any directories with the name sapinst_exe.xxxxxx.xxxx after SAPinst has finished. Sometimes these remain in the temporary directory.

This graphic is explained in the accompanying text

We recommend that you keep all installation directories until you are fully satisfied that the system is completely and correctly installed.

Procedure

...

       1.      Log on to the installation host as root.

Caution

Make sure that the root user has not set any environment variables for a different SAP system or database.

       2.         If you want to install a central instance, a database instance, a dialog instance, or a standalone gateway instance, mount the Installation Master DVD.

Note

You can also install a gateway instance from the SAP Presentation DVD. In this case, mount the Presentation DVD and replace “ Installation Master DVD” with “Presentation DVD” in this section.

       3.      Start SAPinst from the Installation Master DVD in one of the following ways:

       Using the default installation directory (recommended)

Enter the following commands:

cd <Installation Master_DVD>/IM_<OS>

./sapinst

Note

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 your current working directory is not an IM_<OS> directory belonging to another operating system.

For example, the following constellation causes an error:

$ cd /sapcd2/IM_HPUX_IA64

$ /sapcd2/IM_HPUX_PARISC/sapinst

The correct constellation is as follows:

$ cd /sapcd2/IM_HPUX_PARISC

$ /sapcd2/IM_HPUX_PARISC/sapinst

       Using an alternative installation directory.

If you want to use an alternative installation directory, set the environment variable TEMP, TMP, or TMPDIR.

Note

During the installation, the default ports 21200 and 21212 are used for communication between SAPinst, GUI server, and SAPinst GUI. SAPinst uses port 21200 to communicate with the GUI server.

The GUI server uses port 21212 to communicate with SAPinst GUI. You get an error message if one of these ports is already in use by another service.

In this case, you must execute sapinst using the following parameters:

SAPINST_DIALOG_PORT=<free_port_number_sapinst_gui_to_gui_server> GUISERVER_DIALOG_PORT=<free_port_number_gui_server_to_sapinst_gui>.

For a list of all available SAPinst properties, enter the following command:

sapinst -p.

SAPinst GUI normally starts automatically by displaying the Welcome screen. However, if there is only one component to install, SAPinst directly displays the first input dialog without presenting the Welcome screen.

       4.      In the screen Welcome to SAP Installation Master, choose Search and Classification (TREX).

The necessary input parameters are listed in the following sections:

       Installing a TREX Global File System with a First TREX Instance

       Installing a TREX Instance Only

       Installing a TREX Global File System

       5.      If SAPinst prompts you to log off from your system, log off and log on again.

       6.      Follow the instructions in the SAPinst input dialogs and enter the required parameters.

Note 

To find more information about each parameter during the input phase of the installation, position the cursor on the field of the respective parameter and choose F1.

       7.      After you have maintained all input parameters, SAPinst starts the installation and displays the installation progress during the processing phase. If the installation was successful, the screen Finished installation is displayed.

       8.      If required, delete directories with the name sapinst_exe.xxxxxx.xxxx after SAPinst has finished. Sometimes these remain in the temporary directory.

Note

If there are errors with SAPinst Self-Extractor, you can find the self-extractor log file dev_selfex.out in the temporary directory.

Recommendation

We recommend that you keep all installation directories until you are sure that the system is completely and correctly installed.

Recommendation

We recommend that you to delete all files in the directory <user_home>/.sdtgui/.

       9.      If you have copied installation DVDs to your hard disk, you can delete these files when the installation has successfully completed.

If errors occur during the installation, see Troubleshooting During the Installation.

 

End of Content Area