[Developer's community]

SAP ERP6 EHP6 IDES Installation and configuration on Linux

I. Linux installation and preparation

First of all, it doesn’t really matter what Linux/Unix platform to choose, as SAP is compatible with many of them. It only depends on the efforts you have to put before actual SAP installation (ie Linux partitioning, additional software deployment, and configuration, host configuration etc.). Taking this into consideration I decided to use SUSE Linux Enterprise Server for SAP Applications. There are some pros and cons of using exactly this platform, because, the updates for SUSE Linux aren’t free… but after all, the major benefit is that it’s ready for SAP installation right after deployment (doesn’t make sense whether you choose Wizard or manual/expert installation option). 

The installation image for SUSE Linux is available for free from their website (you just need to register).

So, let’s presume you have already created/prepared a virtual (or real) machine with 350GiB of free space (where 300GiB will be dedicated to IDES databases) and successfully installed SUSE Linux on it.

If you use a virtual machine (let’s say VMWare), you need to mount an installation media to the Linux system. In this case study I consider installation on VMWare. To enable ‘folder sharing’ option on VMWare you need to install VMWare Tools for Linux. To do that unmounts Linux installation media from the virtual CD drive and choose ‘VM -> Install VMWare Tools’ from VMWare menu bar. The installation media with VMWare Tools will be attached to the Linux system. You have to find and copy a file named ‘VMWareTools***.tar.gz’:

Copy it to any user folder and extract the contents of this archive:

tar -zxvf VMwareTools-<version>.tar.gz

Then, you can install it:

./vmware-install.pl

As soon as installation is done, you can use VMWare folder sharing to mount SAP installation media to the Linux system.

I presume you followed SUSE Linux installation guide or wizard and have enough disk space to proceed with the installation. If you went through installation procedure with the wizard, the SWAP size should be correct as well (it calculated by wizard automatically). So, let’s move on to SAP installation.

 

II.                 SAP Installation

  1. Go to your mounted media with SAP installation files. Extract all the packages (if you didn’t do that earlier).
  2. Find ‘Installation master’ (package #51042263_8)
  3. From this package execute ‘sapinst’ file

./sapinst

  1. You will see familiar dialogue:

  1. I’ve chosen MaxDB option for the experience sake, but you’re free to choose any DB you want or need (of course if you have installation packages for it)
  2. On the next step provide the path to DB installation package
  3. … and specify a system ID.
  4. Untick FQDN option if you don’t have a DNS server up and running
  5. Enter DB SID:

  1. Specify paths to installation exports 1 and 2:

  1. Now, you need to accommodate your DB files:

  1. In Linux, I have mounted a separate partition (sapdb) for this purpose:

  1. If you don’t have a ‘central SLD’ deployed, choose ‘No SLD destination’ radio-button on the next step
  2. After checking ‘summary’ page you’re ready to go:

  1. Now you can relax for at least 6 hours (depends on your server configuration), but… taking slow Java performance into consideration and the fact you’re installing IDES, it may last much longer (up to 24 hours).

 

III.                 SAP Post-installation activities

 

Ok, I guess your SAP system has been installed successfully and you’re ready to move on. The next step is configuration.

 

  1. The very first thing we need to do is to check if Java6 is installed in your system. For this:
  2. a) Go to YAST -> ‘Software management’
  3. b) Check there if Java-1_6_0_ibm is installed:

  1. a) If so, check JAVA_HOME and PATH environment variables:
  • set |grep JAVA_HOME
  • set |grep ^PATH

          b) If you can’t see the values, you have to set the values for these variables:

  • export JAVA_HOME <path_to_your_JRE>
  • export PATH <path_to_your_Java_bin>
  1. Install SAP GIU. Get the installation package (#50120297_7) and run ‘PlatinGUI730Linux_4.jar’ form it:

Java –jar PlatinGUI730Linux_4.jar

  1. After successful installation, you will see a new icon in the ‘Application browser’:

(Computer -> More applications…)

  1. The window seems familiar :)

  1. Unfortunately, there is a known bug, which won’t give you an opportunity to create a new connection right now (refer to the SAP Note #1918326). So, if you press ‘New’ button, you’ll see an error message like this:

  1. As SAP Note suggests - if you use a centrally managed configuration then make sure an entry for the routers and message servers does exist and point to an existing file. The file can be empty but the include statement must exist and point to a file, e.g. like this:

@ROUTER=http://< WEBSERVER>:<PORT>/<FOLDER>/empty_file.txt

@MESSAGESERVER=/<LOCAL>/<PATH>/empty_file.txt

So, first… create an empty file (I have created a file ‘config.ini’ in ‘/opt/SAPClients/SAPGUI7.30rev4/’)

Then, go to ‘File’ -> ‘Preferences’ and fill out ‘Message servers’ and ‘Routers’ with a path to the file as shown below:

  1. Now, when you press ‘New’ – a dialogue ‘Create new connection’ will pop up:

       8. Go to ‘Advanced’ tab, give a name for the connection and tick ‘Expert mode’:

Fill the connection string in the format:

conn=/H/(IP_Address_server_SAP)/S/32(system_number)

conn=/H/192.168.1.255/S/3200 (for instance)

  1. Now you can log-in:

Horray! It works!

  1. Unfortunately, as soon as you log in (depends on circumstances) you may see an error message like this:

  1. You shouldn’t worry about installation itself, as there is nothing wrong with data or something like that. It just means that your SAP kernel is outdated and doesn’t correspond to the newer Linux kernel release. The workaround suggested by SAP is to set SUSE Linux to the kernel compatibility mode (you have to use kernel ver. 2.6 instead of installed 3.0) or… you can upgrade the kernel for SAP (the second option seems more reliable and I move on with it). For the reference sake, please read SAP Notes 1310037 and 1629558.

A lowest compatible kernel update is 105 (for 720 release) and the most recent one is 600 (SAPEXE_600-20006741.SAR). Do not forget to download SAPEXEDB for your DB vendor. I use MaxDB, so I found it under MaxDB (SAPEXEDB_600-20006739.SAR)

  1. Now, we need to copy just new downloaded kernel files into the separate folder on Linux and unpack them with ‘sapcar’ (it could be found in ‘/sapmnt/<SID>/exe’):

SAPCAR –xvf SAPEXE_600-20006741.SAR

(Do the same for SAPEXEDB* file).

  1. Stop SAP system by using the command ‘stopsap’. To do that, login as ‘<SID>adm’ user in the terminal and execute ‘stopsap’:

  1. If you use Oracle, you have to execute ‘saposcol -k’ right after the first command.
  2. Backup files from ‘/usr/sap/<SID>/DVE*/exe’ and ‘/sapmnt/<SID>/exe’
  3. Copy unpacked kernel files to ‘/usr/sap/<SID>/DVE*/exe’ and ‘/sapmnt/<SID>/exe’.
  4. Start SAP system (use ‘startsap’ command)
  5. Now, it works like a charm!

 

Good luck!

Remember, you can always discuss installation process in details on our forum related to SAP BASIS questions...