Installation Guide SAP NW PI7.1
Installation Guide SAP NW PI7.1
Installation Guide SAP NW PI7.1
Target Audience
n Technology consultants
n System administrators
PUBLIC
Document version: 1.0 ‒ 12/18/2008
About this Installation Guide
SAP System Installation regularly release the newest database (DB) and
SAP system installations should only be operating-system (OS) versions of SAP products.
performed by SAP Technical Consultants These releases are downward-compatible with
certified for your operating system, your earlier SAP system releases.
database, and the SAP system that you are Note that for already shipped SAP components,
installing we only support the installation for database
versions proposed by the installation
SAP Installation Tool tool. Therefore, you must install an SAP
You must only use the SAP installation tools component or perform a system copy using
according to the instructions and for the a downward-compatible database. That
purposes described in the SAP installation is, you either install the component with
document. Improper use of the SAP installation the old proposed database version or you
tools can damage files and systems already upgrade the old database version to the
installed. downward-compatible new version.
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
Chapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . 7
1.1 How to Use This Guide . . . . . . . . . . . . . . . . . . . . 7
1.2 New Features . . . . . . . . . . . . . . . . . . . . . . . . 8
1.3 SAP Notes for the Installation . . . . . . . . . . . . . . . . . . 11
1.4 Accessing the SAP Library . . . . . . . . . . . . . . . . . . . 12
Chapter 2 Planning . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.1 Planning Checklist . . . . . . . . . . . . . . . . . . . . . . 13
2.2 Installation Options Covered by this Guide . . . . . . . . . . . . . 14
2.2.1 Standard System . . . . . . . . . . . . . . . . . . . . . . . 14
2.2.2 Distributed System . . . . . . . . . . . . . . . . . . . . . . 15
2.2.3 High-Availability System . . . . . . . . . . . . . . . . . . . . 16
2.2.4 Additional Application Server Instance . . . . . . . . . . . . . . 17
2.2.5 Standalone Host Agent . . . . . . . . . . . . . . . . . . . . 20
2.3 Hardware and Software Requirements . . . . . . . . . . . . . . . 21
2.3.1 Running the Prerequisite Checker in Standalone Mode (Optional) . . . . 23
2.3.2 Requirements for AIX . . . . . . . . . . . . . . . . . . . . 24
2.3.3 Requirements for a Standard System . . . . . . . . . . . . . . . 27
2.3.4 Requirements for a Distributed System . . . . . . . . . . . . . . 30
2.3.4.1 Requirements for a Central Services Instance . . . . . . . . . . . . 30
2.3.4.2 Requirements for the Database Instance . . . . . . . . . . . . . . 31
2.3.4.3 Requirements for the Primary Application Server Instance . . . . . . . 33
2.3.5 Requirements for a High Availability System . . . . . . . . . . . . 34
2.3.5.1 Requirements for a Central Services Instance . . . . . . . . . . . . 35
2.3.5.2 Requirements for an Enqueue Replication Server Instance . . . . . . . 36
2.3.5.3 Requirements for the Database Instance . . . . . . . . . . . . . . 37
2.3.5.4 Requirements for the Primary Application Server Instance . . . . . . . 39
2.3.6 Requirements for an Additional Application Server Instance . . . . . . 40
2.3.7 Requirements for a Standalone Host Agent . . . . . . . . . . . . . 41
2.4 Planning User and Access Management . . . . . . . . . . . . . . 42
2.5 Basic SAP System Parameters . . . . . . . . . . . . . . . . . . 42
2.6 SAP System Transport Host . . . . . . . . . . . . . . . . . . . 54
2.7 Planning the Switchover Cluster . . . . . . . . . . . . . . . . . 55
Chapter 3 Preparation . . . . . . . . . . . . . . . . . . . . . . . . 59
Chapter 4 Installation . . . . . . . . . . . . . . . . . . . . . . . . 81
4.1 Installation Checklist . . . . . . . . . . . . . . . . . . . . . 81
4.2 Exporting and Mounting Global Directories: Distributed and High-Availability
Systems . . . . . . . . . . . . . . . . . . . . . . . . . . 85
4.3 Exporting and Mounting the Global Transport Directory . . . . . . . . 86
4.4 Running SAPinst . . . . . . . . . . . . . . . . . . . . . . 87
4.5 SAPinst Installation Options . . . . . . . . . . . . . . . . . . 92
4.6 Oracle Database Software Installation . . . . . . . . . . . . . . . 96
4.6.1 Updating SAP-Specific Files in the Oracle Staging Area . . . . . . . . . 96
4.6.2 Performing Steps for the AIX Operating System . . . . . . . . . . . 97
4.6.3 Running the Oracle Universal Installer . . . . . . . . . . . . . . 97
4.6.4 Installing the Current Patch Set . . . . . . . . . . . . . . . . . 99
4.6.5 Installing Required Interim Patches . . . . . . . . . . . . . . . . 100
1 Introduction
This document explains how to install SAP NetWeaver Process Integration 7.1 including
Enhancement Package 1. For more information about the technology provided by SAP NetWeaver,
see http://sdn.sap.com/irj/sdn/netweaver.
An SAP NetWeaver Process Integration 7.1 system including Enhancement Package 1 is an ABAP+Java
(dual-stack) system and comprises the following usage types, which are installed in a single
installation run of SAPinst:
n Application Server ABAP (AS ABAP)
n Application Server Java (AS Java)
n Process Integration (PI)
For more information about the usage types of SAP NetWeaver Process Integration and their
interdependencies, see the document Master Guide ‒ SAP NetWeaver Process Integration 7.1 at:
http://service.sap.com/instguidesNWPI71 Installation .
For more information about the Support Package levels of SAP NetWeaver Process Integration 7.1
including Enhancement Package 1, see SAP Note 789220.
Constraints
You need to consider the following constraints before you start your installation:
n Your operating system platform must be 64-bit.
n The database must be Oracle 10.2.0.2 or higher.
Naming Conventions
n SAP system refers to SAP NetWeaver Process Integration 7.1 system including Enhancement Package 1.
n Diagnostics Agent refers to SAP Solution Manager Diagnostics Agent.
At the beginning of each installation phase ‒ planning, preparation, installation, and post-installation
‒ you can find a list of the steps that you have to perform in that phase, as well as additional
information.
The following installation options are described in this document:
n Standard system (formerly known as central system)
n Distributed system
n High-availability system
End of: HA (UNIX)
n One or more additional application server instance(s) for an existing standard, distributed, or
high-availability system
n Standalone host agent
Caution
Make sure that you read the release notes for your SAP system. You can find these at
http://service.sap.com/releasenotes.
Area Description
SAPinst SAPinst has the following new features:
n The installation option for Adaptive Computing Controller has changed from
Adaptive Computing Controller with <DB> to Application Server Java with <DB> .
n The technical terms used for the instances of an SAP system have changed as follows:
l “Central instance” (CI) is now called “primary application server instance”.
l “Dialog instance” (DI) is now called “additional application server instance”.
Note
The technical terms “Database instance”, “Java central services instance” (SCS), and
“ABAP central services instance” (ASCS) remain unchanged.
n “Central system” ‒ meaning an SAP system running on one single host ‒ is now
called “standard system”.
Only valid for: HA (UNIX)
n You can now install the enqueue replication server (ERS) with SAPinst. There is a
new installation option called Enqueue Replication Server Instance, which is available for
the installation options Distributed System and High-Availability System.
End of: HA (UNIX)
n Host agent
The host agent contains all of the required elements for centrally monitoring
any host with the Alert Monitor or the SAP NetWeaver Administrator. It is
automatically installed during the installation of all SAP NetWeaver components,
except TREX.
The host agent is automatically installed with your SAP system.
Area Description
You can also install a standalone host agent with SAPinst. There is a new installation
option Host Agent available under Software Life-Cycle Options Additional Preparations .
You only need to install a standalone host agent in the following cases:
l You want to centrally monitor a host that does not have an SAP component.
l You want to perform an upgrade to SAP NetWeaver.
n The locations of all installation DVDs can be entered on one screen.
Software The Software Deployment Manager (SDM) is no longer part of the primary application
Deployment server instance of a Java-only system. Therefore, there is no longer any technical
Manager (SDM) difference between the primary application server instance and the additional
no longer available application server instance of a Java-only system.
in the Application The SAP system directory of both instances is now called J<instance_number>.
Server Java JC<instance_number> no longer exists.
For more information, see SAP Directories [page 63].
Usage type EP Core The usage type Enterprise Portal (EP) is divided into the usage types EP Core (EPC)
(EPC) and Enterprise Portal (EP):
n EP Core (EPC)
This usage type contains the core portal capabilities that were available in the former
usage type EP. This new usage type provides more flexibility when implementing a
portal where the full enterprise portal capabilities, such as knowledge management
and collaboration, are not required. It contains the portal, GP, and UWL.
n Enterprise Portal (EP)
This usage type includes Knowledge management, Collaboration, CAF-Core, Visual
Composer, Web Dynpro extension, and .NET PDK.
Usage type EPC is a prerequisite for usage type EP. If you want to obtain the full
capabilities of the former usage type EP, you need both EP Core and EP.
The configuration of EPC comprises only portal configuration steps.
Note
The standalone implementation of the new usage type EPC without usage type EP is
currently limited to certain ERP scenarios, as described in the SAP ERP Master Guide.
Installation DVDs You start the installation from the Installation Master DVD for your database.
Java Library There is no longer a Java library for Java systems. Everything is now in the kernel.
Therefore, you no longer need APYJ2EELIB and RMVJ2EELIB.
Virtual Machine The VM Container includes a Java Development Kit (JDK) provided and supported by
Container (VM SAP. The VM Container Java VM is fully compliant to the Java Standard Edition 5. It is
Container) installed automatically by SAPinst with the ABAP kernel executables.
SAP Java Virtual You no longer have to download and install a Java Development Kit (JDK) from another
Machine (SAP JVM) software vendor as a prerequisite for the installation with SAPinst.
The SAP JVM is a Java Development Kit (JDK) provided and supported by SAP. The SAP
JVM is fully compliant to the Java Standard Edition 5. It is available on the Installation
Master DVD and is installed automatically by SAPinst when you start the installation.
Area Description
Visual The Visual Administrator tool is no longer available as a separate tool. It has been
Administrator integrated in SAP NetWeaver Administrator.
tool integrated SAP NetWeaver Administrator offers you most of the functions previously available in
in SAP NetWeaver Visual Administrator, but redesigned for the task-oriented approach of SAP NetWeaver
Administrator Administrator.
For more information about SAP NetWeaver Administrator and SAP NetWeaver
administration tools in general, see the SAP NetWeaver Master Guide and the following:
http://www.sdn.sap.com/irj/sdn/operations Knowledge Center Administration
SAP Solution An SAP Solution Manager Diagnostics Agent (Diagnostics Agent) is a standalone
Manager Java program that runs on each of the systems managed by SAP Solution Manager
Diagnostics Agent Diagnostics. It gathers information and reports to the SAP Solution Manager system.
For more information about the Diagnostics Agent, see
http://service.sap.com/diagnostics .
The installation of the Diagnostics Agent is now part of the Installation Master DVD.
That is, you can choose between the following options:
n If there is no Diagnostics Agent already installed on this physical or virtual host,
it is installed automatically with every primary application server instance and
additional application server instance.
n You can also install it as a standalone engine, for example if you want a non-SAP
system to be managed by SAP Solution Manager Diagnostics.
The installation of the Diagnostics Agent as a standalone engine is not described in
this installation guide, but in the Diagnostics Agent Setup Guide, which is available at
http://service.sap.com/diagnostics.
Operating Systems
Area Description
Support of Operating n The installation of SAP systems is only supported on 64-bit platforms.
Systems n For supported operating system and database releases, see the Product Availability
Matrix at http://service.sap.com/pam.
n For forums, blogs, content, and community related to all of the supported
databases and operating systems, see the Database and Operating Systems area at
http://sdn.sap.com/irj/sdn/dbos.
Oracle Database
n For this SAP release new functions of the Oracle Database 10g release are used.
For more information about the integration of Oracle 10g in the SAP
environment, see SAP Note 720886.
n For the complete list of new features, see further documentation from Oracle,
New functions in which you can find at:
Oracle Database 10g http://www.oracle.com/technology/products/database/oracle10g
Documentation
Area Description
Checklists for all phases of We have introduced new checklists for all phases of the installation process.
the installation: planning, These checklists are designed to improve the usability of the installation
preparation, installation, guides by:
post-installation n Providing a quick step reference of activities to be done for each phase of
the installation:
1. Planning Checklist [page 13]
2. Preparation Checklist [page 59]
3. Installation Checklist [page 81]
4. Post-Installation Checklist [page 101]
n Guiding you step-by-step through the installation phases. Each step is
linked with the appropriate section for more details about the step.
n Improving navigation within the installation guide. You can access the
checklists also directly from the Table of Contents.
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 each SAP Note, which you can find at
http://service.sap.com/notes.
For more information about SAP NetWeaver, access the SAP Library from the SAP Help Portal at
http://help.sap.com.
The references to SAP NetWeaver Library documentation in this documentation always refer to the
following entry point on the SAP Help Portal:
http://help.sap.com/nwpi71 SAP NetWeaver Process Integration 7.1 including Enhancement Package 1
Knowledge Center SAP NetWeaver Process Integration Library (including Enhancement Package 1) English
2 Planning
This section includes the planning steps for your installation. Detailed information about the steps is
available in the relevant chapter.
You must first:
1. Plan your SAP system landscape according to the Master Guide and the Technical Infrastructure Guide
available for your product.
2. Decide on your installation option [page 14].
Now continue with the section for your chosen installation option below.
1. You check the hardware and software requirements [page 21] on every installation host of the system
landscape that you want to install.
2. You plan how to set up user and access management [page 42].
3. You identify basic SAP system parameters [page 42].
4. For the database installation, we recommend that you check the informations available in the SAP
on Oracle Knowledge Center at http://sdn.sap.com/irj/sdn/ora.
5. You decide on the transport host to use [page 54].
6. You decide whether you want to integrate LDAP Directory Services in your SAP system [page 123].
Only valid for: HA (UNIX)
7. To install a high-availability system, you read Planning the Switchover Cluster [page 55].
End of: HA (UNIX)
8. Optionally, you decide whether you want to install multiple components in one database (MCOD) [page 127]
9. You can now continue with Preparation [page 59].
1. You check the hardware and software requirements [page 21] for every installation host on which you want
to install one or more additional application server instances.
2. You identify basic SAP system parameters [page 42].
3. You can now continue with Preparation [page 59].
1. You check the hardware and software requirements [page 21] on the installation host.
You can find the requirements for the Host Agent in section Requirements for a Standalone Host Agent.
2. You identify basic SAP system parameters [page 42].
You can find the parameters in the table Host Agent.
3. You can now continue with Preparation [page 59].
n You can install one or more additional application server instance(s) [page 17] to an existing standard,
distributed or high-availability system.
n You can install a standalone host agent [page 20].
Optionally you can install one or more additional application server instances. For more information,
see Additional Application Server Instance [page 17].
Note
You can also use the SAP transport host or the SAP global host as your primary application
server instance host.
Optionally you can install one or more additional application server instances. For more information,
see Installation of an Additional Application Server Instance [page 17].
You can install one or more additional application server instance(s) for an existing SAP system.
An additional application server instance can run on:
n The host of any instance of the existing SAP system (exceptions see below)
n On a dedicated host
Note
If you want to install additional application server instances running on an operating system other
than the primary application server instance, see Heterogeneous SAP System Installation [page 144]. For
example, you need to do this if your primary application server instance runs on Solaris but the
additional application server instance is to run on Windows.
n On the main host of the SAP system, that is on the host on which the primary application server
instance and the database instance run
n On dedicated hosts
Using the host agent you can centrally monitor any host with the Alert Monitor or the SAP
NetWeaver Administrator or the Adaptive Computing Controller (ACC). In addition, the host agent
is used by the ACC for starting, stopping, and relocating SAP instances and databases.
For more information on the ACC see http://sdn.sap.com/irj/sdn/adaptive.
The host agent is automatically installed during the installation of all SAP NetWeaver instances
and components.
You only need to install a standalone host agent in the following cases:
n You want to manage a host that does not have an SAP instance or component.
n You have upgraded your SAP system to SAP NetWeaver 7.1 or higher and want to the instances of
the upgraded system to be managed by the ACC.
Note
The installed programs are automatically started when the host is booted.
The automatic start is ensured by the startup script sapinit that starts the required executables.
More Information
For more information about the host agent, see the SAP Library [page 12]:
Function-Oriented View Application Server ABAP Administration Tools for AS ABAP Monitoring in the
CCMS Infrastructure of the NetWeaver Management Agents
Caution
If your hosts do not fully meet the requirements, you might experience problems when working
with the SAP system.
Prerequisites
Process Flow
Note
For the most recent updates to the Prerequisite Checker, always check SAP Note 855498.
n You contact your hardware vendor, who can analyze the load and calculate suitable hardware
sizing depending on:
l The set of applications to be deployed
l How intensively the applications are to be used
l The number of users
Before installing your SAP system, you can run the Prerequisite Checker in standalone mode to check the
hardware and software requirements for your operating system (OS) and the SAP instances.
Recommendation
We recommend that you use both the Prerequisite Checker and the requirements tables for reference.
Note
When installing your SAP system, SAPinst automatically starts the Prerequisite Checker and checks the
hardware and software requirements in the background.
Prerequisites
n You have prepared the Installation Master DVD on the required installation host [page 76].
n You make sure that the required prerequisites are met before starting SAPinst [page 87].
Procedure
1. You start SAPinst [page 87].
2. On the Welcome screen, choose <SAP System> Software Life-Cycle Options Additional Preparations
Prerequisites Check .
3. Follow the instructions in the SAPinst dialogs and enter the required parameters.
Note
For more information about each parameter, position the cursor on the parameter field and
choose F1 in SAPinst.
When you have finished, the Parameter Summary screen appears summarizing all parameters you have
entered and want to have checked. If you want to make a change, select the relevant parameters
and choose Revise.
4. To start the prerequisites check, choose Next.
Result
The Prerequisite Checker Results screen displays the results found. If required, you may also check the
results in file prerequisite_checker_results.html, which you find in the installation directory.
Recommendation
We recommend making sure that your system meets all checked prerequisites before starting the
installation. However, you can still start the installation even if your system does not meet all
prerequisites. In this case, make sure that you know what you are doing.
The host machine must meet the requirements listed in the tables below.
Note
The information here is not intended to replace the documentation of the AIX operating system.
Hardware Requirements
CPU The recommended minimum hardware is either two physical single core processors or
one physical dual core processor.
Software Requirements
AIX Maintenance AIX Maintenance Level (ML) and Technology Level (TL)
Level (ML) and n AIX 6.1: the output of the command oslevel -s should be at least 6100-00-01.
Technology Level n AIX 5.3: the output of the command oslevel -s should be at least 5300-05-01
(TL) (TL 5 SP 1).
n AIX 5.2: the output of the command oslevel -r should be at least 5200-06 (ML 6).
Recommendation
We recommend that all UNIX kernel modifications be performed by your UNIX
system administrator.
Proceed as follows:
1. Asynchronous I/O: If the database is installed using file systems, the settings for
asynchronous I/O (aio) should be as follows:
maxservers = minservers = 1.2 * number of data files used for the database.
Note
If maxserver is greater than minserver, the surplus asynchronous I/O processes are
charged against the database system rather than root, and have a lower scheduling
priority. Experience shows that all processes become active very quickly and, once
active, the asynchronous I/O servers are never stopped. Therefore it is simpler and
more efficient to set them to the same value at startup.
If you need information about how to set these values, see Checking and Modifying
the AIX Kernel [page 129].
2. The setting for Maximum number of processes allowed per user may need to be increased on
the database server. If you have increased the number of maxservers, then you
should check this setting to make sure that the Maximum number of processes allowed per
user is at least greater than the maximum number of aioservers. This is not an
issue if the values set as recommended above. Actually, it must be greater than the
sum of the maximum number of aioservers plus all of the other processes of the
ora<dbsid> user.
Note
Setting maxprocs to a higher value than the number of processes that are
actually used does not cause any extra overhead.
b) Set the Maximum number of Processes allowed per user to be greater than maxservers plus
the result from step a.
If you need information about how to set these values, see Checking and Modifying
the AIX Kernel [page 129].
3. Adjust the minperm and maxperm settings according to SAP Note 973227.
Other Requirements
Keyboard You can set the keyboard by typing this command on the directly connected console:
smitty chkbd
You can select your keyboard under Motif by setting a language environment (LANG),
for which a National Language Support (NLS) component is installed. The settings
take effect after reboot.
Network Test the network connection to the database server with this command:
/etc/ping <db_server_name> 100 10
If you want to install a standard system ‒ that is, all instances reside on one host ‒ the host must meet
the following requirements:
The table below also lists the most relevant requirements for the Oracle database.
You get the full list of hardware and software requirements from the relevant Oracle database
installation guide for your operating system, which you can find at
http://www.oracle.com/technology/documentation
Note
You can access the complete Oracle documentation as a member of the Oracle Technology Network
(OTN) at:
http://www.oracle.com/documentation
For more information about joining OTN, see:
http://www.oracle.com/technology
Recommendation
If you have access to Oracle Metalink we strongly recommend that you read document 169706.1. This
document provides information about all operating system prerequisites and is regularly updated.
Caution
If your database resides on Network Attached Storage (NAS) you need to review and implement the
Oracle NAS guidelines. You need to mount network file systems with specific mount options, which
you can find in the Oracle installation guide.
Caution
You can install this SAP system release with at least Oracle 10.2 only.
Hardware Requirements
Note
The values listed in DBSIZE.XML are only guiding values. Each sapdata<n> file
can grow up to 10 GB maximum.
n 4.3 GB of temporary disk space for every required installation DVD that
you have to copy to a local hard disk. For more information, see Preparing the
Installation DVDs [page 76].
n 1.2 GB of temporary disk space for the installation.
Minimum RAM 6 GB
Swap Space You need hard disk drives with sufficient space for swap. The required swap space
can be calculated as follows:
n Optimistic strategy:
For the database instance you need:
l 0.75 * RAM, if RAM is greater than 8.0 GB.
l 1 * RAM, if RAM is less than 8.0 GB.
In addition, you need at least 20 GB for the primary application server
instance and at least another 10 GB for the SCS instance and also for every
additional application server instance.
n Defensive strategy:
3 * RAM, at least 20 GB
For more information, see SAP Note 1121904.
For more information about the memory requirements of the Virtual Machine
(VM) Container, see SAP Note 1049245.
If you need information about how to set up swap space, see Setting up Swap Space
for AIX [page 130].
Software Requirements
Note
If you install multiple SAP system instances on one host, you need to add up the requirements.
The central services instance host must meet the following requirements for the central services
instance:
Hardware Requirements
Software Requirements
Note
You can access the complete Oracle documentation as a member of the Oracle Technology Network
(OTN) at:
http://www.oracle.com/documentation
For more information about joining OTN, see:
http://www.oracle.com/technology
Recommendation
If you have access to Oracle Metalink we strongly recommend that you read document 169706.1. This
document provides information about all operating system prerequisites and is regularly updated.
Caution
If your database resides on Network Attached Storage (NAS) you need to review and implement the
Oracle NAS guidelines. You need to mount network file systems with specific mount options, which
you can find in the Oracle installation guide.
Caution
You can install this SAP system release with at least Oracle 10.2 only.
Hardware Requirements
Note
The values listed in DBSIZE.XML are only guiding values. Each sapdata<n>
file can grow up to 10 GB maximum.
For more information about the required disk space per file system, see Setting
Up File Systems [page 63]
n 4.3 GB of temporary disk space for every required installation DVD you have
to copy to a local hard disk.
For more information, see Preparing the Installation DVDs [page 76]
n 1.2 GB of temporary disk space for the installation.
Minimum RAM 3 GB
The default value used by SAPinst is 50 percent of the entire RAM.
Depending on the amount of data involved, the requirements might change.
You can do one of the following to get a more precise sizing definition that
reflects your particular system load:
n Contact a hardware vendor. The vendor analyzes the load and calculates
suitable hardware sizing.
n Contact the person in charge of installation or your Oracle Competence
Center.
Swap Space You need hard disk drives with sufficient space for swap. The required swap space
can be calculated as follows:
n 0.75 * RAM, if RAM is greater than 8.0 GB
n 1 * RAM, if RAM is less than 8.0 GB
For more information, see SAP Note 1121904.
Software Requirements
GUI for Oracle Database On the database host, a graphical user interface (GUI), for example X11, is
Installation required for the Oracle database software installation with runInstaller. For
more information, see the documentation of your operating system.
Oracle Interim Patches Check SAP Note 839182 whether you require an interim patch for the Oracle
database installation. In this case, make sure you have the corresponding Perl
version as stated in that SAP Note.
Oracle Kernel Parameters Review the Oracle-recommended kernel parameters and shell limits for your
operating system with Oracle Database 10g Release 2 (10.2).
These are only recommendations from Oracle for optimizing the system
performance in production environments. If the recommended settings are
not suitable for your system you must tune the kernel parameters accordingly.
You can get the recommended shell limits and kernel parameters from the
relevant Oracle database installation guide for your operating system, which
you can find at:
http://www.oracle.com/technology/documentation
The host where the primary application server instance runs must meet the following requirements:
Hardware Requirements
Software Requirements
For a high-availability system based on AS ABAP and AS Java both a central services instance for ABAP
(ASCS) and a central services instance for Java (SCS) are required.
For a non-high-availability system based on AS ABAP and AS Java only a central services instance for
Java (SCS) is required.
The central services instance host must meet the following requirements for a central services
instance:
Hardware Requirements
Software Requirements
The host on which an enqueue replication server instance runs must meet the following
requirements:
Note
The enqueue replication server instance is only required for high-availability systems.
You need one ERS for each Java SCS and one ERS for each ABAP SCS (ASCS) installed in your system.
Hardware Requirements
Software Requirements
Note
You can access the complete Oracle documentation as a member of the Oracle Technology Network
(OTN) at:
http://www.oracle.com/documentation
For more information about joining OTN, see:
http://www.oracle.com/technology
Recommendation
If you have access to Oracle Metalink we strongly recommend that you read document 169706.1. This
document provides information about all operating system prerequisites and is regularly updated.
Caution
If your database resides on Network Attached Storage (NAS) you need to review and implement the
Oracle NAS guidelines. You need to mount network file systems with specific mount options, which
you can find in the Oracle installation guide.
Caution
You can install this SAP system release with at least Oracle 10.2 only.
Hardware Requirements
Note
The values listed in DBSIZE.XML are only guiding values. Each sapdata<n>
file can grow up to 10 GB maximum.
For more information about the required disk space per file system, see Setting
Up File Systems [page 63]
n 4.3 GB of temporary disk space for every required installation DVD you have
to copy to a local hard disk.
For more information, see Preparing the Installation DVDs [page 76]
n 1.2 GB of temporary disk space for the installation.
Minimum RAM 3 GB
The default value used by SAPinst is 50 percent of the entire RAM.
Depending on the amount of data involved, the requirements might change.
You can do one of the following to get a more precise sizing definition that
reflects your particular system load:
n Contact a hardware vendor. The vendor analyzes the load and calculates
suitable hardware sizing.
n Contact the person in charge of installation or your Oracle Competence
Center.
Swap Space You need hard disk drives with sufficient space for swap. The required swap space
can be calculated as follows:
n 0.75 * RAM, if RAM is greater than 8.0 GB
n 1 * RAM, if RAM is less than 8.0 GB
For more information, see SAP Note 1121904.
For more information about the memory requirements of the Virtual Machine
(VM) Container, see SAP Note 1049245.
If you need information about how to set up swap space, see Setting up Swap Space
for AIX [page 130].
Software Requirements
The host where the primary application server instance runs must meet the following requirements:
Hardware Requirements
Software Requirements
The additional application server host must meet the following requirements:
Hardware Requirements
Software Requirements
If you want to install a standalone host agent, the installation host has to meet the following
requirements:
Hardware Requirements
Software Requirements
You have to plan how you want to configure user and access management for your SAP system
to be installed.
Before you add a newly installed SAP system to your system landscape, you must decide which kind of
user management you want to use:
n Use AS ABAP.
n Use an LDAP directory as the data source for user data.
Using AS ABAP
Proceed as follows:
You install your SAP system as described in this installation guide. During the installation, the SAP
system is automatically configured to use AS ABAP as data source for the User Management Engine
(UME). After the installation has finished, you can still change the user management configuration.
For more information, see Configuring User Management [page 110].
More Information
For more information about configuring the user management of your SAP system to be installed, see
the SAP Library [page 12] at Function-Oriented View Security Identity Management .
SAPinst prompts for input parameters during the Define Parameters phase of the installation.
The tables below list the basic system parameters that you need to specify before installing your SAP
system. For all other SAP system parameters, use the F1 help in the SAPinst screens.
You can install your SAP system either in Typical or Custom mode:
n Typical
If you choose Typical, the installation is performed with default settings. This means that you
only have to respond to a small selection of prompts including at least the following, which are
described in the corresponding tables below:
l SAP system ID and database ID
l Master password
l JCE Unlimited Strength Jurisdiction Policy files archive
l SAP system profile directory ‒ only for systems with instances on separate hosts
If you want to change any of the default settings, you can do so on the Parameter Summary screen.
n Custom
If you choose Custom, you are prompted for all parameters. At the end, you can still change any of
these parameters on the Parameter Summary screen.
Note
If you change a parameter with the Revise button on the Parameter Summary screen, the installer takes
you to the screen where you can change the parameter. Depending on the changes, the installer
might guide you through other screens with default parameters that it has so far processed. This
might also happen if you press Back instead of Next on the screen
The tables below list the basic system parameters that you need to determine before installing your
SAP system. For all other SAP system parameters, use the F1 help in the SAPinst dialogs.
Parameters Description
JCE Unlimited Strength Jurisdiction You need to obtain the Java(TM) Cryptography Extension (JCE)
Policy Files Archive Unlimited Strength Jurisdiction Policy Files for the JDK you are using
beforehand so that SAPinst can install them.
For more information, see Downloading the JCE Unlimited Strength Jurisdiction
Policy Files Archive [page 76].
Parameters Description
SAP System ID <SAPSID> The SAP system ID <SAPSID> identifies the entire SAP system.
SAPinst prompts your for the <SAPSID> when you execute the first installation
option to install a new SAP system.
If there are further installation options to be executed, SAPinst prompts you
for the profile directory. For more information, see the description of the
parameter SAP System Profile Directory.
Example
This prompt appears when you install the central services instance, which is the
Parameters Description
first instance to be installed in a distributed system.
Caution
Choose your SAP system ID carefully. Renaming is difficult and requires you
to reinstall the SAP system.
Caution
Choose your database ID carefully. Renaming is difficult and requires you
to reinstall the SAP system.
Parameters Description
Caution
Choose the <DASID> carefully. Renaming is difficult and requires you to
reinstall the Diagnostics Agent.
Parameters Description
/<sapmnt>/<SAPSID>/profile or The installation retrieves the parameters entered earlier from the SAP
/usr/sap/<SAPSID>/SYS/profile system profile directory.
SAPinst prompts you to enter the location of the profile directory
when the installation option that you execute is not the first one
belonging to your SAP system installation. See also the description of
the parameters SAP System ID and Database ID.
/usr/sap/<SAPSID>/SYS/profile is the soft link referring to
/<sapmnt>/<SAPSID>/profile.
Note
If you install an additional application server instance in an existing
SAP system, SAPinst also prompts you for the profile directory of
the existing SAP system.
Parameters Description
Instance Number of the Instance Number:
SAP System Technical identifier that is required for every instance of an SAP system,
consisting of a two-digit number from 00 to 97
The instance number must be unique on a host. That is, if more than one SAP
instance is running on the same host, these instances must be assigned different
numbers.
The instance number is used to specify the names of the SAP system instance
directories that SAP automatically creates during the installation:
Parameters Description
n The directory of the primary application server instance is called
DVEBMGS<Instance_Number>.
n The directory of an additional application server instance is called
D<Instance_Number>.
n The directory of the central services instance is called SCS<Instance_Number>.
n The directory of the ABAP central services instance is called
ASCS<Instance_Number>.
Note
You install the ABAP central services instance only if you perform a
high-availability installation.
Note
You install an Enqueue Replication Server instance only if you perform a
high-availability installation.
n For more information about the use of virtual TCP/IP host names, see SAP
Note 962955.
Parameters Description
n The host name must not exceed 12 characters. For more information about
the allowed host name length and characters, see SAP Note 611361.
Message Server Port
Caution
The message server port number must be unique for the SAP system on all hosts.
If there are several message port numbers on one host, all must be unique.
Master Password
Parameters Description
Master Password Common password for all users that are created during the installation:
n Operating system users (for example <sapsid>adm)
Caution
If you did not create the operating system users manually before the
installation, SAPinst creates them with the common master password (see
table Operating System Users). In this case, make sure that the master password
meets the requirements of your operating system and database.
Caution
SAPinst applies the master password to users SAP* and DDIC for SAP system
clients 000 and 001 only, but not to users SAP*, DDIC, and EARLYWATCH in
Parameters Description
SAP system client 066.
Instead, SAPinst always assigns the following passwords to these users in
client 066:
SAP*: 06071992
DDIC: 19920706
EARLYWATCH: support
See also Ensuring User Security [page 111].
n Java users
(for example J2EE_ADMIN)
n Database users
(for example ora<dbsid>
n Secure Store key phrase
For more information, see table Key Phrase for Secure Store Settings.
Password policy
The master password:
n Must be 8 to 14 characters long
n Must contain at least one letter (a-z, A-Z)
n Must contain at least one digit (0-9)
n Must not contain \ (backslash) and " (double quote)
Depending on the installation option, additional restrictions may apply (for
example, the master password must not contain the name of a Java user created
during the installation).
Parameters Description
User <sapsid>adm User <sapsid>adm is the system administrator user.
If you did not create user <sapsid>adm manually before the installation, SAPinst
creates it automatically during the installation. SAPinst sets the Master Password
by default, but you can overwrite it either by choosing parameter mode Custom or
by changing it on the parameter summary screen.
Make sure that the user ID and group ID of this operating system user are unique
and the same on each application server instance host.
For more information, see Creating Operating System Users [page 60].
Parameters Description
User sapadm User sapadm is used for central monitoring services.
If you did not create user sapadm manually before the installation, SAPinst
creates it automatically during the installation. SAPinst sets the Master Password
by default, but you can overwrite it either by choosing parameter mode Custom or
by changing it on the parameter summary screen.
Make sure that the user ID and group ID of sapadm are unique and the same on
each application server instance host.
For more information, see Creating Operating System Users [page 60].
User <dasid>adm User <dasid>adm is dedicated to the Diagnostics Agent installation and has the
authorization to manage the agent.
If you did not create user <dasid>adm manually before the installation, SAPinst
creates it automatically on every application server instance host during the
installation. SAPinst sets the Master Password by default, but you can overwrite
it either by choosing parameter mode Custom or by changing it on the parameter
summary screen.
Make sure that the user ID and group ID of <dasid>adm are unique and the same
on each application server instance host.
For more information, see Creating Operating System Users [page 60].
Parameter Description
Java Administrator User SAPinst creates this user in the ABAP system.
After the installation, this user is available both in the ABAP and in the Java
system
SAPinst sets the user name J2EE_ADMIN and the master password by default.
If required, you can choose another user name and password according to
your requirements.
Java Guest User This user is for employees who do not belong to a company or who have
registered as company users and who are waiting for approval. Guest users
belong to the default group Authenticated Users.
SAPinst creates this user in the ABAP system.
After the installation, it is available both in the ABAP and in the Java system
SAPinst sets the user name J2EE_GUEST and the master password by default.
If required, you can choose another user name and password according to
your requirements.
For more information about supported UME data sources and change options,
see SAP Note 718383.
Communication User SAPinst creates this user in the ABAP system.
After the installation, it is available both in the ABAP and in the Java system
This user is used for the communication between the ABAP system and the
Java system.
SAPinst sets the user name SAPJSF and the master password by default.
If required, you can choose another user name and password according to
your requirements.
Parameter Description
For more information about supported UME data sources and change options,
see SAP Note 718383.
Parameters Description
Key Phrase for Secure This is a random word or phrase that is used to encrypt the secure store.
Store Settings The Java EE engine uses this phrase to generate the key that is used to encrypt
the data.
The uniqueness of the phrase you use contributes to the uniqueness of the
resulting key.
Recommendation
Use a long key phrase that cannot be guessed easily. Use both uppercase and
lowercase letters in the phrase and include special characters.
Parameters Description
SLD Destination You can choose between the following options:
n Register in existing central SLD
SAPinst only prompts you for the parameters listed below in this table if
you select this option.
Recommendation
We recommend that you select this option.
n No SLD destination
If you select this option:
l You have to configure the SLD destination for the Diagnostics Agent
manually after the installation with SAPinst has finished.
l SAPinst does not prompt you for the parameters listed below in this
table.
SLD HTTP Host The host name of the System Landscape Directory (SLD)
SLD HTTP Port The HTTP port of the Java system where the SLD is installed. The following
naming convention applies:
5<instance_number>00.
Example
If the instance number of your Java system is 01, the SLD HTTP Port is 50100.
SLD Data Supplier User and You have to enter the existing SLD Data Supplier User and password of
password the central SLD.
Parameter Description
Password of webadm The administration user webadm is created to use the web administration
interface for Internet Communication Manager (ICM) and Web Dispatcher.
SAPinst sets the master password by default. If required, you can choose another
password. The length of the password must be between 5 and 128 characters.
Host Agent
Parameter Description
Password of sapadm The administration user sapadm is created to use central monitoring services.
If this user does not already exist, SAPinst automatically creates it.
SAPinst prompts you to enter either the password of the existing user or a new
password for the user to be created.
Parameters Description
SAP Solution Manager key To install your SAP system, you need to generate an SAP Solution Manager key [page
75], which the installation requires to continue. For more information, see
SAP Note 805390.
Parameters Description
SAP system mount directory The SAP system mount directory /<sapmnt> is the base directory for the
SAP system.
For /<sapmnt> you can use a directory of your choice. If you do not specify
a directory, SAPinst creates a directory named sapmnt by default.
Do not add <SAPSID> as subdirectory because the installer adds this
directory automatically.
Example
If you enter /sapmount for /<sapmnt> and KB1 for <SAPSID> during
the input phase of the installation, the installer creates the directory
/sapmount/KB1.
For more information, see Setting Up File Systems and Raw Devices [page 63].
Oracle database directories n Oracle home
n sapdata home
n Client destination
n sapdata directory
Parameters Description
Prepare SAP System for If you select check box Prepare SAP System for NWDI Integration on the screen NWDI
NWDI Integration Landscape, SAPinst copies all SCAs belonging to the software units that you
installed to the global transport directory.
The SAP NetWeaver Development Infrastructure (NWDI) has a set of services
that provide central storage and distributed versioning of Java source code, plus
centralized build services and a predefined change management process that
control the flow of software through the landscape. To integrate your SAP
system into the development landscape, NWDI requires all installed software
components to be available in the file system.
For more information, see the SAP Library [page 12] at Function-Oriented View
Application Server Java Developing Applications Using Java
Parameters Description
Database schema, Password The Java database schema is named SAP<SCHEMAID>DB.
Default name is SAPSR3DB.
The ABAP database schema is named SAP<SCHEMAID>.
Default name is SAPSR3.
Recommendation
Choose a <SCHEMAID> that is different from your <SAPSID>.
It might cause problems when you copy a system where <SCHEMAID> is the
same as <SAPSID>, and the database-specific method used for the copy does
not allow you to rename the database schemas. In certain situations, you
might create a system copy with a new <SAPSID>, but where the database
schema has the old <SAPSID>. This is not a technical problem, but might
confuse the system administrator.
Password of User ora<dbsid> User ora<dbsid> is the database administrator user.
This user is only required on the host on which the database instance runs.
n If you created user ora<dbsid> manually before the installation, SAPinst
prompts you for the existing password of this user.
Note
If you chose parameter mode Typical, SAPinst only prompts you for the
existing password of this user if the password is not the same as the Master
Password.
n If you did not create user ora<dbsid> manually before the installation,
SAPinst creates it automatically during the installation. SAPinst then
prompts you to enter and confirm a password for this user. In this case,
SAPinst sets the Master Password by default. You can overwrite it.
Parameters Description
Note
If you chose parameter mode Typical, SAPinst does not prompt you for the
existing password of this user but creates this user and assigns the Master
Password automatically.
Make sure that the user ID and group ID of this operating system user are
unique and the same on each application instance host.
For more information, see Creating Operating System Users [page 60].
User ID of User ora<dbsid> If you chose parameter mode Typical and you did not create ora<dbsid>
manually before the installation, SAPinst automatically creates this user with
the appropriate user ID. In this case, SAPinst does not prompt you for the
user ID of ora<dbsid>.
Make sure that the user ID of user ora<dbsid> is unique and the same on
each application instance host.
For more information, see Creating Operating System Users [page 60].
Group IDs of sys, dba and If you chose parameter mode Typical and you did not create ora<dbsid>
oper manually before the installation, SAPinst automatically creates this user.
SAPinst also assigns it to groups sys, dba and oper. In this case, SAPinst does
not prompt you for the user ID of ora<dbsid>.
Make sure that the group IDs of dba and oper are unique and the same on
each application instance host.
For more information, see Creating Operating System Users [page 60].
Database User Oracle User System
Oracle Listener Name, Oracle n If you install the database instance on a host where no other Oracle
Listener Port, Oracle Listener database is installed, you normally do not have to change the default values
Domain for Listener Name and Listener Port.
n If there is already an Oracle database installed on your installation host,
you can either use one listener for both databases or you have to specify an
unused Listener Name and an unused Listener Port for the new listener.
For more information if you use one listener for both databases, see SAP
Note 98252.
n All additional application server instances of an SAP system must use the
same Listener Port than the database instance.
n The default domain in the network configuration files is WORLD.
Tablespaces, Datafiles An Oracle database consists of one or more logical storage units called
tablespaces, which collectively store all of the database’s data.
Each tablespace in an Oracle database consists of one or more files called
datafiles, which are physical structures that conform to the operating system
in which Oracle is running.
MaxDatafileSize is the initial size of the tablespace datafile and its mapping
to the new tablespace layout while importing the external file DBSIZE.XML.
SAPinst prompts you to enter MaxDatafileSize in MB:
n 0: Datafile size defined in DBSIZE.XML is not changed.
Parameters Description
n 2000: Default datafile size.
n 10000: Maximum datafile size.
For more information about space requirements of the SAP datafiles (sapdata
1 - 4), see Requirements for the Database Instance [page 31].
Database Instance RAM The RAM that is required for the database instance installation.
The default value used by SAPinst is 50 percent of the entire RAM.
For more information about minimum RAM, see Requirements for the Database
Instance [page 31].
Login Shell SAPinst only prompts you for this parameter if you use a login shell other
than the recommended C shell (csh).
For more information, see SAP Note 202227.
The transport host contains the transport directory used by the SAP transport system to store
transport data and change SAP system information, such as software programs, data dictionary data,
or customization data. If you have several SAP systems, they are usually organized in transport
domains. In most cases, all SAP systems in a transport domain have a common transport directory.
When you install an SAP system, you have to decide which transport host and directory you want
to use for your SAP system:
n Use the transport directory that SAPinst creates during the installation of the SAP system by
default on the global host:
SAPinst by default creates the transport directory on the global host in /usr/sap/trans.
n Use a transport directory located on a host other than the default host:
l You can use an existing transport directory and host in your SAP system landscape.
l You can set up a new transport directory on a different host.
In either case, you must prepare this host for use by the new SAP system. For more information,
see Exporting and Mounting the Global Transport Directory [page 86].
More Information
n Setting Up File Systems and Raw Devices [page 63]
n See the SAP Library [page 12]:
Administrator’s Guide Technical Operations Manual General Administration Tasks Software Life Cycle
Management Software Logistics Change and Transport System Change and Transport System ‒ Overview
(BC-CTS) Basics of the Change and Transport System Transport Management System ‒ Concept
You can reduce unplanned downtime for your SAP system by setting up a switchover cluster. This
setup installs critical software units ‒ known as “single points of failure” (SPOFs) ‒ across multiple
host machines in the cluster. In the event of a failure on the primary node, proprietary switchover
software automatically switches the failed software unit to another hardware node in the cluster.
Manual intervention is not required. Applications accessing the failed software unit might experience
a short delay but can then resume processing as normal.
Switchover clusters also have the advantage that you can deliberately initiate switchover to free
up a particular node for planned system maintenance. Switchover solutions can protect against
hardware failure and operating system failure but not against human error, such as operator errors or
faulty application software. Additional downtime might be caused by upgrading your SAP system or
applying patches to it.
Without a switchover cluster, the SAP system SPOFs ‒ central services instance, the database instance,
and the central file share ‒ are vulnerable to failure because they cannot be replicated. All of these
can only exist once in a normal SAP system.
You can protect software units that are not SPOFs against failure by making them redundant, which
means simply installing multiple instances. For example, you can add additional application server
instances. This complements the switchover solution and is an essential part of building HA into
your SAP system.
Recommendation
We recommend switchover clusters to improve the availability of your SAP system.
Prerequisites
You must first discuss switchover clusters with your hardware partner because this is a complex
technical area. In particular, you need to choose a proprietary switchover product that works with
your operating system.
We recommend that you read the following documentation before you start:
n Check the informations and the installation guides that are available at
http://sdn.sap.com/irj/sdn/ha.
n The enqueue replication server (ERS) is a major contribution to an HA setup and is essential for a
Java system. We strongly recommend you to also use it for an ABAP system. You need one ERS for
each Java SCS and one ERS for each ABAP SCS (ASCS) installed in your system.
Features
The following graphic shows the essential features of a switchover setup:
Note
This graphic and the graphics in this section are only examples. You need to discuss your individual
HA setup with your HA partner.
These graphics summarize the overall setup and do not show the exact constellation for an
installation based on one of the available technologies (ABAP, ABAP+Java, or Java).
Constraints
This documentation concentrates on the switchover solution for the central services instance. For
more information about how to protect the Network File System (NFS) software and the database
instance by using switchover software or (for of the database) replicated database servers, contact
your HA partner.
You need to make sure that your hardware is powerful enough and your configuration is robust
enough to handle the increased workload after a switchover. Some reduction in performance might
be acceptable after an emergency. However, it is not acceptable if the system comes to a standstill
because it is overloaded after switchover.
End of: HA (UNIX)
3 Preparation
This section includes the preparation steps that you have to perform for the:
n Standard, distributed, or high-availability system
n Additional application server instance
n Standalone host agent
Detailed information about the steps is available in the relevant section.
Note
In a standard system, all mandatory instances are installed on one host. Therefore, if you are
installing a standard system, you can ignore references to other hosts.
1. You make sure that the required operating system users and groups [page 60] are created.
2. You set up file systems or ‒ if required ‒ raw devices [page 63] and make sure that the required disk space is
available for the directories to be created during the installation.
3. If required, you specify the virtual host name [page 74]. Alternatively you can specify the virtual host
name in the command to start SAPinst.
4. If you want to install a high-availability system, you perform switchover preparations [page 75].
5. If you want to share the transport directory trans from another system, export [page 86] this
directory to your installation hosts.
6. You install the SAP frontend software [page 75] on the desktop of the end user.
7. You generate the SAP Solution Manager Key [page 75] for your SAP system.
8. You download the JCE Policy zip file [page 76] on the installation host.
9. You make sure that the required installation media [page 76] are available on each host.
10. If you decided to use a generic LDAP directory, you have to create a user for LDAP directory access
[page 127].
11. You can continue with Installation [page 81].
1. You make sure that the required operating system users and groups [page 60] are created.
2. You set up file systems and raw devices [page 63] and make sure that the required disk space is available for
the directories to be created during the installation.
3. If you want to use virtual host names, you have to set the environment variable
SAPINST_USE_HOSTNAME [page 74]. Alternatively you can specify the virtual host name in the
command to start SAPinst.
4. If you want to share the transport directory trans from another system, export [page 86] this
directory to your installation hosts.
5. You make sure that the required installation media [page 76] are available.
6. You can continue with Installation [page 81].
During the installation, SAPinst checks all required accounts (users, groups) and services on the
local machine. SAPinst checks whether the required users and groups already exist. If not, it creates
new users and groups as necessary.
If you do not want SAPinst to create operating systems users, groups, and services automatically, you
can optionally create them before the installation. This might be the case if you use central user
management such as Network Information System (NIS).
SAPinst checks if the required services are available on the host and creates them if necessary. See the
log messages about the service entries and adapt the network-wide (NIS) entries accordingly.
SAPinst checks the NIS users, groups, and services using NIS commands. However, SAPinst does not
change NIS configurations.
Recommendation
For a distributed or a high-availability system, we recommend that you distribute account
information (operating system users and groups) over the network, for example by using Network
Information Service (NIS).
Caution
All users must have identical environment settings. If you change the environment delivered by
SAP, such as variables, paths, and so on, we do not assume responsibility.
If you want to use global accounts that are configured on a separate host, you can do this in one
of the following ways:
n You start SAPinst and choose Software Life-Cycle Tasks Additional Preparation Tasks Operating System
Users and Groups . For more information, see Running SAPinst [page 87].
n You create operating system users and groups manually as described in
Creating AIX Groups and Users [page 131]
Caution
Do not delete any shell initialization scripts in the home directory of the OS users. This applies even
if you do not intend to use the shells that these scripts are for.
Caution
If you use NFS-V4 file system, you have to create the ora<dbsid> user on the NFS server. You can do
this either manually or by running Operating System Users and Groups. This user must have the same user
ID as the ora<dbsid> user on the database server.
Otherwise, you get the error message FSL-02098 Could not change owner of ... during the
installation of the database instance.
Caution
The user ID (UID) and group ID (GID) of each operating system user and group must be identical for
all servers belonging to the same SAP system.
This does not mean that all users and groups have to be installed on all SAP servers.
The user ora<dbsid> is only required on the host where the database instance runs.
Caution
If these operating system users already exist, make sure that they are assigned to group sapinst.
Caution
If you install a distributed system and you use local operating system user accounts instead of central
user management (for example, NIS), user <sapsid>adm, sapadm, and the database operating system
user must have the same password on all hosts.
Groups Members
sapsys <sapsid>adm, sapadm, <dasid>adm
Groups Members
sapsys sapadm
sapinst sapadm
Note
The installation of any SAP system does not require a special file system setup or separate partitions.
More Information
If you need information about how to set up file systems and raw devices, see Setting Up File Systems and
Raw Devices for AIX [page 132].
Depending on the installation option you have chosen, SAPinst automatically creates the directories
listed in the following figures and tables. Before running the installation, you have to set up the
required file systems manually. In addition, you have to make sure that the required disk space for the
directories to be installed is available on the relevant hard disks. The figure below assumes that you
have set up one file system for the SAP system mount directory <sapmnt> and one file system for the
/usr/sap directory. However, you have to decide for which directories you want to set up separate file
systems. If you do not set up any file system on your installation host, SAPinst creates all directories in
the root directory /. SAPinst prompts you only for the <sapmnt> directory during the installation.
See also table Parameters Relevant for the File System in Basic SAP System Parameters [page 42].
SAPinst creates the following types of directories:
n Physically shared directories
n Logically shared directories
n Local directories ‒ for the SAP system and the Diagnostics Agent
The following figure shows the directory structure of the SAP system:
Note
exe contains a folder uc and a folder nuc, each with a platform-specific sub folder:
u <sapmnt>/<SAPSID>/exe/uc/<platform> is used in Unicode systems.
Executable kernel programs are replicated from this directory to the exe directories of each
Unicode system instance.
u <sapmnt>/<SAPSID>/exe/nuc/<platform> is used in non-Unicode systems (see below).
Executable kernel programs are replicated from this directory to the exe directories of each
non-Unicode system instance (see below).
n SYS
Note
The subdirectories of /usr/sap/<SAPSID>/SYS have symbolic links to the corresponding
subdirectories of /<sapmnt>/<SAPSID>, as shown in the figure above.
n <INSTANCE> for each instance installed on the host
The instance-specific directories have the following names:
l The directory of the primary application server instance is called DVEBMGS<Instance_Number>.
l The directory of an additional application server instance is called D<Instance_Number>.
l The directory of the central services instance is called SCS<Instance_Number>.
Only valid for: HA (UNIX)
n SYS
l exe
Contains executable kernel programs
l global
Contains globally shared data
l profile
Contains the profiles of the Diagnostics Agent instance
n <INSTANCE>
The instance directory of the Diagnostics Agent instance is called SMDA<Instance_Number>. It
contains the instance-specific data of the Diagnostics Agent.
It contains the following subdirectories:
l script
Contains the smdsetup script
l SMDAgent
Contains the Diagnostics Agent software and properties files
l exe
Contains executable kernel programs
l work
Contains log files
More Information
If you need information about how to set up file systems and raw devices, see Setting Up File Systems and
Raw Devices for AIX [page 132].
Note
Unicode systems require additional hardware resources. You can find more information about
Unicode SAP systems on SAP Service Marketplace at http://service.sap.com/unicode.
Recommendation
Do not delete this directory after the
installation.
/oracle/<DBSID> Home directory of user ora<dbsid>. 100 MB for files of user ora<dbsid> (for
example, log files)
Recommendation
We recommend that /oracle/<DBSID>
does not reside in the root directory.
It must reside in a file system with
support for large files.
More Information
If you need information about how to set up file systems and raw devices, see Setting Up File Systems and
Raw Devices for AIX [page 132].
When you prepare a high-availability (HA) installation with switchover software, you need to set up
your file systems as described here. For more information, consult your HA partner.
Prerequisites
You have already installed the hardware ‒ that is, hosts, disks, and network ‒ and decided how
to distribute the database, SAP instances, and (if required) Network File System (NFS) server over
the cluster nodes (that is, over the host machines). For more information, see Planning the Switchover
Cluster [page 55].
Procedure
1. Create the file systems or raw partitions for the central services instance on shared disks. For more
information, see Setting Up File Systems and Raw Devices [page 63].
Note
The directories /sapmnt/<SAPSID> and /usr/sap/trans have to be mounted from a Network File
System (NFS). However, /usr/sap/<SAPSID>/<INSTTYPE><NR>, which should be part of a cluster,
has to be a directory of the application server instance that is always mounted on the cluster node
currently running the instance (not with NFS).
Therefore, if the host running the primary application server instance is not the NFS server
host, you might have to mount the file systems for /sapmnt/<SAPSID> and /usr/sap/trans on
different physical disks from the file system for /usr/sap/<SAPSID>/<INSTTYPE><NR>.
Caution
Make sure that the mount points under /<sapmnt>/<SAPSID>/ are permanent. Otherwise
automatic start of the instance services does not work when you reboot the system.
2. Use the following approach for the file system for the /usr/sap/<SAPSID> directory:
The /usr/sap/<SAPSID> directory contains at least two subdirectories:
n SYS, which contains links to the central directory /sapmnt/<SAPSID>
n <INSTTYPE><NR> ‒ where the name is defined by the type of services and the application server
number, SCS<NR> and ASCS<NR> ‒ which contains data for the ABAP central services instance
and for the Java central services instance.
Only the latter directory needs to be migrated with the application server instance during the
switchover. Since the SYS subdirectory contains only links that do not require any space, you
can create it locally on each cluster node. Other local instances can also reside locally, such
as an Enqueue Replication Server instance in /usr/sap/<SAPSID>/ERS<NR>, which should not
be affected by a switchover.
Therefore, instead of /usr/sap/<SAPSID>, create a file system for
/usr/sap/<SAPSID>/<INSTTYPE><NR> with the usual <> substitutions.
The instance-specific directory name for the central services instance is normally SCS<NR> and
ASCS<NR>. Migrating only these directories avoids mount conflicts when switching over to a node
on which another application server instance is already running. The (A)SCS<NR> directories can
join the /usr/sap/<SAPSID> tree instead of mounting on top of it.
Note
This approach becomes increasingly important when you want to cluster the central services
instances with other local instances running on the cluster hosts outside the control of the
switchover software. This applies to the Enqueue Replication Server (ERS) and additional ABAP
or Java application server instances. The result is a more efficient use of resources. You must use
this approach for integrated installations of the application server with ABAP and Java stacks.
Example
The graphic below shows an example of the file systems and disks in an HA setup
Note that this is only an example. For more information on a setup that meets your needs, consult
your HA partner.
Figure 12:
If required, you configure Network File System (NFS), which is a system-wide Single Point-of-Failure
(SPOF), for a high-availability (HA) installation with switchover software. For more information,
consult your HA partner.
We regard NFS as an extension to the operating system. The switchover product protects NFS and
makes it transparently available to the SAP system in switchover situations.
You need to decide:
n How to protect NFS
n Which switchover cluster nodes NFS is to run on
The NFS configuration might depend on your database system. The directories need to be available
for the SAP system before and after a switchover.
Caution
Make sure that the mount points under /<sapmnt>/<SAPSID>/ are permanent. Otherwise automatic
start of the instance services does not work when you reboot the system.
Procedure
1. Check the NFS directories, several of which need to be shared between all instances of a system.
These directories are:
n /<sapmnt>/<SAPSID>/profile
Contains the different profiles to simplify maintenance
n /<sapmnt>/<SAPSID>/global
Contains log files of batch jobs and central SysLog
n /usr/sap/trans
Contains data and log files for objects transported between different SAP systems (for example,
development ‒ integration). This transport directory ought to be accessible by at least one AS
instance of each system, but preferably by all.
n /<sapmnt>/<SAPSID>/exe
Contains the kernel executables. These executables ought to be accessible on all AS instances
locally without having to use NFS. The best solution is to store them locally on all AS instance
hosts.
2. Since you can protect NFS by a switchover product, it makes sense to install it on a cluster node.
The requirements of your database system might dictate how NFS has to be set up. If required,
you can configure the NFS server on the cluster node of the clustered application server instance
or the DB.
In both cases the NFS clients use the virtual IP address to mount NFS. If the second node is used as
an additional SAP instance during normal operation (for example, as an additional application
server instance), it also needs to mount the directories listed above from the primary node.
When exporting the directories with their original names, you might encounter the problem of
a “busy NFS mount” on the standby node. You can use the following workaround to solve this
problem:
a) On the primary server, mount the disks containing the directories:
/export/usr/sap/trans
/export/<sapmnt>/<SAPSID>
b) The primary server creates soft links to the directories with the original SAP names:
/usr/sap/trans —> /export/usr/sap/trans
/<sapmnt>/<SAPSID> —> /export/<sapmnt>/<SAPSID>
Alternatively the primary server can also mount the directories:
/export/usr/sap/trans —> /usr/sap/trans
/export/<sapmnt>/SID —> /<sapmnt>/<SAPSID>
c) The primary server exports:
/export/usr/sap/trans
/export/<sapmnt>/<SAPSID>
d) The standby NFS mounts:
from virt.IP:/export/usr/sap/trans to /usr/sap/trans
from virt.IP:/export/<sapmnt>/<SAPSID> to /<sapmnt>/<SAPSID>
If the primary node goes down and a switchover occurs, the following happens:
n These directories on the standby node become busy:
/usr/sap/trans
/<sapmnt>/<SAPSID>
n The standby node mounts disks to:
/export/usr/sap/trans
/export/<sapmnt>/<SAPSID>
n The standby node configures the virtual IP address virt.IP
n The standby node exports:
/export/usr/sap/trans
/export/<sapmnt>/<SAPSID>
n These directories on the standby node are accessible again:
/usr/sap/trans
/<sapmnt>/<SAPSID>
You can use one or more virtual TCP / IP host names for SAP servers within an SAP server landscape
to conceal their physical network identities from each other. This can be useful when quickly moving
SAP servers or complete server landscapes to alternative hardware without having to reinstall
or reconfigure.
Only valid for: HA (UNIX);HA (z/OS)
Virtual host names are also required for a high-availability installation. For more information, see
Performing Switchover Preparations for High Availability [page 75].
End of: HA (UNIX);HA (z/OS)
If you want to use a virtual host name, you have to set the environment variable
SAPINST_USE_HOSTNAME to specify the required virtual host name before you start SAPinst.
If you do not set this environment variable now, you can specify an equivalent parameter for the
virtual host name when you run SAPinst (see Running SAPinst [page 87]).
Procedure
Proceed as described in SAP Note 962955.
Procedure
1. Make sure that the virtual host name [page 74] can be correctly resolved in your Domain Name
System (DNS) setup.
2. Assign the virtual IP addresses and host names for the SCS and ASCS instances, and (if required)
NFS to appropriate failover groups.
Note
For more information on virtual addresses and virtual host names and how to assign resources to
failover groups, ask your HA partner.
For the installation, make sure that the front-end software is installed on at least one computer in
your system environment.
With the SAP Front-End installation software NW SAPSetup you can optimize the deployment of SAP
GUI to numerous clients. You can easily tailor installation packages to match your requirements,
distribute patches, and set up automatic update processes for your clients.
Note
You require at least SAP Front-End release 7.10.
For more information about installing the SAP Front-End software, see the SAP Front End Installation
Guide at:
http://service.sap.com/instguidesNW <your product> Installation
You need to generate the Solution Manager key because the installation tool prompts for it during
the installation. Without this key, the installation process cannot continue. For more information
about SAP Solution Manager and its role within your system landscape, see the Master Guide of
your SAP application.
Procedure
1. If SAP Solution Manager is not yet available in your system landscape, proceed as follows:
a) Order SAP Solution Manager as described in SAP Note 628901.
b) Install SAP Solution Manager as described in the documentation Installation Guide ‒ SAP Solution
Manager <release> on <OS>: <Database>, which is available at:
http://service.sap.com/instguides SAP Components SAP Solution Manager Release 7.0
2. Generate the SAP Solution Manager key as described in SAP Note 811923.
Result
The SAP Solution Manager system displays the key for which you are prompted during the
installation of your SAP system.
The SAP Java Virtual Machine (SAP JVM) is not delivered with Java Cryptography Extension (JCE)
jurisdiction policy files. The delivery of these is subject to import restrictions in some countries. The
JCE jurisdiction policy files must be available beforehand so that SAPinst can install them.
Procedure
Download the JCE jurisdiction policy files as described in SAP Note 1240081.
This section describes how to prepare the installation DVDs, which are available as follows:
n You normally obtain the installation DVDs as part of the installation package.
n You can also download the installation DVDs from SAP Service Marketplace, as described at
the end of this section.
1. Identify the required DVDs for your installation [page 14] as listed below.
Keep them separate from the remaining DVDs as this helps you to avoid mixing up DVDs during
the installation.
Note
n The media names listed in the following table are abbreviated.
You can find the full names of all media shipped with SAP NetWeaver PI 7.1 in the appropriate
Media List (Media List ‒ SAP NetWeaver Process Integration 7.1 including Enhancement Package 1) on SAP
Service Marketplace at: http://service.sap.com/instguidesNWPI71 Installation
n You can find the Software Component Archives (SCAs) for the installation of SAP NetWeaver
usage types on the NetWeaver Java DVD.
Note
For an MCOD system you require the RDBMS Client DVD
instead of the RDBMS DVD and the RDBMS Patch DVD (if
available).
HA only: n Installation Master DVD
Enqueue Replication Server n Kernel DVD
Primary application server instance n Installation Master DVD
n NetWeaver Java DVD
n Kernel DVD
n RDBMS Client DVD
Additional application server instance n Installation Master DVD
n NetWeaver Java DVD
n Kernel DVD
n RDBMS Client DVD
Host Agent (Standalone) n Installation Master DVD
n Kernel DVD
Note
Depending on your installation type, one or more instances can reside on the same host. You
need to keep this in mind when you make the required installation media available on each
installation host.
For a standard system, you need to make all required installation media available on the single
installation host.
Use one of the following methods to make DVDs available:
n Before the installation, copy DVDs manually to local hard disks.
n During the installation, use the SAPinst Media Browser dialog and copy the entire DVDs to
the path you entered in the Copy To column.
Caution
n Mount the DVDs locally. We do not recommend you to use Network File System (NFS),
because reading from DVDs mounted with NFS might fail.
n If you copy the DVDs to disk, make sure that the paths to the destination location of the copied
DVDs do not contain any blanks.
n If you perform a local installation and there is only one DVD drive available on your
installation host, you must copy at least the Installation Master DVD to the local file system.
Note
If you download installation DVDs, note that the DVDs might be split into several files. In this case,
you have to reassemble the required files after the download.
Caution
To extract the downloaded SAR files make sure that you use the latest SAPCAR version, which you
can find on SAP Service Marketplace at http://service.sap.com/swdc. You need at least SAPCAR
700 or SAPCAR 640 with patch level 4 or higher because older versions of SAPCAR can no longer
unpack current SAR files. For more information, see SAP Note 212876.
1. Create a download directory on the host where you want to run SAPinst.
2. Identify all download objects that belong to one installation DVD according to one or both of the
following:
n Material number
All download objects that are part of an installation DVD have the same material number and
an individual sequence number:
<material_number>_<sequence_number>
Example
51031387_1
51031387_2
...
n Title
All objects that are part of an installation DVD have the same title, such as
<solution><DVD_name><OS> or <database>RDBMS<OS> for RDBMS DVDs.
3. Download the objects to the download directory.
4. Extract the individual download objects using SAPCAR, starting with the lowest sequence number
‒ for example 51031387_1, then 51031387_2, and so on.
During the download SAPCAR sets up the structure of the installation DVD.
Note
SAPCAR asks if you want to replace existing files, for example LABELIDX.ASC. Always accept
with Yes.
4 Installation
This section includes the installation steps that you have to perform for the:
n Standard, distributed, or high-availability system
n Additional application server instance
n Standalone host agent
Detailed information about the steps is available in the relevant chapter.
Standard System
Note
In a standard system all mandatory instances are installed on one host in one installation run.
Note
Do not install the Oracle database software in advance. During the installation of the database
instance, SAPinst stops the installation and prompts you to install the Oracle database software.
This action is not required if you install an SAP system in an existing database (MCOD) [page 127].
Distributed System
1. If you want to share the transport directory trans from another system, you have to mount [page 86]
it from this system. Otherwise we recommend that you share the trans directory that is created
during the installation of the primary application server instance.
2. On the SAP global host, you do the following:
a) You run SAPinst [page 87] to prepare the SAP global host.
You run SAPinst [page 87] to install the central services instance.
b) You export global directories [page 85] in <sapmnt>/<SAPSID> to the database and primary
application server instance host.
3. On the database instance host, you do the following:
a) You mount the global directories [page 85] in <sapmnt>/<SAPSID> that you exported from the SAP
global host and ‒ optionally ‒ the trans directory that you exported [page 86] from the SAP
transport host.
b) You run SAPinst [page 87] to install the database instance.
Note
Do not install the Oracle database software in advance. During the installation of the database
instance, SAPinst stops the installation and prompts you to install the Oracle database software.
This action is not required if you install an SAP system in an existing database (MCOD) [page 127].
High-Availability System
1. If you want to share the transport directory trans from another system, you have to mount [page 86]
it from this system. Otherwise we recommend that you share the trans directory that is created
during the installation of the primary application server instance (see below).
2. You set up the switchover cluster infrastructure as follows:
a) You run SAPinst [page 87] to install the ABAP central services instance (ASCS) and the Java Central
Services Instance (SCS) using the virtual host name [page 74] on the primary cluster node, host A.
b) You prepare the standby cluster node, host B, making sure that it meets the hardware and software
requirements [page 21] and it has all the necessary file systems [page 70], mount points, and (if
required) Network File System (NFS).
c) You set up the user environment on the standby node, host B.
n You make sure that you use the same user and group IDs as on the primary node.
n You create the home directories of users and copy all files from the home directory of
the primary node.
For more information about the required operating system users and groups, see Creating
Operating System Users [page 60].
d) You configure the switchover software and test that switchover functions correctly to all
standby nodes in the cluster.
e) You perform the switchover to a node where you want to install the enqueue replication
server (ERS).
f) You run SAPinst [page 87] to install the enqueue replication server (ERS).
g) You repeat the previous two steps for all nodes in the cluster.
3. You export global directories [page 85] in <sapmnt>/<SAPSID> to the database host and to the primary
application server instance host.
4. On the database instance host, you do the following:
a) You make available the global directories in <sapmnt>/<SAPSID> from the switchover cluster
infrastructure and ‒ optionally ‒ from the SAP transport host.
b) You run SAPinst [page 87] to install the database instance on the database instance host.
Note
Do not install the Oracle database software in advance. During the installation of the database
instance, SAPinst stops the installation and prompts you to install the Oracle database software.
This action is not required if you install an SAP system in an existing database (MCOD) [page 127].
Note
In a high-availability installation, the primary application server instance does not need to be
part of the cluster because it is no longer a single point of failure (SPOF). The SPOF is now in the
central services instances (SCS and ASCS), which are protected by the cluster.
a) You mount the global directories [page 85] in <sapmnt>/<SAPSID> that you exported from the
switchover cluster infrastructure.
b) You run SAPinst [page 87] to install the primary application server instance.
c) If you want to use the shared transport directory trans from another system, you also mount
[page 86] this directory (see above).
6. We recommend you to install additional application server (AS) instances with SAPinst to create
redundancy.
The AS instances are not a SPOF. Therefore, you do not need to include these instances in the
cluster.
7. You continue with Post-Installation [page 101].
Installation Steps for Additional Application Server Instance(s) for a Standard System
1. On the main host on which your SAP system runs, you export global directories in
<sapmnt>/<SAPSID> to the database and primary application server instance host.
2. On every additional application server instance host, you do the following:
a) You mount the global directories [page 85] in <sapmnt>/<SAPSID> that you exported from the SAP
global host.
b) You run SAPinst [page 87] to install the additional application server instance.
1. If you want to share the transport directory trans from another system, you have to mount [page 86]
it from this system. Otherwise we recommend that you share the trans directory that is created
during the installation of the primary application server instance.
2. On the SAP global host, you export global directories in <sapmnt>/<SAPSID> to the database
and primary application server instance host.
3. On every additional application server instance host, you do the following:
a) You mount the global directories [page 85] in <sapmnt>/<SAPSID> that you exported from the SAP
global host.
b) You run SAPinst [page 87] to install the additional application server instance.
c) If you want to use the shared transport directory trans from another system, also mount [page
86] this directory.
4. You continue with Post-Installation [page 101].
Installation Steps for an Additional Application Server Instance for a High-Availability System
1. If you want to share the transport directory trans from another system, you have to mount [page 86]
it from this system. Otherwise we recommend that you share the trans directory that is created
during the installation of the primary application server instance.
2. On the primary node, host A, of the switchover cluster infrastructure, you export global
directories in <sapmnt>/<SAPSID> to every additional application server instance host.
3. On every additional application server instance host, you do the following:
a) You mount the global directories [page 85] in <sapmnt>/<SAPSID> that you exported from the SAP
global host.
b) You run SAPinst [page 87] to install the additional application server instance.
c) If you want to use the shared transport directory trans from another system, you also mount
[page 86] this directory.
4. You continue with Post-Installation [page 101].
If you install a database or an additional application server instance on a host other than the SAP
Global host, you must mount global directories from the SAP Global host.
Prerequisites
If you want to install the executables locally instead of sharing them, do not mount the exe directory
with Network File System (NFS). Instead, create <sapmnt>/<SAPSID>/exe as a local directory (not
a link) with a minimum of 1.5 GB free space.
Procedure
1. Log on to the SAP Global host as user root and export the following directories with root access to
the host where you want to install the new instance:
<sapmnt>/<SAPSID>/exe
<sapmnt>/<SAPSID>/profile
<sapmnt>/<SAPSID>/global
Make sure that the user root of the host where you want to install the new instance can access the
exported directories.
Caution
Make sure that the global transport directory is mounted on every host where you want to install
an SAP instance. For more information, see Exporting and Mounting the Global Transport Directory [page
86]. Otherwise, the installation fails.
2. Log on to the host of the new instance that you want to install as user root.
3. Create the following mount points and mount them from the SAP Global host:
<sapmnt>/<SAPSID>/exe
<sapmnt>/<SAPSID>/profile
<sapmnt>/<SAPSID>/global
Caution
Make sure that the mount points under /<sapmnt>/<SAPSID>/ are permanent. Otherwise
automatic start of the instance services does not work when you reboot the system.
More Information
If you need information about how to export and mount directories, see Exporting and Mounting
Directories via NFS for AIX [page 134].
In your SAP system landscape, a global transport directory for all SAP systems is required.
The global transport directory is used by the Change and Transport System (CTS). The CTS helps
you to organize development projects, and then transport the changes between the SAP systems in
your system landscape. For more information, see the SAP Library [page 12] at Administrator’s Guide
Technical Operations Manual for SAP NetWeaver General Administration Tasks Software Life Cycle Management
Software Logistics Change and Transport System Change and Transport System ‒ Overview
n If the global transport directory already exists, make sure that it is exported on the global transport
directory host and mount it on the SAP instance installation host.
n If the global transport directory does not exist, proceed as follows:
l Create the transport directory (either on the host where the primary application server
instance is running or on a file server).
l Export it on the global transport directory host.
l If you did not create the transport directory on your SAP instance installation host, mount it
there.
Note
If the transport directory resides on your local SAP instance installation host, you do not need to
mount it.
1. Log on as user root to the host of the primary or additional application server instance, where
/usr/sap/trans is to be mounted.
2. Create the mount point /usr/sap/trans.
3. Mount /usr/sap/trans using Network File System (NFS) from the exporting host.
More Information
Mounting Directories via NFS for AIX [page 134]
This procedure tells you how to install an SAP system with SAPinst. SAPinst includes a SAPinst GUI
and a GUI server, which both use Java.
This section describes an installation where SAPinst, SAPinst GUI, and the GUI server are running
on the same host. When you start SAPinst, SAPinst GUI and the GUI server also start. SAPinst GUI
connects via a secure SSL connection to the GUI server and the GUI server connects to SAPinst.
If you need to see the installation on a remote display, we recommend you perform a remote installation with
SAPinst [page 139], where SAPinst GUI is running on a separate host from SAPinst and the GUI server.
Alternatively you can use an X server for Microsoft Windows or other remote desktop tools for remote
access to SAPinst GUI on Windows workstations. For more information, see SAP Note 1170809.
n SAPinst creates the installation directory sapinst_instdir directly below the temporary
directory. SAPinst finds the temporary directory by checking the value of the TEMP, TMP, or
TMPDIR environment variable. If no value is set for these variables, SAPinst 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 SAPinst.
Shell Used Command
Bourne shell (sh) TEMP=<directory>
export TEMP
Caution
Make sure that the installation directory is not mounted with NFS, or there might be problems
when the Java Virtual Machine is started.
Recommendation
We recommend that you keep all installation directories until the system is completely and
correctly installed.
The temporary directory also contains the SAPinst self-extractor log file dev_selfex.out, which
might be useful if an error occurs.
Caution
If SAPinst cannot find a temporary directory, the installation terminates with the error FCO-00058.
n During the installation, the default ports 21200, 21212, and 4239 are used for communication
between SAPinst, GUI server, SAPinst GUI, and HTTP server, as follows:
l SAPinst uses port 21200 to communicate with the GUI server.
l The GUI server uses port 21212 to communicate with SAPinst GUI.
l 4239 is the port of the HTTP server, which is part of the GUI server.
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_to_gui_server>
GUISERVER_DIALOG_PORT=<free_port_number_gui_server_to_sapinst_gui>
GUISERVER_HTTP_PORT=<free_port_number_http_server>
n To get a list of all available SAPinst properties, start SAPinst as described above with the option -p:
./sapinst -p.
n If required, you can terminate SAPinst and the SAPinst self-extractor by pressing Ctrl + C .
Prerequisites
n Make sure that you have logged on to your host as user root.
Caution
Make sure that the root user has not set any environment variables for a different SAP system or
database.
n 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 777.
n 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 SAPinst 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 SAPinst
executables.
You can set values for the TEMP, TMP, or TMPDIR environment variable to an alternative installation
directory as described above in section Important Information About SAPinst.
n 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 SAPinst GUI.
You can set values for the DISPLAY environment variables as follows:
n Make sure that you have checked the following values for user root:
l In csh, execute limit
Output Properties
cputime unlimited
filesize unlimited
datasize 2097148 KB
stacksize 8192 KB
coredumpsize unlimited
descriptors 8192
memorysize unlimited
Output Properties
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2097148
stack(kbytes) 8192
coredump(blocks) unlimited
nofiles(descriptors) 8192
memory(KBytes) unlimited
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:
l In csh execute:
limit descriptors 8192
l In sh or ksh execute:
ulimit -n 8192
n Make sure that you have defined the most important SAP system parameters as described in Basic
SAP System Parameters [page 42] before you start the installation.
n Check that your installation host(s) meets the requirements for the installation option(s) that you
want to install. For more information, see Running the Prerequisite Checker [page 23].
n If you are installing a second or subsequent SAP system in an existing database, make sure that
the database is up and running before starting the installation.
For more information, see Installation of Multiple Components in One Database [page 127].
n If you want to install an additional application server instance (AAS) to an existing SAP system,
make sure that:
l There is exactly one entry in the /usr/sap/sapservices file for each SAP instance installed on
this host. Be sure to check that the entry refers to the correct profile.
l There are no profile backup files with an underscore “_” in their profile name. If so, you must
replace the “_” with a “.”.
Example
Rename /usr/sap/S14/SYS/profile/S14_DVEBMGS20_zsi-aix693p2_D20081204 to
/usr/sap/S14/SYS/profile/S14_DVEBMGS20_zsi-aix693p2.D20081204.
Procedure
1. Mount the Installation Master DVD.
Mount the DVDs locally. We do not recommend that you use Network File System (NFS),
because reading from DVDs mounted with NFS might fail.
If you need information about how to mount DVDs, see Mounting a CD / DVD for AIX [page 133].
2. Start SAPinst from the Installation Master DVD by entering the following commands:
cd <mountpoint_of_Installation Master_DVD>/DATA_UNITS/<product>_IM_<OS>_<DB>
./sapinst
Example
For example, if the mount point of the SAP Installation Master DVD is sapcd2, the operating system
is LINUX_X86_64, and the database is Oracle, the commands are as follows:
cd /sapcd2/DATA_UNITS/NW711_0_IM_LINUX_X86_64_ORA
./sapinst
Note
If you want to use a virtual host name and you have not already set the environment variable
SAPINST_USE_HOSTNAME [page 74] to specify the virtual host name, start SAPinst as follows:
./sapinst SAPINST_USE_HOSTNAME=<virtual host name>
Caution
n Make sure that the installation directory is not mounted with NFS, or there might be problems
when the Java Virtual Machine is started.
n Make sure that your current working directory is not an IM_<OS>_<DB> directory belonging to
another operating system.
For example, if your operating system is HP-UX PARISC and your database is Oracle, the
following commands are incorrect and cause an error:
$ cd /sapcd2/DATA_UNITS/<product>_IM_HPUX_IA64_ORA
$ /sapcd2/DATA_UNITS/<product>_IM_HPUX_PARISC_ORA/sapinst
The following commands are correct:
$ cd /sapcd2/DATA_UNITS/<product>_IM_HPUX_PARISC_ORA
$ /sapcd2/DATA_UNITS/<product>_IM_HPUX_PARISC_ORA/sapinst
3. In the Welcome screen, choose the required SAPinst installation option under the node SAP EHP1
for SAP NetWeaver Process Integration 7.1 Installation Options SAP Systems with <your database> .
For more information about available installation options, see SAPinst Installation Options [page 92].
4. Follow the instructions in the SAPinst 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, SAPinst displays the Parameter Summary
screen. This screen shows both the parameters that you entered and those that SAPinst set by
default. If required, you can revise the parameters before starting the installation.
5. To start the installation, choose Start.
SAPinst starts the installation and displays the progress of the installation. When the installation
has successfully completed, SAPinst shows the dialog Execution of <Option_Name> has been completed
successfully.
Note
n During the installation of the Oracle database instance, SAPinst stops the installation and
prompts you to install the Oracle database software [page 96].
This action is not required if you install an SAP system in an existing database (MCOD) [page 127].
After you have finished the installation of the Oracle database, you continue the database
instance installation by choosing OK in the SAPinst GUI of the database instance installation.
n Check SAP Note 841728 for known installation problems with Oracle 10g.
6. 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.
More Information
n Using SAPinst GUI [page 136]
n Interrupted Installation with SAPinst [page 137]
n Performing a Remote Installation with SAPinst [page 139]
n Starting SAPinst GUI Separately [page 140].
n Entries in the Services File Created by SAPinst [page 143]
n Troubleshooting with SAPinst [page 143]
Note
n Choose the required installation options from the tree structure exactly in the order they appear
for each system variant.
n If you want to use global accounts, which are configured on separate hosts, you must run the
installation option Operating System Users and Groups before you start the installation of the SAP
system (see table Software Life-Cycle Options below).
n If required, install an additional application server instance for a standard system (all instances on
one host) or distributed system by choosing <SAP System> Software Life-Cycle Options Additional
Application Server Instance Additional Application Server Instance .
Installation Options
You choose SAP Systems with <your database> to install a SAP system with usage types or software units.
Note
If you change a parameter with the Revise button on the Parameter Summary screen, the
installer takes you to the screen where you can change the parameter. Depending
on the changes, the installer might guide you through other screens containing
default parameters that it has already processed. This might also happen if you
press Back instead of Next on the screen
Note
You require at least usage type AS Java or AS ABAP. You can choose the usage types
or software units on the next screen.
n Distributed System
n High-Availability System
Note
Only valid for: HA (UNIX)
Make sure that you have configured the ASCS instance and the SCS instance
for the switchover cluster before starting this installation option.
End of: HA (UNIX)
Primary Application Installs a primary application server instance and enables additional usage
Server Instance types or software units
Additional Application Installs an additional application server instance
Server Instance
Caution
Perform this SAPinst option before you start the installation of your SAP
system.
n Prerequisites check
Choose Additional Preparations Prerequisites Check if you want to check your
hardware and software requirements before you start the installation.
Otherwise, SAPinst automatically checks the hardware and software
requirements during the installation with the Prerequisite Checker. If any
changes are necessary to the SAP system or operating system settings, SAPinst
automatically prompts you. For more information, see Running the Prerequisites
Checker in Standalone Mode [page 23].
LDAP Registration LDAP Support
Sets up LDAP support for an application server instance.
Choose this option once per SAP system and after you have:
1. Configured the Active Directory on a Windows host by choosing LDAP
Registration Active Directory Configuration
You have to configure the directory server only once. Afterwards all SAP
systems that should register in this directory server can use this setup.
Note
The option Active Directory Configuration is only available for Windows.
Process Flow
1. You update SAP-specific files in the Oracle stage area [page 96].
2. You perform steps for the AIX operating system [page 97]
3. You run the Oracle Universal Installer [page 97]
4. You install the current patch set [page 99]
5. You install required interim patches [page 100]
SAPinst extracts the Oracle RDBMS software to the staging area, usually
/oracle/stage/102_64/database.
The SAP folder located in /oracle/stage/102_64/database contains SAP-specific scripts as well
as the response files.
Before starting the Oracle software installation, you need to update this SAP folder so that the newest
versions of the scripts or response files are used.
Procedure
1. Rename the original SAP folder by performing one of the following:
n mv /oracle/stage/102_64/database/Disk1/SAP
/oracle/stage/102_64/database/Disk1/SAP_ORIG
n mv /oracle/stage/102_64/database/SAP
/oracle/stage/102_64/database/SAP_ORIG
2. Download the file RDBMS_SAP_64.zip attached to SAP Note 819830 and copy it to a temporary
location such as /tmp.
3. Extract the zip file by performing one of the following:
n cd /oracle/stage/102_64/database
unzip /tmp/RDBMS_SAP.zip
n cd /oracle/stage/102_64/database/Disk1
unzip /tmp/RDBMS_SAP.zip
You should now see the directory SAP extracted with the updated version of SAP-specific files.
To install the Oracle database software on the AIX operating system, you need to run the rootpre.sh
script to adapt the AIX kernel and also execute a command as the root user.
Prerequisites
If several Oracle instances run on one computer, you must shut these down before adapting the
kernel.
Procedure
1. Run the rootpre.sh script as follows:
a) Log on to the system with user ora<dbsid> if you are not already logged on.
b) Change to the directory /oracle/stage/102_64/database/Disk1/rootpre using the following
command:
cd /oracle/stage/102_64/database/Disk1/rootpre
c) Make sure that the user root is assigned the environment of ora<dbsid>:
su root
d) Call the script rootpre.sh:
./rootpre.sh
e) Log off with the user root:
exit
2. Remove any currently unused modules in kernel and library memory by entering the following
command as user root:
# /usr/sbin/slibclean
To install the Oracle database software you run the Oracle Universal Installer (OUI).
Procedure
1. Log on as user ora<dbsid>.
Since you are already logged on as user root, you can switch to user ora<dbsid> by entering the
following command:
su – ora<dbsid>.
2. If you install Oracle database software with Release 10.2.0.1 or 10.2.0.x on a new operating system or
a new operating system version, the Oracle Universal Installer might not yet recognize or support
this operating system. Follow the instructions in SAP Note 980426.
3. Make sure that the DISPLAY environment variable is set to <host_name>:0.0, where <host_name>
is the host on which you want to display the GUI of the Oracle Universal Installer (OUI).
Shell Used Command
Bourne shell (sh) DISPLAY=<host_name>:0.0
export DISPLAY
4. Start the OUI with the user ora<dbsid> by entering one of the following:
n cd /oracle/stage/102_64/database/Disk1/SAP
./RUNINSTALLER
n cd /oracle/stage/102_64/database/SAP
./RUNINSTALLER
You see a message that a response file is being generated. It might take several minutes before you
see the OUI screen.
5. Respond to the OUI as follows:
Prompt or Condition Action
When you run the OUI for the first time on this host, Accept the OUI proposal and continue by choosing
a dialog box, Specify File Locations Destination..., appears. Next.
This dialog box proposes the inventory location as
/oracle/oraInventory and the installation group
as dba.
Available Product Components Confirm the default selections by choosing Next.
Product-Specific Prerequisite Checks For items that are flagged as warnings or failed,
This phase checks if all necessary requirements for review the cause for the warning or failure on screen
installing and running the database have been met. and fix the problem if possible.
Alternatively you can verify the items manually
and confirm them by clicking the checkbox. You
can find details about each check by clicking on the
relevant item.
6. At the end of the installation, in case there are any Configuration Assistants that have been started
automatically (for example, Oracle Net) choose Cancel and terminate the Net Config Assistant.
You can ignore messages that some of the config assistants failed to complete successfully.
The Installer finishes, reporting that the Oracle installation was successful. It also informs
you about the services that it started. You can find the port numbers for these services in the
$ORACLE_HOME/install/portlist.ini file.
7. To exit the OUI, choose Exit and confirm the dialog box that appears.
Note
You can now access the Oracle 10.2 online documentation, which was installed during
the last step. You can find the entry point to the Oracle online documentation at
$ORACLE_BASE/doc/index.htm.
After the Oracle database software installation, you need to install the current Oracle Database
10g Release 2 (10.2) patch set.
Prerequisites
n For more information on the latest patch set available for Oracle 10.2 see SAP Note 871735.
n For more information about how to install the patch set, see the patch set README file.
Caution
Do not perform any of the post-installation steps mentioned in the patch set README file. The
post-installation steps are to be performed only on an existing Oracle 10.2 database.
At this stage you have only installed the Oracle 10.2 software. The database itself is still not Oracle
10.2. Therefore, make sure that you do not perform the post-installation steps mentioned in
the README file.
n You only have to install the latest (that is, the current) patch set.
Procedure
1. Log on at the operating system level with the ora<dbsid> user.
2. Install the patch set as described on the patch set README file.
After the Oracle database software installation, you need to install required interim patches, using the
Oracle tool OPatch. You need these interim patches in addition to the current patch set.
Prerequisites
n Make sure you have already installed the current patch set [page 99].
n Check SAP Note 871096 to find the list of required patches to be installed.
n Check SAP Note 839182 for instructions on how to use OPatch.
Procedure
1. Log on at the operating system level as the ora<dbsid> user.
2. Install the patches, following the instructions in SAP Note 839182.
Note
You can apply the patches in any order.
We recommend that you first copy the patches to a directory called ora_patches in $ORACLE_HOME.
3. After all the patches have been successfully applied, you can query the status with the following
command:
$ORACLE_HOME/OPatch/opatch lsinventory
This command lists all the patches that have been applied to the software installation.
5 Post-Installation
This section includes the post-installation steps that you have to perform for the:
n Standard, distributed, or high-availability system
n Additional application server instance
n Standalone host agent
Detailed information about the steps is available in the relevant chapter.
Note
In a standard system, all mandatory instances are installed on one host. Therefore, if you are
installing a standard system, you can ignore references to other hosts.
1. If required, you perform a full installation backup [page 119] immediately after the installation has finished.
2. You check whether you can log on to the SAP system [page 102].
Note
In a distributed or high-availability system you check whether you can log on to every instance of
the SAP system that you installed.
13. If you want or need to implement the E2E Root Cause Analysis scenario, you have to perform
post-installation steps for the Diagnostics Agent [page 114] for the application server instances (primary
application server instance and additional application server instance(s)).
14. You decide on your production client [page 116].
15. If required, you perform the client copy [page 117].
16. You perform a full installation backup [page 119].
1. If required, you perform a full installation backup [page 119] immediately after the installation has finished.
2. You check whether you can log on to the additional application server instance [page 102].
3. You configure user management [page 110].
4. You ensure user security [page 111].
5. You perform a full installation backup [page 119].
6. If you want or need to implement the E2E Root Cause Analysis scenario, you have to perform
post-installation steps for the Diagnostics Agent [page 114] for the additional application server instance.
You need to check that you can log on to the application server using the following standard users:
ABAP Users
Java User
Prerequisites
n The SAP system is up and running.
n You have already installed a front end.
Note
You can alternatively enter the command guilogon in the SAP GUI installation directory
to start SAP GUI for Java.
Note
You must always enter a two-digit number for <Instance_Number>. For example, do not enter 1
but instead enter 01.
Example
If you installed the SAP NetWeaver Application Server Java on host saphost06 and the instance
number of your SAP NetWeaver Application Server Java is 04, enter the following URL:
http://saphost06:50400
The start page of the SAP NetWeaver Application Server Java appears in the Web browser.
2. Log on by pressing the icon of any of the provided applications, for example the SAP NetWeaver
Administrator.
Note
To deactivate AS Java, proceed as follows:
1. Call transaction RZ11.
2. In the instance profile of every installed SAP instance, set parameter rdisp/j2ee_start from 1
to 0.
You must install a permanent SAP license. When you install your SAP system, a temporary license
is automatically installed. This temporary license allows you to use the system for only four weeks
from the date of installation.
Caution
Before the temporary license expires, you must apply for a permanent license key from SAP.
We recommend that you apply for a permanent license key as soon as possible after installing your
system.
Procedure
Install the SAP license as described in theSAP library [page 12] at
Administrator’s Guide Configuration of SAP NetWeaver General Configuration Tasks License Configuration
More Information
For more information about SAP license keys and how to obtain them, see SAP Service Marketplace at
http://service.sap.com/licensekey.
Every SAP system needs a central license, which is determined by the environment of the message
server. Since SAP’s high-availability (HA) solution stipulates two or more cluster nodes (host
machines) where the message server is enabled to run, you have to order as many license keys [page 104]
as you have cluster nodes.
When we receive confirmation from your vendor that you are implementing a switchover
environment, we provide the required license keys for your system, one key for each machine.
SAP has implemented a license mechanism for transparent and easy use with switchover solutions
and clustered environments. Your customer key is calculated on the basis of local information on the
message server host. This is the host machine where the ABAP central services instance (ASCS) runs.
There is no license problem when only the database is switched over.
Prerequisites
The SAP system is up and running.
Procedure
1. Make sure that the ABAP central services instance (ASCS) on the primary host, node A, is running.
2. To find the hardware ID of the primary host, log on to any application server instance of the
SAP system and call transaction SLICENSE.
3. Perform a switchover of the ABAP central services instance (ASCS) to another node in the cluster
and repeat the previous step.
Repeat this for all remaining nodes in the cluster.
4. To obtain the two license keys, enter the hardware IDs for the primary and backup hosts at:
http://service.sap.com/licensekey
5. To import the files containing the two licenses, log on to any application server instance of the
SAP system and call transaction SLICENSE.
6. Perform a switchover of the ABAP central services instance (ASCS) to another node in the cluster
and repeat the previous step.
Repeat this for all remaining nodes in the cluster.
Result
The license is no longer a problem during switchover. This means you do not need to call saplicense
in your switchover scripts.
End of: HA (UNIX)
SAP offers its customers access to support and a number of remote services such as the EarlyWatch
Service or the GoingLive Service. Therefore, you have to set up a remote network connection to SAP.
For more information, see SAP Service Marketplace at http://service.sap.com/remoteconnection.
You use this procedure to apply the latest kernel and Support Packages for your SAP system from SAP
Service Marketplace.
Prerequisites
Make sure that you read the release notes for your SAP system before you apply Support Packages.
The release notes might include information about steps you have to perform after you have applied
the Support Packages. For more information, see http://service.sap.com/releasenotes.
Procedure
Download and apply the latest Kernel and Support Packages as described in the Support Package
Stack Guide ‒ SAP NetWeaver Process Integration 7.1 including Enhancement Package 1 ‒ SPS<current number> at
http://service.sap.com/maintenanceNWPI71.
When you have installed your SAP ABAP system, you have to perform the following initial
configuration steps:
n Perform a consistency check
n Configure the transport management system
n Perform basic operations
n Configure the number of work processes
n Configure kernel parameters
n Install languages and performing language transport
n Configure the integrated Internet Transaction Server (ITS)
n Make your newly installed SAP system known to your SAP Solution Manager
n Maintain your company address for initial users
n Configure business applications
For more information, see the appropriate sections below.
Prerequisites
You have logged on to the ABAP application server as described in Logging On to the Application Server
[page 102].
Procedure
Enter transaction code SICK (SAP Initial Consistency Check) or choose:
Tools Administration Administration Installation Check
For more information, see the SAP Library [page 12] at Function-Oriented View Application Server ABAP
Administration Tools for AS ABAP Tools for Monitoring the System Consistency Check
For more information, see the SAP Library [page 12]at Function-Oriented View Application Server ABAP
Administration Tools for AS ABAP Change and Transport System
To configure the SAP ITS, perform the procedure described in SAP Library [page 12] at Function-Oriented
View Application Server ABAP Presentation Development on AS ABAP Web UI Technology SAP ITS in
SAP NetWeaver Application Server
Making your Newly Installed SAP System Known to your SAP Solution
Manager
Make your newly installed SAP system known to your SAP Solution Manager as described in the SAP
Library at http://help.sap.com SAP Solution Manager SAP Solution Manager 7.0 <current SP>
SAP Solution Manager Basic Settings Solution Manager System Landscape Create Systems
When you have installed your SAP Java system, you have to perform the following initial
configuration steps:
n Create a second administrator user.
n Check and configure the necessary communication ports.
n Check the Java Virtual Machine (Java VM) settings.
For more information, see the appropriate sections below.
More Information
You can find more information that might be relevant for running your Java system in the Java
manuals [page 154].
During the installation, the UME of your SAP system was configured to use AS ABAP as data source
(see table User Management Engine in Basic SAP System Parameters [page 42]). However, you can still change
the data source of the UME to a directory service.
For more information about changing the data source after installation and about related restrictions,
see the SAP Library [page 12] at Function-Oriented View Security Identity Management Identity Management
of the Application Server Java Configuring Identity Management UME Data Sources
You need to ensure the security of the users that SAPinst created during the installation. The tables
below at the end of this section list the following users:
n Operating system users
n SAP system users
n Users for SAP NetWeaver Process Integration (PI)
During the installation, SAPinst by default assigned the master password to all users created during
the installation unless you specified other passwords.
If you change user passwords, be aware that SAP system users might exist in multiple SAP system
clients (for example, if a user was copied as part of the client copy). Therefore, you need to change the
passwords in all the relevant SAP system clients.
Recommendation
In all cases, the user ID and password are encoded only when transported across the network.
Therefore, we recommend using encryption at the network layer, either by using the Secure Sockets
Layer (SSL) protocol for HTTP connections, or Secure Network Communications (SNC) for the SAP
protocols dialog and RFC.
For more information, see the SAP Library [page 12]:
Function-Oriented View Security Network and Transport Layer Security
Caution
Make sure that you perform this procedure before the newly installed SAP system goes into
production.
Prerequisites
During the installation, SAPinst assigns the master password to all users that were created during
the installation.
If you change user passwords, be aware that SAP system users might exist in multiple SAP system
clients (for example, if a user was copied as part of the client copy). Therefore, you need to change the
passwords in all the relevant SAP system clients.
Caution
SAPinst applies the master password to users SAP* and DDIC only for SAP system clients 000 and 001,
but not to users SAP*, DDIC, and EARLYWATCH in client 066.
Instead, SAPinst always assigns the following passwords to these users in client 066:
SAP*: 06071992
DDIC: 19920706
EARLYWATCH: support
See also Master Password in Basic SAP System Parameters [page 42].
For the users listed below, take the precautions described in the relevant SAP security guide, which
you can find on SAP Service Marketplace at http://service.sap.com/securityguide:
Recommendation
We recommend that you use strong
password and auditing policies for this
user.
Guest The name that you gave this user This user exists in at least clients 000 and
during the installation or the default 001 of the ABAP system and in the User
name J2EE_GUEST Management Engine (UME) of the Java
system. It is used for anonymous access.
Communication user for The name that you gave this user This user exists in at least clients 000
Application Server Java during the installation or the default and 001 of the ABAP system and in the
name SAPJSF. User Management Engine (UME) of
the Java system. It is used for a remote
function call (RFC) between the ABAP
system and the Java system.
More Information
n SAP Library [page 12] Identity Management Identity Management of the Application Server ABAP User
and Role Administration of AS ABAP
n SAP Library [page 12] Security Identity Management Identity Management of the Application Server
Java .
SAP currently provides an HTML-based solution for the online documentation, including the
Application Help, Glossary, Implementation Guide (IMG), and Release Notes. You can display the
documentation with a Java-compatible Web browser on all front-end platforms supported by SAP.
You can always find the up-to-date SAP online documentation at the SAP Library [page 12].
Process
Install the SAP online documentation in your SAP system as described in the README.TXT file
contained in the root directory of the online documentation DVD, delivered as part of the installation
package.
To implement the E2E Root Cause Analysis scenario, you have to configure the Diagnostics Agent.
Prerequisites
You have installed an application server instance.
Procedure
Plan the implementation of the Diagnostics Agent for SAP Solution Manager as described in the Root
Cause Analysis Installation and Upgrade Guide, which you can find at http://service.sap.com/diagnostics.
Only valid for: Application Server (AS);BI Java;Development Infrastructure (DI);Enterprise Portal (EP);Mobile;Process Integration (PI)
This section provides information about how to run the Configuration Wizard for the SAP NetWeaver
usage types.
Caution
You can run the configuration wizard only once and only directly after installing and patching
your SAP system.
You cannot use the configuration wizard after:
n Upgrade
n Enabling additional usage types
In these cases, you need to manually perform the corresponding configuration steps.
This does not apply to connectivity configuration templates. You can run them several times
and after all use cases.
For more information about how to access the configuration documentation, see Accessing
Configuration Documentation in the SAP Solution Manager [page 118].
You can also find information about the automated configuration steps, connectivity configuration
templates and the Configuration Wizard itself at
http://help.sap.com/nw71 SAP NetWeaver Process Integration 7.1 Library English SAP NetWeaver
Process Integration Library Administrator’s Guide Configuration of SAP NetWeaver Configuration Wizard .
Prerequisites
You must have applied the latest kernel and all ABAP and Java Support Packages to your system. For
more information, see Applying the Latest Kernel and Support Packages [page 105].
Note
You can find the latest LMTOOLS patch at http://service.sap.com/swdc Support Packages and
Patches Search for Support Packages and Patches . Search for LMTOOLS*P. Download and save the sca
file. Apply the patch using the SDM.
Procedure
1. After SAPinst has finished, open the SAP NetWeaver Administrator by entering the following URL
in a browser: http://<host>:<http_port>/nwa.
2. Log on as user j2ee_admin.
3. In the SAP NetWeaver Administrator, choose Configuration Management Scenarios Configuration
Wizard .
4. Select the task NetWeaver Initial Setup in the list and choose Start.
Note
The task NetWeaver Initial Setup contains all basic configuration steps for your installed system. You
do not need to run any additional configuration tasks.
More Information
n For more information about the Configuration Wizard and the configuration documentation, see
the configuration structure of your implementation project in SAP Solution Manager.
n SAP Note 1107808 Collective Note: Configuration Wizard 7.1
End of: Application Server (AS);BI Java;Development Infrastructure (DI);Enterprise Portal (EP);Mobile;Process Integration (PI)
A client is a self-contained unit in an SAP system with separate master records and its own set of
tables. During the installation, AS Java was configured against client 001 by default. However, in many
cases your production client must be a copy of SAP reference client 000. This section describes how
you can use a client other than the default client 001 as your production client.
You can choose one of the following methods to change the default production client:
n You install an SAP system based on AS ABAP and AS Java (dual-stack system) and then reconnect
AS Java to the ABAP server.
n You install an SAP system based on AS ABAP and AS Java (dual-stack system) and then do not
reconnect AS Java.
Only valid for: Process Integration (PI)
Caution
If you want to change the default production client for usage type PI, see SAP Note 1115280.
Procedure
1. You install the ABAP+Java system as described in this documentation.
2. You perform the client copy [page 117] using SAP reference client 000 as source client.
3. If you need the Java users in your ABAP production client, you have to manually configure the
connection of the Java part to the ABAP part. To do this, reconnect the Java part to the production
client as described in the SAP Library [page 12] at Function-Oriented View Security Identity
Management Identity Management of the Application Server Java Configuring Identity Management UME
Data Sources User Management of Application Server ABAP as Data Source Changing the ABAP Client for
the UME After a Client Copy
For more information about Java users, see Ensuring User Security [page 111].
SAPinst creates three ABAP clients during the installation, client 000, client 001, and client 066.
During the installation, AS Java was configured against client 001 by default. If you want to use client
001 as the production client, you do not have to perform the client copy.
However, in many cases your production client must be a copy of the SAP reference client 000. For
more information and for exceptions, see Production Client Considerations [page 116]
Only valid for: Process Integration (PI)
Caution
If you want to change the default production client for an SAP system with Process Integration
(PI), see SAP Note 1115280.
Procedure
1. Maintain the new client with transaction SCC4.
2. Activate kernel user SAP*:
a) Set the profile parameter login/no_automatic_user_sapstar to 0.
b) Restart the application server.
3. Log on to the new client with kernel user SAP* and password PASS.
4. Copy the client with transaction SCCL and profile SAP_CUST.
5. Check the log files with transaction SCC3.
6. Create the required users. These users must have at least the authorizations required for user
administration and system administration. Create a user SAP* with all required authorizations
for this user. If you want to have other users for system administration, you can also create user
SAP* without authorizations.
More Information
For more information about the client copy and about how to perform it, see the SAP Library [page
12] at Function-Oriented View Application Server ABAP Administration Tools for AS ABAP Change and
Transport System BC ‒ Client Copy and Transport
To access configuration documentation in the SAP Solution Manager, you have to connect your
newly-installed SAP system to the SAP Solution Manager.
Prerequisites
n Make sure that SAP Solution Manager is available in your system landscape. If required, install SAP
Solution Manager as described in the documentation Installation Guide ‒ SAP Solution Manager 7.0 on
<OS>: <Database>.
n You have connected your SAP system to the SAP Solution Manager as described in the
documentation CONFIGURATION GUIDE ‒ SAP Solution Manager 7.0 as of SP<current SP level>.
The installation guides and the configuration guide for SAP Solution Manager 7.0 are available at
http://service.sap.com/instguides SAP Components SAP Solution Manager Release 7.0 .
Procedure
1. Log on to your SAP Solution Manager system.
2. To be able to access configuration documentation, create a project as follows:
a) Create your project with transaction SOLAR_PROJECT_ADMIN for project administration.
b) Connect your SAP system to the SAP Solution Manager with transaction SMSY for the SAP
Solution Manager system landscape.
c) Create a project structure and add the required scenarios for your SAP system to your project
structure with the Business Blueprint transaction SOLAR01,
d) Add your SAP system configuration structures to your project structure with the configuration
transaction SOLAR02.
For more information about creating projects, assigning scenarios to projects, and creating
configuration structures, see the SAP Library at http://help.sap.com SAP Solutions SAP
Solution Manager SAP Solution Manager 4.0 <current SP> SAP Solution Manager Implementing and
Upgrading SAP Solutions Projects Project Administration Create/Change Project
Result
You can now configure your SAP system according to the configuration documentation in SAP
Solution Manager.
You have to perform the following steps on each host where the host agent is installed. This applies
whether the host agent is installed on a host within the SAP system or standalone on another host.
Procedure
1. You check whether the installed services are available as follows:
a) Log on as user sapadm.
b) Check whether the following services are available:
n The control program saphostexec
n The operating system collector saposcol
n The SAP NetWeaver Management agent SAPHostControl (sapstartsrv in host mode)
Note
When the host is booted, the startup script sapinit automatically starts the required
executables.
2. You configure the host agent according to your requirements.
More Information
For more information, see the SAP Library [page 12]:
Function-Oriented View Application Server ABAP Administration Tools for AS ABAP Monitoring in the
CCMS Infrastructure of the SAP NetWeaver Management Agents
You must perform a full offline backup after the configuration of your SAP system. If required,
you can also perform a full offline backup after the installation (recommended). In addition, we
recommend you to regularly back up your database.
Caution
Make sure that you fully back up your database so that you can recover it later if necessary.
Note
This list is only valid for a standard installation.
Prerequisites
n If required, you have completed client maintenance, such as the client copy [page 117].
n You have logged on [page 102] as user <sapsid>adm and stopped the SAP system and database [page 144].
This procedure works on all hardware platforms. For more information about operating
system-specific backup procedures, see your operating system documentation.
Caution
Check for modifications in the existing parameter files before you overwrite them when restoring
the backup.
2. Go to the location in your file system where you want to restore the backup image.
3. Restore the data with the following commands:
n From tape:
cat <tape_device> | compress —cd | tar —xf —
n From the file system:
cat ARCHIVENAME.tar.Z | compress —cd | tar —xf —
6 Additional Information
Here you can find additional information about the installation of your SAP system.
There is also information about how to delete an SAP system.
n Integration of LDAP Directory Services [page 123].
n Installing Multiple Components in One Database (MCOD) [page 127]
n Creating a User for LDAP Directory Access [page 127].
n Checking and Modifying the AIX Kernel [page 129]
n Setting up Swap Space for AIX [page 130]
n Creating AIX Groups and Users [page 131]
n Setting Up File Systems and Raw Devices for AIX [page 132]
n Mounting a CD / DVD for AIX [page 133].
n Exporting and Mounting Directories via NFS for AIX [page 134]
n Additional Information About SAPinst [page 136]
n Heterogeneous SAP System Installation [page 144]
n Starting and Stopping the SAP System [page 144]
n Accessing the Java manuals [page 154].
n Deleting an SAP System [page 155]
n Deleting the Oracle Database Software [page 159]
n Deleting a Diagnostics Agent [page 159]
This section explains the benefits of using the SAP system with the Lightweight Directory Access
Protocol (LDAP) directory and gives an overview of the configuration steps required to use an SAP
system with the directory.
LDAP defines a standard protocol for accessing directory services, which is supported by various
directory products such as Microsoft Active Directory, and OpenLDAP slapd. Using directory services
enables important information in a corporate network to be stored centrally on a server. The
advantage of storing information centrally for the entire network is that you only have to maintain
data once, which avoids redundancy and inconsistency.
If an LDAP directory is available in your corporate network, you can configure the SAP system to use
this feature. For example, a correctly configured SAP system can read information from the directory
and also store information there.
Note
The SAP system can interact with the Active Directory using the LDAP protocol, which defines:
n The communication protocol between the SAP system and the directory
n How data in the directory is structured, accessed, or modified
If a directory other than the Active Directory also supports the LDAP protocol, the SAP system can
take advantage of the information stored there. For example, if there is an LDAP directory on a UNIX
or Windows server, you can configure the SAP system to use the information available there. In the
following text, directories other than the Active Directory that implement the LDAP protocol are
called generic LDAP directories.
Caution
This section does not provide information about the use of LDAP directories with the LDAP
Connector. For more information about using and configuring the LDAP Connector for an ABAP
system, see the SAP Library [page 12]:
Function-Oriented View Security Identity Management Identity Management of the Application Server
ABAP Configuration of Identity Management Directory Services LDAP Connector
Prerequisites
You can only configure the SAP system for Active Directory services or other LDAP directories if
these are already available on the network. As of Windows 2000 or higher, the Active Directory
is automatically available on all domain controllers. A generic LDAP directory is an additional
component that you must install separately on a UNIX or Windows server.
Features
In the SAP environment, you can exploit the information stored in an Active Directory or generic
LDAP directory by using:
n SAP Logon
n The SAP Microsoft Management Console (SAP MMC)
n The SAP Management Console (SAP MC)
For more information about the automatic registration of SAP components in LDAP directories and
the benefits of using it in SAP Logon and SAP MMC, see the documentation SAP System Information
in Directory Services at:
http://service.sap.com/msplatforms Microsoft Windows Server
For more information about the SAP MC and about how to configure it to access LDAP Directories,
see the documentation SAP Management Console in the SAP Library [page 12]:
Administrator’s Guide Technical Operations for SAP NetWeaver Administration of SAP NetWeaver Systems AS
Java (Application Server Java) Administration Administration Tools SAP Management Console
SAP Logon
Instead of using a fixed list of systems and message servers, you can configure SAP Logon in the
sapmsg.ini configuration file to find SAP systems and their message servers from the directory. If
you configure SAP logon to use the LDAP directory, it queries the directory each time Server or Group
selection is chosen to fetch up-to-date information on available SAP systems.
To use LDAP operation mode, make sure that the sapmsg.ini file contains the following:
[Address]
Mode=LDAPdirectory
LDAPserver=
LDAPnode=
LDAPoptions=
Distinguish the following cases:
n If you use an Active Directory, you must set LDAPoptions=“DirType=NT5ADS”. For more
information, see the SAP system profile parameter ldap/options.
n You must specify the directory servers (for example, LDAPserver=pcintel6 p24709) if either of
the following is true:
l The client is not located in the same domain forest as the Active Directory
l The operating system does not have a directory service client (Windows NT and Windows 9X
without installed dsclient).
For more information, see the SAP system profile parameter ldap/servers.
n For other directory services, you can use LDAPnode to specify the distinguished name of the SAP
root node. For more information, see the SAP system profile parameter ldap/saproot.
SAP MMC
The SAP MMC is a graphical user interface (GUI) for administering and monitoring SAP systems from
a central location. It is automatically set up when you install an SAP system on Windows. If the SAP
system has been prepared correctly, the SAP MMC presents and analyzes system information that
it gathers from various sources, including the Active Directory.
Integrating the Active Directory as a source of information has advantages for the SAP MMC. It can
read system information straight from the directory that automatically registers changes to the
system landscape. As a result, up-to-date information about all SAP application servers, their status,
and parameter settings is always available in the SAP MMC.
If you need to administer distributed systems, we especially recommend that you use the SAP MMC
together with Active Directory services. You can keep track of significant events in all of the systems
from a single SAP MMC interface. You do not need to manually register changes in the system
configuration. Instead, such changes are automatically updated in the directory and subsequently
reflected in the SAP MMC.
If your SAP system is part of a heterogeneous SAP system landscape that comprises systems or
instances both on Unix and Windows operating systems, you can also use the SAP MMC for operating
and monitoring the instances running on Unix.
SAP MC
The SAP MC is a graphical user interface (GUI) for administering and monitoring SAP systems from
a central location. The SAP MC is automatically set up when you install an SAP system on any
platform. If the SAP system has been prepared correctly, the SAP MC presents and analyzes system
information that it gathers from various sources, including a generic LDAP Directory.
Integrating a generic LDAP Directory as a source of information has advantages for the SAP MC. It
can read system information straight from the directory that automatically registers changes to the
system landscape. As a result, up-to-date information about all SAP application servers, their status,
and parameter settings is always available in the SAP MC.
Note
You have to perform the directory server configuration only once. Then all SAP systems that need
to register in this directory server can use this setup.
If you use LDAP directory services, you have to set up a user with a password on the host where the
SAP system is running. This permits the SAP system to access and modify the LDAP directory.
For more information, see section Setting Up the Active Directory Services in the Windows installation
guide for your SAP system solution and database.
Prerequisites
During the SAP instance installation you chose to configure the SAP system to integrate LDAP services.
Procedure
1. Log on as user <sapsid>adm.
2. Enter:
ldappasswd pf=<path_and_name_of_instance_profile>
3. Enter the required data.
Example
The following is an example of an entry to create an LDAP Directory User:
CN=sapldap,CN=Users,DC=nt5,DC=sap-ag,DC=de
You can install multiple SAP systems in a single database. This is called Multiple Components
in One Database (MCOD).
MCOD is available with all SAP components. This technology is available on all the major databases
for the SAP system, in line with our commitment to deliver platform-independent solutions.
Using this technology is as easy as installing a separate component. No extra effort is required because
the MCOD installation is fully integrated into the standard installation procedure. MCOD is not an
additional installation option. Instead, it is an option of the database instance installation.
There are two MCOD scenarios:
Prerequisites
n For about MCOD and its availability on different platforms, see http://service.sap.com/mcod.
n Since SAP does not support mixed solutions with MCOD, your SAP system must contain Unicode
SAP instances only.
n Improved sizing required
You can calculate the CPU usage for an MCOD database by adding up the CPU usage for each
individual SAP system. You can do the same for memory resources and disk space.
You can size multiple components in one database by sizing each individual component using the
Quick Sizer tool and then adding the requirements together. For more information about the
Quick Sizer, see http://service.sap.com/sizing.
Features
n Reduced administration effort
n Consistent system landscape for backup, system copy, administration, and recovery
n Increased security and reduced database failure for multiple SAP systems due to monitoring and
administration of only one database
n Independent upgrade
In an MCOD landscape, you can upgrade a single component independently from the other
components running in the same database, assuming that the upgraded component runs on
the same database version. However, if you need to restore a backup, be aware that all other
components are also affected.
Note
Special MCOD considerations and differences from the standard procedure are listed where relevant
in the installation documentation.
Constraints
n We strongly recommend that you test MCOD in a test or development system. We recommend
that you run MCOD systems in the same context. We do not recommend that you mix test,
development, and production systems in the same MCOD.
n In the event of database failure, all SAP systems running on the single database are affected.
n Automated support in an MCOD landscape for the following administrative tasks depends on
your operating system and database:
l Copying a single component from an MCOD landscape to another database at database level.
l De-installing a single component from an MCOD landscape requires some additional steps.
You can use a remote connection to SAP support to request help with these tasks. For more
information, see http://service.sap.com/remoteconnection.
n When you use stopsap in an MCOD system with two primary application server instances, only
one primary application server instance is stopped. Therefore, you must first stop the other SAP
system with stopsap R3 to make sure that the database is also stopped.
n You cannot install a Unicode SAP system with a non-Unicode SAP system in one database.
n For the second SAP system, you must use the same DBSID as for the first SAP system.
n If you install a system into an existing database (MCOD), the SYSTEM tablespace must contain
at least 400 MB of free space. If there is not enough space left, increase the size of this tablespace
with BRSPACE or BRTOOLS.
n If you decide to turn off archive log mode during the database load phase of the installation, you
need to plan downtime for all MCOD systems sharing the database.
To run an SAP system on AIX with an Oracle database, you must check and ‒ if necessary ‒ modify
the UNIX operating system kernel.
Recommendation
We recommend that all UNIX kernel modifications be performed by your UNIX system
administrator.
Procedure
1. Asynchronous I/O: If the database is installed using file systems, the settings for asynchronous I/O
(aio) should be as follows:
maxservers = minservers = 1.2 * number of data files used for the database.
Set these values as follows:
a) Enter:
smitty aio or
smit aio
b) Select Change / Show Characteristics of Asynchronous I/O.
c) Enter the appropriate numbers for MINIMUM and MAXIMUM number of servers.
Note
If maxserver is greater than minserver, the surplus asynchronous I/O processes are charged
against the database system rather than root, and have a lower scheduling priority. Experience
shows that all processes become active very quickly and, once active, the asynchronous I/O
servers are never stopped. Therefore it is simpler and more efficient to set them to the same
value at startup.
2. The setting for Maximum number of processes allowed per user may need to be increased on the database
server. If you have increased the number of maxservers, then you should check this setting to
make sure that the Maximum number of processes allowed per user is at least greater than the maximum
number of aioservers. This is not an issue if the values set as recommended above. Actually,
it must be greater than the sum of the maximum number of aioservers plus all of the other
processes of the ora<dbsid> user.
a) As a rule of thumb, set maxprocs to the following:
n Small system: 512
n Medium system: 2048
n Large system: 4096
If you are not sure which value is applicable, choose the higher value.
Note
Setting maxprocs to a higher value than the number of processes that are actually used
does not cause any extra overhead.
b) Set the Maximum number of Processes allowed per user to be greater than maxservers plus the result
from step a.:
A) Enter:
smitty or
smit
B) Select System Environments.
C) Select Change / Show Characteristics of Operating System.
D) Enter the appropriate number for Maximum number of processes allowed per user, and choose Enter.
3. Adjust the minperm and maxperm settings according to SAP Note 973227.
Example
passwd <sapsid>adm
Note
If you are using large file enabled file systems, set the field Soft FILE size to -1 (unlimited).
More Information
For more information about the users and groups that are created either by SAPinst or manually, see
Creating Operating System Users [page 60].
Note
If you want to create file systems larger than 2 GB, see SAP Note 129439.
Note that large files can lead to performance degradation due to access synchronization over the
nodes. For performance reasons, smaller files are recommended for very active data.
1. Create one logical volume for each file system listed in the appropriate SAP profile:
a) Using SMIT, choose Physical & Logical Storage Logical Volume Manager Logical Volumes Add a
Logical Volume .
b) Enter a volume group name, for example, sapr3vg.
c) Enter a logical volume name, for example, lvsap01.
d) Enter the number of logical partitions.
e) Press F3 until the Physical & Logical Storage menu appears.
2. Create the file systems.
a) Using SMIT, choose Physical & Logical Storage File Systems Add/Change/Show/Delete File Systems
Journaled File Systems Add a Journaled File System on a previously defined Logical Volume Add a Standard
Journaled File System .
If you want to use large enabled file systems for files larger than 2 GB, you have to choose Add a
Large File Enabled Journaled File System instead of Add a Standard Journaled File System.
If you want to use JFS2 file systems, you have to choose Enhanced Journaled File System instead
of Journaled File System.
b) To get a list of logical volumes, choose F4 .
c) Select one logical volume.
Caution
Select the logical volume with the desired size.
d) Enter mount point as given in the file system list files.
Example
/oracle/<DBSID>/sapdata1
Note
The logical volume can be accessed through /dev/r<name of raw log.vol>.
Example
A logical volume called lvsap02 points to the device name /dev/rlvsap02.
3. Accessing raw devices:
It is not necessary to create a link to access the volume.
Note
<medium-mountdir> refers to either <cd-mountdir> or <dvd-mountdir>.
Procedure
1. Log on as user root.
2. Add a CD / DVD file system.
a) Enter the command smitty.
b) Choose Physical & Logical Storage File Systems Add / Change / Show / Delete File Systems CDROM
File Systems Add a CDROM File System .
c) To get a list of device names, choose F4 .
Select a device name.
d) Enter the mount point <medium-mountdir>.
Example
<medium-mountdir> is /sapcd
e) Choose ENTER .
f) To exit smitty, choose F10 .
3. Mount the CD / DVD as follows:
Note
Alternatively, you can mount the CD / DVD manually with the following command:
mount -v cdrfs -r /dev/cd0 /sapcd.
n Manually
n Using the System Management Interface Tool (SMIT)
Procedure
To mount directories via NFS from the host where the directory to be mounted resides:
1. Log on as user root.
2. To start NFS services at the host where the directory to be mounted resides, use SMIT as follows:
a) Enter the command smitty.
b) Choose Communications Applications and Services NFS Network File System (NFS) Configure NFS
on this System Start NFS .
c) In the line Start NFS now, on system restart or both, enter: both.
d) Choose ENTER .
3. Export the directory (for example <sapmnt>/<SAPSID>/exe) with read or read-write access for
the host where the additional instance runs:
a) Enter the command smitty.
b) Choose Communications Applications and Services NFS Network File System (NFS) Add a Directory
to Exports List .
c) Enter the path of the directory that you want to export (for example, <sapmnt>/<SAPSID>/exe).
d) Choose export mode (use read-write or read-only as required by SAP). In the line HOSTS allowed
root access, enter the name of the host where the additional instance runs. For security reasons,
make sure that this root access is disabled after the installation.
e) In the line Export directory now, system restart or both, enter: both
f) Choose ENTER .
4. Create the mount point at the host where the additional instance runs:
/usr/bin/mkdir <sapmnt>/<SAPSID>/SYS/exe
5. Mount the directory on the host where the additional instance runs.
a) Enter the command smitty.
b) Choose Communications Applications and Services NFS Network File System (NFS) Add a File
System for Mounting .
c) Enter the path name of the mount point.
d) Enter the path name of the remote directory (the directory of the primary application server
instance).
e) Enter the host where the remote directory resides.
f) Set Mount now, add entry to /etc/filesystems or both to both.
g) Set /etc/filesystems entry will mount the directory on system RESTART to yes.
h) Change Mount file system soft or hard to soft and press ENTER.
6. If you exported the directory with read-write access, check if the host where the additional instance
is to run has write access to directory <sapmnt>/<SAPSID>/exe by using the following commands:
cd <sapmnt>/<SAPSID>/SYS/exe
touch test (create a file called test)
The following table shows the most important functions that are available in SAPinst GUI:
Note
If you need to log off during the installation from
the host where you control the installation with
SAPinst GUI, the installation continues while you
are logged off. You can later reconnect to the same
SAPinst installation from the same or another host.
For more information, see Starting SAPinst GUI
Separately [page 140].
Menu option SAPinst Log Browser Displays the Log Viewer dialog
This dialog enables you to access the following log
files directly:
n Installation log (sapinst_dev.log)
n Log files from the SAPinst GUI server
These log files might help you during
troubleshooting with SAPinst (see Troubleshooting with
SAPinst [page 143]).
The SAP system installation might be interrupted for one of the following reasons:
n An error occurred during the Define Parameters or Execute phase:
SAPinst 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.
n You interrupted the installation by choosing Cancel in the SAPinst menu.
The following table describes the options in the dialog box:
Option Definition
Retry SAPinst retries the installation from the point of failure without repeating
any of the previous steps.
This is possible because SAPinst 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, SAPinst displays the same dialog
box again.
Stop SAPinst stops the installation, closing the dialog box, the SAPinst GUI, and
the GUI server.
SAPinst 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.
Option Definition
Continue SAPinst continues the installation from the current point.
View Log Access installation log files.
Note
You can also terminate SAPinst by choosing Ctrl + C . However, we do not recommend that you
use Ctrl + C , because this kills the process immediately.
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. Mount your Installation Master DVD.
Note
Mount the DVD locally. We do not recommend using Network File System (NFS).
Example
For example, if the mount point of the Installation Master DVD is sapcd2, the operating system is
LINUX_X86_64 and the database is Oracle, the commands are as follows:
cd /sapcd2/DATA_UNITS/IM_LINUX_X86_64_ORA
./sapinst
4. From the tree structure in the Welcome screen, select the installation option that you want to
continue and choose Next.
Note
If there is only 1 component to install, the Welcome screen does not appear.
5. In the What Do You Want to Do? screen, decide between the following alternatives and confirm
with OK:
Alternative Behavior
Run a New Option SAPinst 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>.
Example
log_01_Oct_2008_13_47_56
Continue with the Old Option SAPinst continues the interrupted installation from the point of failure.
You use this procedure to install your SAP system on a remote host. In this case, SAPinst and the
GUI server run on the remote host, and SAPinst GUI runs on the local host. The local host is the
host from which you control the installation with SAPinst GUI.
Alternatively you can use an X server for Microsoft Windows or other remote desktop tools such
as VNC Viewer or NX Server / NX Client ‒ offered by various vendors or open source ‒ for remote
access to SAPinst GUI on Windows workstations. We recommend you to use the Hummingbird
Exceed X Server, which we use to validate installations with SAPinst. For more information, see
SAP Note 1170809.
Caution
The behavior of SAPinst has changed compared to previous versions. SAP no longer delivers any JCE
policy archives within the SAP JVM. You have to download the required JCE policy zip file from SAP
on the remote host. For more information, see SAP Note 1238121.
Prerequisites
n The remote host meets the prerequisites for starting SAPinst [page 87].
n 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>.
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. Mount the Installation Master DVD.
3. Set the environment variable JCE_POLICY_ZIP to the location of the downloaded policy zip archive
as follows:
Shell Used Command
Bourne shell (sh) JCE_POLICY_ZIP=<policy zip archive>
export JCE_POLICY_ZIP
You use this procedure to start SAPinst GUI separately. You might need to start SAPinst GUI
separately in the following cases:
n You have logged off from SAPinst.
If you logged off during the installation and you later want to reconnect to the installation while it
is still running, you can start SAPinst GUI separately.
n You want to perform a remote installation (see Performing a Remote Installation [page 139]).
If SAPinst GUI runs on a different host from SAPinst and the GUI server, you have to start SAPinst
GUI separately.
Caution
The behavior of SAPinst has changed compared to previous versions. SAP no longer delivers any JCE
policy archives within the SAP JVM. You have to download the required JCE policy zip file from SAP
on the local host. For more information, see SAP Note 1238121.
Note
If you want to start SAPinst GUI on a Windows 32-bit operating system, change to the following
directory:
<Installation_Master_DVD>\DATA_UNITS\SAPINSTGUI_<product>_WINDOWS_I386
Note
Optionally you can start sapinstgui.exe with the following parameters:
n host=<host name>, where <host name> is the host name of the installation host
n port=<nr>, where <nr> is the port number for the connection to the GUI server
n -accessible enables accessibility mode
Example:
./sapinstgui.exe host=lsi1209 port=3000 -accessible
Caution
Make sure that the user root has not set any environment variables for a different SAP system or
database.
2. Download the JCE policy zip file from SAP as described in SAP Note 1240081.
3. Set the environment variable JCE_POLICY_ZIP to the location of the downloaded policy zip archive
as follows:
Shell Used Command
Bourne shell (sh) JCE_POLICY_ZIP=<policy zip archive>
export JCE_POLICY_ZIP
Note
Mount the DVD locally. We do not recommend that you use Network File System (NFS).
Note
If you want to start SAPinst GUI on a Linux 32‒bit operating system, change to the following
directory:
<mountpoint_of_Installation_Master_DVD>/DATA_UNITS/SAPINSTGUI_<product>_LINUX_I386
Note
Optionally you can start sapinstgui with the following parameters:
n host=<host name>, where <host name> is the host name of the installation host
n port=<nr>, where <nr> is the port number for the connection to the GUI server
n - accessible enables accessibility mode
Example:
./sapinstgui host=lsi1209 port=3000 -accessible
After the installation has finished successfully, SAPinst has created the following entries in
/etc/services:
sapdpXX = 32XX/tcp
sapdpXXs = 47XX/tcp
sapgwXX = 33XX/tcp
sapgwXXs = 48XX/tcp
sapms<SAPSID> = 36NN/tcp (unless you specified another value during the installation)
Note
n XX is the instance number. There is a port created for each instance number, regardless of which
instance number you specified during the installation.
NN is the number of the instance in which the message server runs. In a central or distributed
system, this is the primary application server instance (DVEBMGS<nn>), in a high-availability
system, this is the ABAP central services instance (ASCS<nn>).
For more information about instance numbers, see the table SAP System Instances, Hosts, and Ports in
Basic SAP System Parameters [page 45].
n If there is more than one entry for the same port number, this is not an error.
This section tells you how to proceed when errors occur during the installation with SAPinst.
If an error occurs, SAPinst:
n Stops the installation
n Displays a dialog informing you about the error
Procedure
1. To view the log file, choose View Logs.
2. If an error occurs during the dialog or processing phase, do one of the following:
n Try to solve the problem.
n Abort the installation with Exit.
For more information, see Interrupted Installation with SAPinst [page 137].
n Continue the installation by choosing Retry.
3. Check the log and trace files of the GUI server and SAPinst GUI in the directory
<user_home>/.sdtgui/ for errors.
n If GUI server or SAPinst GUI do not start, check the file sdtstart.err in the current
<user_home> directory.
n If SAPinst GUI aborts during the installation without an error message, restart SAPinst GUI as
described in Starting SAPinst GUI Separately [page 140].
n If you use an X Server for Microsoft Windows or other remote desktop tools for the Remote
Access of SAPinst 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.
This section provides information on the installation of an SAP system in a heterogeneous system
landscape. “Heterogeneous system landscape” means that application servers run on different
operating systems.
Procedure
See SAP Note 1067221 for information on
n supported combinations of operating systems and database systems,
n how to install an application server on Windows in a heterogeneous (UNIX) SAP system
environment,
n heterogeneous SAP system landscapes with different UNIX operating systems.
You can start and stop all SAP system and Diagnostics Agent instances using the SAP Management
Console (MC) except the database instance. You have to start and stop the database instance as
described in Starting and Stopping the SAP System Using startsap and stopsap [page 149].
Note
If your newly installed SAP system is part of a heterogeneous SAP system landscape comprising
systems or instances on Windows platforms, you can also start and stop it from a Windows system
or instance using the Microsoft Management Console (MMC).
For more information about handling the MMC, see the SAP Library [page 12]:
Function-Oriented View Application Server ABAP Administration Tools for AS ABAP Monitoring in the
CCMS SAP Microsoft Management Console: Windows
Prerequisites
n Make sure that the host on which you start SAP MC meets the following requirements:
l Java Runtime Environment (JRE) 5.0 is installed.
l The browser supports Java.
l The browser’s Java plug-in is installed and activated.
n You have logged on to the host as user <sapsid>adm.
Example
If the instance number is 53and the host name is saphost06, you enter the following URL:
http://saphost06:55313
Note
If your browser displays a security warning message, choose the option that indicates that you
trust the applet.
2. Choose Start.
Note
When you start the SAP MC for the first time for a newly installed SAP system, you have to
register your system as described in Registering Systems and Instances below. After you have done
this, the instances installed on the host you have connected to are already present in the SAP
Management Console when you next start the SAP MC.
By default, the instances installed on the host you have connected to are already present in the
SAP Management Console.
If you want to change the configuration to display systems and instances on other hosts, see
Registering Systems and Instances below.
1. In the navigation pane, open the tree structure and navigate to the system node that you want to
start.
2. Select the system or instance and then, from the context menu, choose Start.
3. In the Start SAP System(s) dialog box, choose the required options.
4. Choose OK. The SAP MC starts the specified system or system instances.
Note
The system might prompt you for the SAP system administrator credentials. To complete the
operation, you must have administration permissions. Log in as user <sapsid>adm.
If your system is a high-availability system, you first start the ABAP central services
instance ASCS<Instance_Number> and then you start the Java central services instance
SCS<Instance_Number>.
End of: HA (UNIX)
1. Select the system or instance you want to stop and choose Stop from the context menu.
2. In the Stop SAP System(s) dialog box, choose the required options.
3. Choose OK. The SAP MC stops the specified system or system instances.
Note
The system might prompt you for the SAP system administrator credentials. To complete the
operation, you must have administration permissions. Log in as user <sapsid>adm.
Similarly, you can start, stop or restart all SAP systems and individual instances registered in the
SAP MC.
If your system is a high-availability system, you first stop the Java central services
instance SCS<Instance_Number> and then you stop the ABAP central services instance
ASCS<Instance_Number>.
End of: HA (UNIX)
Prerequisites
The SAP MC is started.
Note
If you have already registered systems in the SAP MC, they are stored in the history. To open the
System’s History dialog box, choose the browsing button next to the Instance Nr. field. Select an
instance of the system that you want to add and choose OK.
3. Choose Finish.
Note
To view all instances of the respective SAP system, select the relevant system node and choose
Add Application Server from the context menu.
n You can choose the instances that the SAP MC displays automatically on startup:
1. In the Settings dialog box, select History.
2. In the right-hand side pane, choose the instance you want the SAP MC to display on startup.
3. Choose the << button.
4. Choose Apply and then choose OK.
Similarly, you can remove instances from the startup configuration.
n You can save the current configuration in a file:
1. Choose File Save Landscape .
2. In the Save dialog box, enter the required data.
3. Choose Save.
n You can load a configuration from a file:
1. Choose File Load Landscape .
2. In the Open dialog box, select the configuration you want to load.
3. Choose Open.
More Information
For more information about how to handle the SAP MC, see the SAP Library [page 12] at:
Administrator’s Guide Technical Operations for SAP NetWeaver Administration of SAP NetWeaver Systems
Application Server Java (AS Java) Administration Administration Tools SAP Management Console
You can start and stop SAP system instances by running the startsap and stopsap scripts.
Prerequisites
n You have checked the default profile /<sapmnt>/<SAPSID>/profile/DEFAULT.PFL for parameter
login/system client and set the value to the correct productive system client. For example, the
entry must be login/system_client = 001 if your productive client is 001.
n You have logged on to the SAP system hosts as user <sapsid>adm.
n For more information about how to start or stop database-specific tools, see the database-specific
information in this documentation and the documentation from the database manufacturer.
n If you want to use startsap or stopsap (for example, in a script) and require the fully qualified
name of these SAP scripts, create a link to startsap or stopsap in the home directory of the
corresponding user.
Caution
If there are multiple SAP instances on one host ‒ for example, a primary application server
instance and an additional application server instance ‒ you must add an extra parameter to
the scripts:
startsap <instanceID>
stopsap <instanceID>
For example, enter:
startsap DVEBMGS00
Note
The instance name (<InstanceName>) of the primary application server instance
is DVEBMGS<Instance_Number>, the instance name of the central services instance is
SCS<Instance_Number>, and the instance name of an additional application server instance is
D<Instance_Number>.
n In a high-availability system, you must use the failover cluster software of your hardware vendor
to start or stop all instances that are running on the switchover cluster.
You can only use startsap and stopsap scripts for instances that are not running on the
switchover cluster.
End of: HA (UNIX)
Procedure
n To start all instances on the standard system host, enter the following command:
startsap
This checks if the database is already running. If not, it starts the database first.
Note
You can start the database instance and SAP system instances separately by entering the following
commands:
startsap DB
startsap R3 <InstanceName of central services instance>
startsap R3 <InstanceName of primary application server instance>
startsap R3 <InstanceName of additional application server instance>
Make sure that you always start the database first because otherwise the other instances cannot
start.
Note
You can also use the parameter J2EE, which is a synonym for the parameter R3.
For ABAP+Java systems, you can enter either the command startsap R3 or startsap J2EE to
start the SAP instance comprising both ABAP and Java.
Note
Make sure that all remaining SAP system instances are up and running before you start or restart
additional application server instances.
Note
In the following example, only the central services instance is running on the switchover cluster.
Note
Make sure that all remaining SAP system instances are up and running before you start or restart
additional application server instances.
n For an additional application server instance, enter the following on the relevant host:
startsap R3 <InstanceName of additional application server instance>
Note
Make sure that all remaining SAP system instances are up and running before you start or restart
additional application server instances.
Note
When you use stopsap in a Multiple Components in One Database (MCOD) system with two
primary application server instances, only one primary application server instance and the database
are shut down. Therefore, you must first stop the other SAP system with stopsap R3 or make
sure that it has already been stopped.
For more information about MCOD, see Installation of Multiple Components in one Database [page 127].
n If you have a standard system, enter the following to stop all instances on the standard system
host:
stopsap
This stops the primary application server instance, central services instance, and database.
Note
You can stop the database and SAP system instances separately by entering the following
commands:
stopsap R3 <InstanceName of additional application server instance>
stopsap R3 <InstanceName of primary application server instance>
stopsap R3 <InstanceName of central services instance>
stopsap DB
Make sure that you always stop the primary application server instance first and the central
services instance second because otherwise the database cannot be stopped.
Note
You can also use the parameter J2EE, which is a synonym for the parameter R3.
For ABAP+Java systems, you can enter either the command stopsap R3 or stopsap J2EE to stop
the SAP instance comprising both ABAP and Java.
Note
In the following example, only the central services instance is running on the switchover cluster.
1. On the host(s) running the additional application server instance(s), enter the following
command:
stopsap <InstanceName of additional application server instance>
2. On the host running the primary application server instance, enter:
stopsap
3. On the switchover cluster infrastructure, use the failover cluster software to start the central
services instance.
4. On the host running the database instance, enter:
stopdb
n For an additional application server instance, enter the following on the relevant host:
Note
Make sure that all remaining SAP system instances are up and running before you start or restart
additional application server instances.
Caution
Make sure that no SAP system instance is running before you enter stopdb on a standalone database
server. No automatic check is made.
You can start and stop the Diagnostics Agent by running the startsap and stopsap scripts.
Note
You can only start or stop the Diagnostics Agent separately. It is not started or stopped automatically
with the SAP system.
You can also use the SAP Management Console (SAP MC) to start or stop the Diagnostics Agent (see
Starting and Stopping SAP System Instances Using the SAP Management Console [page 145]).
Prerequisites
You have logged on to the central instance or dialog host as user <dasid>adm.
Procedure
Example
startsap DAA 98
Note
If there is only one Diagnostics Agent instance on the host, you do not have to specify the <DASID>.
Example
stopsap DAA 98
Note
If there is only one Diagnostics Agent instance on the host, you do not have to specify the <DASID>.
Here you can find information in the SAP Library about the configuration of Application Server
Java (AS Java) and about SAP Java technology.
Procedure
1. Choose the following in the SAP library [page 12]:
Function-Oriented View
2. Check the following documentation for information relevant to running your Java system:
Manual Contents
Application Server Java AS This documentation provides an overview of the architecture of the
Java (Application Server Java) Application Server Java (AS Java). It contains information on:
Technical System Landscape n Java cluster architecture
Architecture of AS Java n Application Server Java (AS Java) system architecture
n Zero Administration (technical configuration within AS Java)
Application Server Java AS This documentation describes how to administer the SAP system,
Java (Application Server Java) focusing on AS Java. It contains information on:
Administration Administration n Administration Tools
Tools l SAP Management Console
The SAP Management Console (SAP MC) provides a common
framework for centralized system management. It lets you
monitor and perform basic administration tasks on the SAP
system centrally, thus simplifying system administration.
l SAP NetWeaver Administrator
SAP NetWeaver Administrator is a Web-based tool for
administration and monitoring that offers a single entry point to
configure, administer, and monitor your SAP NetWeaver system,
its components, and the applications running on it.
l Config Tool
The Config Tool provides offline configuration of the SAP
NetWeaver Application Server Java (AS Java) instances. It lets you
modify the properties of all services, managers, and applications.
In addition, it enables you to manage log configurations offline,
add filters, and edit the JVM parameters.
l Administration Using Telnet
Manual Contents
n SAP Java Virtual Machine (SAP JVM)
n The Startup Framework for AS Java
n Administration Functions for Information Lifecycle Management
Application Server Java AS Java Identity Management of the SAP NetWeaver Application Server (AS) Java
(Application Server Java) Identity enables you to manage users and roles for access to applications of the AS
Management of the Application Server Java and the data, which the applications require. The user management
Java engine (UME) provides identity management as a service of the AS Java.
This documentation contains information on:
n User Management Engine
n Authorization Concept of the AS Java
n Configuring Identity Management
n Administration of Users and Roles
Process Integration This documentation contains information on the key capabilities of SAP
NetWeaver Process Integration.
SAP High Availability This documentation contains information on:
n Cluster and Load Balancing (AS-Java)
n Single points of failure for SAP NetWeaver AS Java
Security System Security This documentation contains information on additional system security
functions for AS Java.
This section describes how to delete a single instance, a standalone engine or a complete SAP system
with the Uninstall option of SAPinst.
Note
We strongly recommend that you delete an SAP system with SAPinst. However, you can also delete
an SAP system manually. For more information, see SAP Note1259982.
Caution
Prerequisites
n You have installed your SAP system with standard SAP tools according to the installation
documentation.
n You are logged on as user root.
n If the saposcol process on the host where you are working has been started from the SAP system
that you want to delete, stop the process using the command saposcol -k.
If there are other SAP systems on the host, log on as user <sapsid>adm of the other SAP system and
start saposcol from there using the command saposcol -l.
Procedure
1. Start SAPinst as described in Running SAPinst [page 87].
2. On the Welcome screen, choose:
NetWeaver Process Integration 7.1 Software Life-Cycle Options Uninstall Uninstall ‒ SAP systems or
single instances .
Note
With this SAPinst option you do not delete the database software.
Note
For more information about the input parameters, place the cursor on the relevant field and
press F1 in SAPinst.
SAPinst first asks you which SAP instances you want to delete. Make sure that you delete the SAP
instances in the order as described hereinafter.
Caution
SAPinst only stops local instances automatically. Before you delete the database instance of a
distributed system make sure that you stop all remaining instances. You must stop the instance
with the message server only after having entered all SAPinst parameters for the deletion of
the database instance.
n If you want to delete a standard system (all instances reside on the same host), you can do this
in one SAPinst run.
Use the following options to delete the database instance or specific schemas.
a) Delete the SAP system.
Use the following options to delete the database instance or specific schemas.
Options Remarks
Remove Whole Database Select this option if you want to delete the database instance,
(Without Database Software) including all database schemas, all tablespaces and their
corresponding data files. The database software is not deleted.
Options Remarks
Remove Selected Schemas Select this option only if you want to delete specific database
and Tablespaces Only schemas and tablespaces.
The database instance and the database software is not deleted.
Caution
Before deleting any database schema, make sure that:
l You have performed a recent offline database backup.
l You have stopped or deleted all SAP instances belonging to
this database schema.
l If you have installed a Java system, you have stopped the AS
Java with transaction SMICM.
l You only delete the tablespaces that belong to the selected
schema.
The Java schema SAP<SAPSID>DB default belongs to the database
tablespace PSAP<SAPSID<DB. All other SAP tablespaces belong to the
ABAP schema SAP <SAPSID> or SAPR3.
Keep Database Select this option if you only want to delete the previously selected
SAP instance(s). With this option, you do not delete the database
instance, database content or the database software.
b) Delete the Oracle database software with the Oracle Universal Installer (OUI) as described in
Deleting the Oracle Database Software [page 159].
n If you want to delete a distributed or high-availability system, you have to run SAPinst to
delete the required instances locally on each of the hosts belonging to the SAP system in the
following sequence:
a) Additional application server instance(s), if there are any
b) Database instance
Caution
SAPinst only stops local instances automatically. Before you delete the database instance
of a distributed system make sure that you stop all remaining instances. You must stop
the instance with the message server only after having entered all SAPinst parameters
for the deletion of the database instance.
Note
With this SAPinst option you do not delete the database software.
Options Remarks
Remove Whole Database Select this option if you want to delete the database instance,
(Without Database Software) including all database schemas, all tablespaces and their
corresponding data files. The database software is not deleted.
Remove Selected Schemas Select this option only if you want to delete specific database
and Tablespaces Only schemas and tablespaces.
The database instance and the database software is not deleted.
Caution
Before deleting any database schema, make sure that:
l You have performed a recent offline database backup.
l You have stopped or deleted all SAP instances belonging to
this database schema.
l If you have installed a Java system, you have stopped the AS
Java with transaction SMICM.
l You only delete the tablespaces that belong to the selected
schema.
The Java schema SAP<SAPSID>DB default belongs to the database
tablespace PSAP<SAPSID<DB. All other SAP tablespaces belong to the
ABAP schema SAP <SAPSID> or SAPR3.
Keep Database Select this option if you only want to delete the previously selected
SAP instance(s). With this option, you do not delete the database
instance, database content or the database software.
Note
To delete system directories mounted from an NFS server, make sure that you run SAPinst
on the NFS server.
4. Delete the Oracle database software with the Oracle Universal Installer (OUI) as described in
Deleting the Oracle Database Software [page 159].
5. If required, you can delete the directory /usr/sap/trans and its content manually.
SAPinst does not delete /usr/sap/trans because it might be shared.
6. If you created the directories /usr/sap/<SAPSID> and /<sapmnt>/<SAPSID> as mount points, but
not as directories on the local file system, you have to remove them manually.
You have to delete the Oracle database software to complete the deletion of the Oracle database
instance.
Here you find information how to delete the Oracle database software with the Oracle Universal
Installer (OUI).
Note
This section only applies if you have deleted your SAP system using the Uninstall option of SAPinst.
We recommend that you delete a database instance with SAPinst and then remove the database
software manually. However, you can also delete the complete database instance manually. For more
information, see SAP Note1260050.
Procedure
1. Start the OUI with the user ora<dbsid> by entering the following:
cd /oracle/stage/102_64/database/Disk1/SAP
./RUNINSTALLER
You see a message that a response file is being generated. It might take several minutes before you
see the OUI screen.
2. Select the product that you want to uninstall: <DBSID>_102_64.
3. Mark the Oracle 10G database within the selected product.
4. Choose Remove.
5. Confirm your selection with Yes.
Result
The RUNINSTALLER removes the database software.
This procedure tells you how to uninstall a Diagnostics Agent using SAPinst.
Caution
You must delete a Diagnostics Agent instance only using SAPinst, otherwise you might have
problems with further installations on this host.
Prerequisites
You are logged on as user root.
Caution
Do not use the user <dasid>adm to delete the Diagnostics Agent.
Procedure
1. Start SAPinst as described in Running SAPinst [page 87].
2. On the Welcome screen, choose:
<Your SAP product> Software Life-Cycle Options Uninstall Uninstall ‒ SAP Systems or Single Instances
3. On the screen General SAP System Parameters, enter the location of the profile directory of the
Diagnostics Agent that you want to uninstall:
/usr/sap/<DASID>/SYS/profile
4. Follow the instructions in the SAPinst input dialogs.
Note
For more information about the input parameters, place the cursor on the relevant field and
press F1 in SAPinst.
A Appendix
Documentation
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>”.
Example Arrows separating the parts of a navigation path, for example, menu options
Example
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 n Words or characters quoted from the screen. These include field labels, screen titles,
pushbutton labels, menu names, and menu options.
n Cross-references to other documentation or published works
Example n Output on the screen following a user action, for example, messages
n Source code or syntax quoted directly from a program
n 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