Professional Documents
Culture Documents
Applies to:
SAP ERP 2005 SR2 IDES on MaxDB for Linux CentOS.
Summary
IDES demo landscapes are preconfigured installations of mySAP Business Suite components, populated
with the data and business processes of a fictional enterprise. This SAP solution is appropriated for the
purposes of a university that wants to transfer SAP knowledge and skills to its students.
Authors Bio
Luca Sozio
Company: JDTech Consulting s.r.l
SAP Consultant
Contract professor of University "G. D'Annunzio" Faculty of Economics
Matteo Giordano
Company: University "G. D'Annunzio" Faculty of Economics
UNIX system administrator
2007 SAP AG 1
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
Table of Contents
Setup SAP ERP 2005 SR2 IDES on CentOS with MAXDB ............................................................ 1
Applies to: ........................................................................................................................................ 1
Summary.......................................................................................................................................... 1
Authors Bio ...................................................................................................................................... 1
Table of Contents ............................................................................................................................ 2
1. Introduction .................................................................................................................................. 3
Components choice ..................................................................................................................... 3
2. Prerequisites................................................................................................................................ 4
- Hardware ................................................................................................................................... 4
3. CentOS installation ...................................................................................................................... 4
- Download ISO............................................................................................................................ 4
- Raid............................................................................................................................................ 4
- CentOS installation: main steps................................................................................................. 5
4. Post Installation Activities ............................................................................................................ 7
- Vino Setup ................................................................................................................................. 7
- SAP locales................................................................................................................................ 7
- Java Runtime Environment........................................................................................................ 8
- OS-Release. .............................................................................................................................. 9
- Set Kernel Parameters............................................................................................................... 9
- Shared Libraries....................................................................................................................... 10
5. Preparing SAP ERP 2005 IDES Installation.............................................................................. 10
- Copy Installation CDs/DVDs to Hard disk................................................................................ 10
- Reduce Disk usage with NFS. ................................................................................................. 11
6. Run SAP ERP 2005 IDES Installation....................................................................................... 11
- Installation steps. ..................................................................................................................... 11
- Note.......................................................................................................................................... 13
7. Post Installation activities........................................................................................................... 14
- Install SAP GUI for JAVA......................................................................................................... 14
8. Starting and Stopping SAP ERP 2005 IDES ............................................................................. 18
Copyright........................................................................................................................................ 19
2007 SAP AG 2
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
1. Introduction
Faculty of Economics of University G.D'Annunzio this year has joined SAP University Alliance 1 , with the
purpose of giving students skills and knowledge about of the World's Largest Business Software Company.
The SAP University Alliances program is a global endeavour that provides university faculty members with
the tools and resources necessary to teach students how technology can enable integrated business
processes and strategic thinking and gives students the skills to add immediate value to the marketplace.
SAP University Alliances member schools gain access to the SAP Business Suite family of solutions,
including SAP ERP. This comprehensive business software suite supports business, engineering, and
information technology programs, enabling students to put classroom theory into practice through
demonstrations, exercises and problem-solving, case studies, and research programs.
The courses activated this year are "Laboratorio di Sistemi ERP" and "Sistemi Integrati di Controllo". 2
Components choice
Operating system: We have chosen CentOS operating system because it is build as a "clone" of the most
famous Red Hat Enterprise Linux. The latter one, is one of the official Linux distributions supported by SAP
AG. 3
CentOS is designed for people who need an enterprise class Operating System without the cost or support
of Red Hat Enterprise Linux vendor. 4
DBMS: MaxDB is a heavy-duty, SAP-certified open source database for OLTP and OLAP usage which
offers high reliability, availability, scalability and a very comprehensive feature set. It is targeted for large
mySAP Business Suite environments and other applications that require maximum enterprise-level database
functionality and complements the MySQL database server. 5
ERP System: SAP IDES This SAP Product is used for demos, online/classroom training. In fact the
"Internet Demonstration and Evaluation System" in the R/3 System, represents a model company, that
consists of an international group with subsidiaries in several countries. IDES contains application data for
various business scenarios that can be run in the SAP System. The business processes in the IDES system
1
[http://www.sap.com/italy/services/education/universita/index.epx]
2
[http://cleis.unich.it/materia.php?id_mat=52&x=28&y=7 - http://cleis.unich.it/materia.php?id_mat=53&x=30&y=12]
3
[https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/792dd957-0d01-0010-319b-e1211e5c66b0.
4
[http://www.centos.org/]
5
[http://www.mysql.com/why-mysql/case-studies/enercon.php]
2007 SAP AG 3
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
are designed to reflect real-life business requirements, and have access to many realistic characteristics.
IDES uses easy-to-follow business scenarios to show you the comprehensive functions of the R/3 System. 6
2. Prerequisites
If you want to install a central system (ECC), that is, all instances reside on one host, the host must meet the
following requirements:
Host with at least 1 GB RAM and 180 GB Hard Disk space
The CentOS Operating system installed
The SAP ERP 2005 SR2 IDES installation media
SAP Solution Manager Key for SAP software
For the last point, you have to install SAP Solution Manager, before start with IDES installation. Without the
key generated by SAP Solution Manager, you can't proceed with the installation/upgrade of your SAP IDES
system.
- Hardware
Our host where we have performed SAP ERP 2005 SR2 IDES installation is:
IBM eServer xSeries x346, Dual-Core Intel Xeon Processor 3.40GHz , RAM 4GB, 2 Hard Disk 300 GB
(RAID-1). This server is an officially SAP supported platform.
However, SAP currently supports hardware from Bull, Dell, Fujitsu-Siemens, HP, IBM, SGI, Sun
Microsystems and Unisys, which includes both 32Bit and 64Bit architecture.
Before start, is recommended to check if your server is a SAP supported platform. 7
3. CentOS installation
- Download ISO.
To install the system you will need to download the CentOS 4.4 DVD ISO image from a mirror near you.
Or use bit torrent to download the .torrent files provided.
- Raid.
Note: we have chosen to use Linux's software RAID because the SCSI hardware controller on-board is an
Adaptec "SCSI Card 29320ALP", also known by IBM as "ServeRAID-7e", which offers a "fake" RAID
controller through a closed source, minimally tested driver from Adaptec. 8
Moreover Software RAID implements the various RAID levels in the kernel disk (block device) code. It offers
the cheapest possible solution, as expensive disk controller cards or hot-swap chassis are not required. With
today's faster CPUs, Software RAID outperforms Hardware RAID.
6
[http://help.sap.com/saphelp_46c/helpdata/en/4d/848a08fc4c11d1a5760060087d1a6b/content.htm]
7
[https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/792dd957-0d01-0010-319b-e1211e5c66b0]
8
[http://www.adaptec.com/en-US/downloads/rh/rhel_4?productId=ASC-29320ALP-R&dn=Adaptec+SCSI+Card+29320ALP-R]
2007 SAP AG 4
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
Figure 1
The first step is test the installation media, but it can take a long time to so we can skip this test.
After the welcome screen of the CentOS installer, we have to choose the language and keyboard layout.
Next, we choose the installation type a Desktop installation is perfect for our purposes.
The partitioning tool used by the installation program is Disk Druid.
In our case, on University, we're installing CentOS 4.4 on a fresh system, so we answer Yes to the question
"Would you like to initialise this drive, erasing ALL DATA?"
On the partitioning, it's strongly recommended to use RAID. Redundant Array of Independent Drives (or
Disks) is an umbrella term for data storage schemes that divide and/or replicate data among multiple hard
drives. They offer, depending on the scheme, increased data reliability and/or I/O performance.
On the partitioning, we could choose to do a small boot partition and a large / (root) partition, but we strongly
recommend using RAID.
For more information on how create partitions on your CentOS system visit:
http://www.redhat.com/docs/manuals/enterprise
When you've finished, the installer presents you an overview of the new partitions created. If you are
satisfied Click on Next to continue
2007 SAP AG 5
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
Figure 2
Now the boot loader GRUB will be installed. You can leave the default settings unchanged and click on Next.
To improve security of the system, you can choose to Use a boot loader password.
In the "Firewall" dialog choose "No firewall". If you want to configure a firewall on the system, you need to
configure it manually after installing the system. In that case ensure that the SAP application server ports are
accessible from other machines. The ports used by the SAP application server can be found in /etc/services
after it is installed.
Click on to the network settings. The default setting here is to configure the network interfaces with DHCP,
but we are installing a server, so static IP addresses are not a bad idea. Click on the Edit button at the top
right. In the window that pops up uncheck Configure using DHCP and give your network card a static IP
address. After that set the hostname manually, enter a gateway and up to three DNS servers.
Pay attention, this setting is very important after for the SAP installer. The "hostname" should be just a
hostname and not the full qualified hostname.
"hostname" and "hostname -s" commands must return the hostname without domain. "hostname -f"
must return the fully qualified hostname and domain.
To do that, check that hostname is set to the short name without domain in /etc/sysconfig/network and set up
/etc/hosts that it is configured like this:
It is important that the fully qualified domain name is in the second column, followed by any alias names and
that the hostname of the machine is not associated with the IP address 127.0.0.1.
Afterwards run hostname <shorthostname> to set the hostname without rebooting.
We have disabled SELinux security system, to avoid possible problems with SAP installer. After, Select the
default language, time zone, and set root password.
2007 SAP AG 6
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
Now you have to select the package groups we want to install. Select Editors, Text Based Internet, Server
Configuration Tools, Development Tools, Administration Tools and System Tools. Uncheck Web Server, Mail
Server, DNS Name Server, FTP Server, MySQL Database (see Figure 3). They are not useful for our
purposes.
Figure 3
Press next to start the installation. This will take a few minutes. Finally, when it is completed, you can remove
installation CD from the server and reboot it.
- Vino Setup
To access the X-Windows system from remote you can setup VINO. Vino is a tool for remote administration
readily built into the GNOME Desktop Environment.
You can configure VINO from Applications -> Preferences -> Remote Desktop
Check "Allow other users to view your desktop" to automatically start VINO at GNOME startup, "Allow other
users to control desktop" and "Require the user to enter this password:" setting a secure password (See
Figure 4).
Make sure you have the VNC port (TCP 5900) open in your firewall configuration.
- SAP locales.
Donwload from service.sap.com saplocales for your server architecture. Install it on a terminal prompt,
typing:
rpm -Uvh saplocales-2.3.4-3.x86_64.rpm
2007 SAP AG 7
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
Figure 4
[https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=lxdk&S_PKG=amd64142sr7&S_TACT=105AGX05&
amp;S_CMP=JDK&lang=en_US]
2007 SAP AG 8
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
J9VM - 20060802_1551_LHdSMr
JIT - r7_level20060707_1808ifx1)
- OS-Release.
As described from SAP note 171356, CentOS GNU/Linux is not an official supported platform. For this
reason, if you want to avoid the warning of the prerequisite-checker tool you can modify /etc/redhat-release
file (See Figure 5). Substitute the entry that you find with "Red Hat Enterprise Linux AS release 4 (Nahant
Update 4)
Figure 5
10
SAP Note No. 171356
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com
2007 SAP AG 9
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
vm.max_map_count=300000
Edit this file with you favorite editor, and then activate the changes, running sysctl -p
- Shared Libraries.
To avoid any problems with shared libraries, before start type the command ldd ./sapinst, to check what are
the libraries that are needed from sap installer (See Figure 6).
Figure 6
To make installation easy you should copy all needed disks to your Hard disk. You will need:
SAP ERP 2005 SR1 Installation Master DVD
SAP Netweaver 2004S SR1 Kernel 7.00
SAP ERP 2005 SR1 IDES DB-Export Part 1, 2, 3, 4, 5
MaxDB RDBMS Linux
For SAP GUI installation (front-end to access to your IDES system), you'll need also SAP Netweaver
Presentation dvd, where there are sap gui for all operating systems.
Weve created the directory /home/sap with a sub-directory for every Disk:
mkdir /home/sap
cd /home/sap/
mkdir kernel
mkdir dbex1
2007 SAP AG 10
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
mkdir dbex2
mkdir dbex3
mkdir dbex4
mkdir dbex5
mkdir Rdbms
Note! When you perform dvd copy on your hard disk in a *nix environment, you have to specify -o map=off
option when you mount the dvd.
MySAP ERP IDES is an application that many resources, above all in terms of disk space.
If you have not enough space on your hard drive, one tip can be to copy installation media to another host,
and use NFS (network file system).
NFS allows a system to share directories and files with others over a network.
By using NFS, we can access SAP installation files on remote systems almost as if they were local files.
Install NFS on the remote host. Configure the directories to be exported by adding them to the /etc/exports
file i.e. /sap *(rw,sync,no_root_squash).
Use the mount command on target server to mount a shared NFS directory from another machine, by typing
a command line similar to the following at a terminal prompt:
- Installation steps.
We have chosen to not copy SAP installation master dvd on hard drive. So we started installation from this
dvd.
Go to /media/dvd/inst-master/IM_LINUX_X86_64 and type ./sapinst at a terminal prompt
After starting sapinst the GUI will appear. Do the following steps:
Select the service that you want to install: SAP system -> Database -> Central System -> Central System
Installation.
Enter the location of the Java Runtime Environment installed on your system.
Choose ERP 2005 Software units, ECC, and AS ABAP, if you want to perform a basic installation.
Enter the location of the required software packages (installation media that we've copied on hard drive).
- Installation Export 1,
- Installation Export 5,
- Installation Export 2,
- Installation Export 3,
- Installation Export 4,
- RDBMS and Kernel.
2007 SAP AG 11
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
Enter the SAP System ID, SAP System Mount Directory (you can leave default value /sapmnt), and check
Unicode System (recommended by SAP).
Type the Master Password for your system.
Enter the Database Identification Parameters: DBSID and the host where is located your DB. (by default is
the same host where you're performing SAP installation).
Enter Database Parameters like: Volume medium type, mirror log volumes, CPU used, I/O buffer cache,
Number of sessions.
Enter the Central Instance parameters: Central Instance Number, Central Messaging Service Port and
Internal central Messaging Service Port (you can leave blank these last two parameters).
At the end you are prompted to enter the "SAP Solution Manager Key".
This key is needed to proceed with the installation/upgrade. Without this key, the installation process
cannot continue. 11
So, to continue with installation process, before you need to install SAP Solution Manager. Alternatively you
can generate it using SMSY transaction in another SAP system running.
At the end we receive a Parameter Summary, where we can decide to revise some values before start
installation.
11
See SAP note 805390.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com
2007 SAP AG 12
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
Figure 7
- Note.
Another workaround (that we've used) is to use only one single R3load process, because in this case the
situation can be avoided. (See Figure 8)
So before start installation in the Parameter summary screen, that you can see in the screenshot below,
decrease the value of Parallel jobs from "3" to "1".
12
See also note 848436
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com
2007 SAP AG 13
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
Figure 8
When the installation is completed. You can log on on your new SAP IDES System via SAP GUI.
In our case, we've installed a sap gui for java on GNU/Linux Ubuntu Edgy machine.
First of all, download the SAP GUI for Java installer. 13 The latest version at the time of writing is 700r4
Type on a terminal prompt:
wget ftp://ftp.sap.com/pub/sapgui/java/700r4/PlatinGUI-Linux-700r4.jar
Before installing sapgui for java, we have to install java runtime environment (jre).It is now very simple,
because Ubuntu has Sun Java 5 runtime environment packaged in the multiverse. 14
13
For the supported platforms of JAVA GUI refer to note 954572.
14
This topic is covered in more detail at: https://help.ubuntu.com/community/Java
2007 SAP AG 14
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
Start sap gui by running guistart with the necessary parameters. For example /H/ is used to prefix the
hostname of the application server you wish to connect to and /S/ is used to prefix the socket you wish to
connect to. The following example assumes a hostname of "foo" and a system number of "00".
~/SAPClients/SAPGUI7.00rev1/bin/guistart /H/foo/S/3200
~/SAPClients/SAPGUI6.40rev6/bin/guilogon
A SAP GUI will appear, click on the button "new" and the in the tab advanced Type a description and check
"use expert configuration" .
In the text-box insert a string like this conn=/H/foo/S/3200.
Press the button save, and you will appear a new connection string on your sapgui. (See Figure 9)
.
Figure 9
2007 SAP AG 15
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
- Log on to IDES.
Select the entry, that you have created and press connect. In the clients 000/001 you can logon with DDIC
and SAP* with the password you have defined at the beginning of the installation as 'Master-Password', in
the clients 8xx with the password 19920706 / 06071992 and in all clients with IDADMIN / ides. 15
Create a user within client 000 (for some tasks required to be done within client 000, but with a user different
from users sap* and ddic). Profiles required are sap_new and sap_all. For additional safety the passwords of
default users within all clients should be changed (this includes users sap* and ddic).
MYSAP ERP IDES is installed with 7 clients: '000','066', '100', '800', '810', '811', '812'. You can check with
transaction SCC4. (See also Figure 10)
It is not recommended log on and use client 000. Moreover this client doesn't contain any business data. All
data of the IDES model company can be found in client 800
Figure 10
So if you want to log on with 800 client by default instead of 000 we need to set a parameter in default
profile.
Go to RZ10 select default profile->extended maintenance->change
- License key
The license key of your new installation is valid only for a test period.
You can check the validity of your license by logging onto the SAP System and reading the copyright or by
15
See note 1013391.
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com
2007 SAP AG 16
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
Figure 11
As shown in figure 11, on the web page, select Request License Key, select an installation (ERP 2005 in our
case), select New System to request a license key for a newly
installed system and add the required system and hardware data.
Finally Submit to send the license key request to SAP. You will receive soon an email with attached the
License key for your new SAP system.
When you receive mail from SAP License audit, in your SAP system launch SLICENSE transaction
Probably in your SAP IDES system, you may need to create zreport or modify some repository objects.
If you access to ABAP Editor (t-code SE38) to create a zreport for example, you will receive a pop-up, where
the system advise that your user is not a developer user (See Figure 12). So you have to register to Online
Service System (OSS).
16
See also SAP Note 94998
SAP DEVELOPER NETWORK | sdn.sap.com BUSINESS PROCESS EXPERT COMMUNITY | bpx.sap.com
2007 SAP AG 17
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
Figura 12
For some reason you need to stop and then restart SAP IDES. Before, you have signed on to the SAP
system hosts as user <sapsid>adm.
If you have a central system that is, central instance, central services instance and database instance on
the same host enter the following on the central system host in a prompt terminal:
startsap
This checks if the database is already running. If not, it starts the database before starting the central
services instance and the central instance.
You can start the database and SAP system separately by entering the following commands:
startsap DB <instanceID>
startsap R3 <instanceID of central services instance>
startsap R3 <instanceID of central instance>
To stop SAP IDES, if you have a central system, enter the following on the central system host:
stopsap
This stops the central instance, the central services instance and then the database.
2007 SAP AG 18
Setup SAP ERP 2005 IDES on CentOS Linux with MAXDB
2007 SAP AG 19