System Rename 7xx Ux Abap

Download as pdf or txt
Download as pdf or txt
You are on page 1of 72

OPERATIONS GUIDE | PUBLIC

Software Provisioning Manager 1.0 SP24


Document Version: 2.5 – 2018-09-17

System Rename for SAP Systems Based on the


Application Server ABAP of SAP NetWeaver 7.1 to
7.52 on UNIX
© 2018 SAP SE or an SAP affiliate company. All rights reserved.

THE BEST RUN


Content

1 About this Document. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6


1.1 Use Cases of System Rename. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2 About Software Provisioning Manager 1.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3 Naming Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.4 New Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.5 Constraints. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.6 SAP Notes for the System Rename. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.7 Accessing the SAP Library. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.8 How to Use this Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

2 Planning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

3 Preparation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.1 Preparation Checklist. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.2 Creating Operating System Users and Groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.3 Necessary z/OS Group and User IDs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.4 Performing a System Copy by Copying the File System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
3.5 Deleting Additional Application Server Instances. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.6 Database-Specific Preparation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Performing Preparation Steps for IBM Db2 for Linux, UNIX, and Windows. . . . . . . . . . . . . . . . . . 30
Performing IBM Db2 for z/OS – Specific Preparation Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Performing Oracle-Specific Preparation Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Performing SAP ASE -Specific Preparation Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Performing SAP MaxDB-Specific Preparation Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Performing SAP liveCache-Specific Preparation Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Performing SAP liveCache Client-Specific Preparation Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Performing SAP HANA Database-Specific Preparation Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . 40
3.7 Preparing the System Rename Media. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Downloading and Extracting the Software Provisioning Manager 1.0 Archive. . . . . . . . . . . . . . . . 41
3.8 Preparing the File System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

4 System Rename Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44


4.1 System Rename Procedure Checklist. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
4.2 Prerequisites for Running the Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
4.3 Running the Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4.4 Additional Information about the Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Useful Information about the Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Interrupted Processing of the Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
2 PUBLIC Content
Troubleshooting with the Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Using the Step State Editor (SAP Support Experts Only). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60

5 Follow-Up Activities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
5.1 Follow-Up Activities Checklist. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
General Follow-Up Activities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Database-Specific Follow-Up Activities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Configuring the Transport Management System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Changing the IGS Destination. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Starting the SAP System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67

6 Additional Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
6.1 Implementing Oracle Database Vault with the Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Content PUBLIC 3
Document History

 Note

Before you start reading, make sure you have the latest version of this system rename guide, which is
available at https://support.sap.com/sltoolset System Provisioning Rename a System using
Software Provisioning Manager Rename Option of Software Provisioning Manager 1.0 SP <Current
Number> .

The following table provides an overview on the most important document changes:

Version Date Description

2.5 2018-09-17 Updated version for Software Provisioning Manager 1.0 SP24 (SL Toolset 1.0 SP24)

2.4 2018-05-07 Updated version for Software Provisioning Manager 1.0 SP23 (SL Toolset 1.0 SP23)

2.3 2018-01-15 Updated version for Software Provisioning Manager 1.0 SP22 (SL Toolset 1.0 SP22)

● New Features:
○ Installer Log Files Improvements, documented in: New Features, Useful Informa­
tion about the Installer, Troubleshooting with the Installer
○ Secure ABAP message server connection, documented in: New Features, SAP
System Parameters
○ Enabling IPv6, documented in: New Features, Prerequisites for Running the Instal­
ler
● New Features section restructured: As of SP22, a dedicated subsection for each new
SP has been created. New features below SP22 remain in a common table.
● The Java SDT GUI - which was in the SP21 version still available in parallel to the SL
Common GUI - has been deprecated with SP22. As of SP22, SL Common GUI is the
only available installer GUI:
○ The following sections which were explicitely related to Java SDT GUI were com­
pletely removed from this documentation: Performing a Remote Installation Re­
mote Processing of the Installer ( Java SDT GUI only), Starting the Java SDT GUI
Separately, Running the Installer in Accessibility Mode (general accessibility infor­
mation was moved to Useful Information About the Installer).
○ The Java SDT GUI-specific information was removed from the common installer
sections: Running the Installer, Useful Information About the Installer, Interrupted
Processing of the Installer, Troubleshooting with the Installer
● New section Using the Step State Editor (SAP Support Experts Only) was added to
section Additional Information About the Installer

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
4 PUBLIC Document History
Version Date Description

2.2 2017-09-11 Updated version for Software Provisioning Manager 1.0 SP21 (SL Toolset 1.0 SP21)

● New Features:
○ Media Signature Check, documented in: New Features, Running the Installer, Pre­
paring the System Rename Media .
○ Load tools are now available as LOADTOOLS.SAR in the Software Provisioning
Manager archive, documented in: New Features, Downloading and Extracting the
Software Provisioning Manager Archive
○ Simplified additional application server instance installation, documented in:
New Features, Preparing the Installation Media, Downloading SAP Kernel Archives
(Archive-Based Installation)

2.1 2017-05-22 Updated version for Software Provisioning Manager 1.0 SP20 (SL Toolset 1.0 SP20)

● New Features:
○ New SAPUI5-based graphical user interface (GUI) “SL Common GUI”, docu­
mented in: Prerequisites for Running the Installer, Running the Installer, Useful In­
formation About the Installer
○ Cleanup of operating system users, documented in: SAP System Parameters,
Creating Operating System Users and Groups

2.0 2017-02-06 Updated version for Software Provisioning Manager 1.0 SP19 (SL Toolset 1.0 SP19)

● New Features:
Verification of the integrity of data units in Software Provisioning Manager, docu­
mented in: New Features, Downloading the Software Provisioning Manager Archive

1.9 2016-10-07 Updated version for Software Provisioning Manager 1.0 SP18 (SL Toolset 1.0 SP18)

1.8 2016-06-06 Updated version for Software Provisioning Manager 1.0 SP17 (SL Toolset 1.0 SP17)

1.7 2016-02-15 Updated version for Software Provisioning Manager 1.0 SP10 (SL Toolset 1.0 SP16)

1.61 2015-11-13 Updated version for Software Provisioning Manager 1.0 SP09 (SL Toolset 1.0 SP15)

1.6 2015-10-12 Updated version for Software Provisioning Manager 1.0 SP09 (SL Toolset 1.0 SP15)

1.5 2015-09-14 Updated version for Software Provisioning Manager 1.0 SP09 (SL Toolset 1.0 SP14)

1.4 2015-04-27 Updated version for Software Provisioning Manager 1.0 SP08 (SL Toolset 1.0 SP13)

1.3 2014-11-24 Updated version for Software Provisioning Manager 1.0 SP07 (SL Toolset 1.0 SP12)

1.2 2014-07-07 Updated version for Software Provisioning Manager 1.0 SP06 (SL Toolset 1.0 SP11)

1.1 2014-03-17 Updated version for Software Provisioning Manager 1.0 SP05 (SL Toolset 1.0 SP10 )

1.0 2013-10-28 Initial version

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Document History PUBLIC 5
1 About this Document

This document describes how to rename SAP systems using Software Provisioning Manager 1.0 SP24, which is
part of SL Toolset 1.0 SP24. It is valid for SAP systems based on the application server ABAP of SAP NetWeaver
7.1 to 7.52 .

For more information about Software Provisioning Manager 1.0, see About Software Provisioning Manager 1.0
[page 7]. For a detailed list of SAP system products and releases covered by this guide, see SAP Note
1619720 . For information about supported operating system and database platforms, see the Product
Availability Matrix at https://support.sap.com/pam .

 Note

As an alternative to using Software Provisioning Manager, you can rename your system with a completely
automated end-to-end framework available using SAP Landscape Management. For more information, see
SAP Note 1709155 and https://help.sap.com/lama .

 Caution

You should only perform a system rename using the Software Provisioning Manager 1.0 if your SAP system
is installed with standard SAP tools according to the documentation available at https://support.sap.com/
sltoolset System Provisioning .

Any deviations from this documentation are at your own risk. Be aware that additional consulting effort
might be necessary.

Related Information

Use Cases of System Rename [page 7]


About Software Provisioning Manager 1.0 [page 7]
Naming Conventions [page 8]
New Features [page 8]
Constraints [page 11]
SAP Notes for the System Rename [page 13]
Accessing the SAP Library [page 13]
How to Use this Guide [page 14]

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
6 PUBLIC About this Document
1.1 Use Cases of System Rename

This section describes which system parameters you can adapt using system rename.

You can adapt one or more of the following parameters of an SAP system using the system rename procedure:

● SAP system ID (<SAPSID>)


● Database ID (<DBSID>)
● Instance numbers of the instances on the SAP system
● Host names

You can perform system rename in the following cases:

● You want to rename existing systems:


○ Systems installed by using the standard SAP tools.
○ Systems created by using SAP Landscape Management
○ Systems provided as virtual appliance
○ Cloned systems (virtual to virtual, virtual to physical, or physical to virtual)
● You performed a system copy by copying the file system [page 28] of a source SAP system and its
database and want to rename the target system.

 Note

For production systems, the rename procedure should only be performed by experienced system
administrators or consultants and should be tested beforehand – especially for the conversion of logic
system names, the corresponding aspects outlined in SAP Note 121163 have to be considered.

More Information

For more information about offerings, methods, use cases and technical details of the system rename
procedure, see http://scn.sap.com/docs/DOC-32851 .

1.2 About Software Provisioning Manager 1.0

Software Provisioning Manager 1.0 is the successor of the product- and release-specific delivery of provisioning
tools, such as “SAPinst”. We strongly recommend that you always download the latest version of Software
Provisioning Manager 1.0. Software Provisioning Manager 1.0 is part of the Software Logistics Toolset 1.0 (“SL
Toolset” for short). This way, you automatically get the latest fixes and supported processes. For more
information about Software Provisioning Manager as well as products and releases supported by it, see SAP
Note 1680045 and http://scn.sap.com/docs/DOC-30236 .

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
About this Document PUBLIC 7
“SAPinst” has been renamed to “Software Provisioning Manager” (“installer” for short) in this documentation,
but the terms “SAPinst” and “sapinst” are still used in:

● The name of the technical framework of Software Provisioning Manager. For more information about the
SAPinst Framework, see SAP Note 2393060 .
● Texts and screen elements in the Software Provisioning Manager GUI
● Names of executables, for example sapinst
● Names of command line parameters, for example SAPINST_HTTPS_PORT
● Names of operating system user groups, such as the additional group sapinst

In the following, we generally refer to Software Provisioning Manager 1.0 as the “installer”. We only use the term
“Software Provisioning Manager 1.0” if this is required for technical reasons.

Related Information

Preparing the System Rename Media [page 40]

1.3 Naming Conventions

● “usage type”, “technical usage”, and “product instance”


As of Software Provisioning Manager 1.0 SP07 (SL Toolset 1.0 SP12), the term “product instance” replaces
the terms “ usage type” and “technical usage” for SAP systems based on SAP NetWeaver 7.3 including
enhancement package 1 and higher. For more information, see SAP Note 1877731 . Note that there is no
terminology change for older releases and all mentioned terms can be used as synonyms. As this guide is a
generic document, the currently used terms remain but only “product instance” is going to be used from
now on when referring to SAP NetWeaver 7.3 EHP1 and higher.
For more information, see New Features [page 8].
● “SAP system” refers to “SAP NetWeaver system” or “SAP system based on SAP NetWeaver”.
“SAP system” also refers to the standalone engines supported for system rename with Software
Provisioning Manager 1.0, such as SAP Web Dispatcher, SAP liveCache, and standalone gateway.

1.4 New Features

This section provides an overview of the new features in Software Provisioning Manager 1.0 (the“ installer” for
short).

Make sure that you also read the Release Notes for your SAP product at https://help.sap.com <Search
your SAP Product> <Select your SAP Product Version> What’s New .

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
8 PUBLIC About this Document
Feature Description Availability

Installer Log Files Installer log files are now available immediately after the installer Software Provisioning Manager
Improvements has been started, that is before a product has been selected on 1.0 SP22 (SL Toolset 1.0 SP22)
the Welcome screen. For more information, see Useful Informa­
tion about the Installer [page 53] and Troubleshooting with the
Installer [page 59].

Media Signature The signature of media is checked automatically by the installer Software Provisioning Manager
1.0 SP21 (SL Toolset 1.0 SP21)
Check during the Define Parameters phase while processing the Media
Browser screens. As of now the installer only accepts media
whose signature has been checked. See also the description of
this new security feature in SAP Note 2393060 .

For more information, see Preparing the System Rename Media


[page 40] and Running the Installer [page 48].

Support of Oracle Software Provisioning Manager (the “installer”) now supports sys­ Software Provisioning Manager
1.0 SP21 (SL Toolset 1.0 SP21)
12.2 tem rename for SAP systems with Oracle 12.2.

SL Common GUI With the new installer framework version SAPINST 7.49, you can Software Provisioning Manager
with SAPINST 7.49 now use the new SAPUI5-based graphical user interface (GUI) “SL 1.0 SP20 (SL Toolset 1.0 SP20)
Common GUI”. For more information, see Useful Information
about the Installer [page 53], Running the Installer [page 48].

Cleanup of Operat­ You can now specify during the Define Parameters phase that the Software Provisioning Manager
ing System Users 1.0 SP20 (SL Toolset 1.0 SP20)
operating system users are to be removed from group sapinst
after the execution of the installer has completed.

For more information, see Creating Operating System Users and


Groups [page 17].

Verification of Integ­ The integrity of data units extracted from the Software Provision­ Software Provisioning Manager
rity of Data Units in 1.0 SP19 (SL Toolset 1.0 SP19)
ing Manager archive is verified. For more information, see Down­
Software Provision­
loading and Extracting the Software Provisioning Manager 1.0 Ar­
ing Manager
chive [page 41] .

In addition, check SAP Note 1680045 whether additional infor­


mation is available.

Support of Linux on Software Provisioning Manager supports as of now Linux on IBM Software Provisioning Manager
IBM Power Systems Power Systems (little endian) as operating system platform for 1.0 SP19 (SL Toolset 1.0 SP19)
(little endian) SAP systems based on SAP NetWeaver 7.5 and higher. For more
information, see SAP Note 2378874 .

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
About this Document PUBLIC 9
Feature Description Availability

System Provisioning All system provisioning tasks (installation, system copy, system Software Provisioning Manager
for SAP NetWeaver rename) are available for the new SAP NetWeaver 7.5 release. 1.0 SP09 (SL Toolset 1.0 SP15)
7.5 and SAP
The Dual Stack option, which integrates an AS ABAP and AS Java
NetWeaver 7.5-
in a single system (common System ID <SAPSID>, common
based Products
startup framework, common database), is no longer supported in
SAP systems based on SAP NetWeaver 7.5.

● After upgrading to SAP NetWeaver 7.5 PI, you first have to


split the still existing dual stack-system before you can use
SAP NetWeaver 7.5 PI productively.
For more information, see the Upgrade Master Guide - SAP

NetWeaver 7.5 at: http://help.sap.com/nw75

Installation and Upgrade


● SAP NetWeaver 7.5 is Unicode only
● The primary application server instance directory has been
renamed from /usr/sap/<SAPSID>/
DVEBMGS<Instance_Number> to /usr/sap/<SAPSID>/
D<Instance_Number>.

System Provisioning All system provisioning tasks (installation, system copy, system Software Provisioning Manager
for SAP Solution rename) are available for the new SAP Solution Manager 7.2 re­ 1.0 SP09 (SL Toolset 1.0 SP15)
Manager 7.2 lease. Compared to previous SAP Solution Manager releases, SAP
Solution Manager 7.2 is no longer provided as a classical dual-
stack system (ABAP system with Java Add-in), but consists of a
separate ABAP and Java stack.

Usage Type Library Software Provisioning Manager 1.0 no longer uses the “Usage Software Provisioning Manager
Deprecation for SAP Types” definitions in its business logic for SAP systems based on 1.0 SP07 (SL Toolset 1.0 SP12)
Systems Based on SAP NetWeaver 7.3 EHP1 and higher. This is done to unify model­
SAP NetWeaver 7.3 ing and terminology across all SAP tools used during the plan­
EHP1 and Higher ning, installation and maintenance activities. The “Product In­
stance” definition replaces “Usage Types” regarding product
modeling. For more information, see SAP Notes 1970349 and
1877731 .

Feedback Evaluation SAP SE’s aim is to provide fast and efficient procedures. To evalu­ Software Provisioning Manager
Form ate the procedure you just carried out, we need information gen­ 1.0 SP07 (SL Toolset 1.0 SP12)
erated by the tool during process execution and your experience
with the tool itself. A new evaluation form contains a simple ques­
tionnaire and XML data generated during the procedure.

Port 4239 is used for displaying the feedback evaluation form. For
more information, see Prerequisites for Running the Installer
[page 45].

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
10 PUBLIC About this Document
Feature Description Availability

Option Verify Signed The digital signature ensures that the signatory of a digital docu­ Software Provisioning Manager
Media ment can be identified unambiguously and signatory’s name is 1.0 SP06 (SL Toolset 1.0 SP11)
documented together with the signed document, the date, and
the time.

For more information, see SAP Note 1979965 .

1.5 Constraints

● System Rename is only supported for SAP systems based on SAP NetWeaver 7.0 and higher: SAP ERP 6.0
and higher, SAP CRM 7.0 and higher, SAP SRM 7.0 and higher, SAP SCM 7.0 and higher.
For a detailed list of all supported SAP system products and releases, see SAP Note 1619720 .
For information about supported operating system and database platforms, see the Product Availability
Matrix at http://support.sap.com/pam .
● As for renaming standalone engines and clients using Software Provisioning Manager 1.0, only SAP Web
Dispatcher, SAP liveCache, and standalone gateway are supported and documented in this guide. If you
want to rename other standalone engines or clients, you have to reinstall them from scratch.
For more information, see http://support.sap.com/sltoolset System Provisioning Installation
Option of Software Provisioning Manager 1.0 Installation Guides - Standalone Engines and Clients
System rename is also not supported for the Diagnostics Agent.
For more information and guidance see the Diagnostics Agent Maintenance Procedures article at http://
wiki.scn.sap.com/wiki/x/n4efFg .
● SAP System ID <SAPSID>
Make sure that your SAP system ID:
○ Is unique throughout your organization. Do not use an existing <SAPSID>.
○ Consists of exactly three alphanumeric characters
○ Contains only uppercase letters
○ Has a letter for the first character
○ Does not include any of the reserved IDs listed in SAP Note 1979280 .
● Database ID <DBSID>
The <DBSID> identifies the database instance. It can be the same as the <SAPSID>.
Make sure that your database ID:
○ Is unique throughout your organization
○ Consists of exactly three alphanumeric characters
○ Contains only uppercase letters
○ Has a letter for the first character
○ Does not include any of the reserved IDs listed in SAP Note 1979280 .
● SAP systems with SAP HANA database: You can use Software Provisioning Manager (the “installer”) only
for renaming the application server instances, and the ABAP central services instance . You cannot use the
installer for renaming the SAP HANA database. If you want to rename the SAP HANA database, you have to
do this as a separate step in advance, using SAP HANA database-specific tools.
See also SAP HANA Database-Specific Preparation Steps [page 40].

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
About this Document PUBLIC 11
● For a comprehensive list of supported operating system and database releases, see the Product Availability
Matrix (PAM) at https://support.sap.com/pam .
Search for SL Toolset and then check the system rename-specific information.
● You cannot use system rename to perform a domain change for your SAP system. Instead, you can
accomplish this by performing a system copy.

Database-Specific Restrictions

Oracle Database
● System Rename is only partially supported for ASM database installations
System Rename does only partly work for an Automatic Storage Management (ASM) installation of the
Oracle database. You cannot use system rename to change the <SAPSID> or the <DBSID> – in addition,
using System Rename for changing only the host name, the instance name, or the instance number for an
ASM installation of the Oracle database only works as of SL Toolset 1.0 SP11 (Software Provisioning
Manager 1.0 SP06). This is because there is a different ORACLE_HOME and the ora<dbsid> user is missing
in the ASM environment.
● Renaming the database schema is not supported
If you want to rename the database schema, perform a system copy.

IBM Db2 for Linux, UNIX, and Windows


IBM Db2 for Linux, UNIX, and Windows versions lower than 9.7 are not supported

SAP MaxDB
System Rename is not supported for SAP MaxDB versions lower than 7.8

If you try to rename an SAP system with an SAP MaxDB version lower than 7.8, several errors are reported.

There is no workaround to overcome this restriction. Instead, you first have to upgrade to SAP MaxDB version
7.8 or 7.9. For more information about the upgrade, see SAP Notes 1353266 or 1492467 , depending on
your SAP MaxDB target release.

SAP HANA
Rename of the database schema not supported

You can only rename the DBSID of the SAP HANA database, but you cannot rename the schema of the SAP
HANA database.

IBM Db2 for Linux, UNIX, and Windows


Rename of the database schema is not supported

You cannot rename the schema of the IBM Db2 for Linux, UNIX, and Windows database.

More Information

For more restrictions, see SAP Note 1619720 .

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
12 PUBLIC About this Document
1.6 SAP Notes for the System Rename

Read the following SAP Notes before you start the system rename procedure. These SAP Notes contain the
most recent information on system rename as well as corrections to the relevant documentation. Make sure
that you have the most recent version of each SAP Note.

SAP Notes for System Rename

SAP Note Number Title Description

1680045 Release Note for Software Provisioning Software provisioning manager 1.0 with
Manager 1.0 installation, system copy, system re­
name and dual-stack split for SAP
NetWeaver-based systems

1619720 System Rename for SAP Systems Problems discovered after the publica­
based on SAP NetWeaver tion of the System Rename guide

1.7 Accessing the SAP Library

The references to the SAP NetWeaver Library documentation in this guide always refer to the following on SAP
Help Portal. When you come across a reference to SAP Library documentation in this guide, you always have to
add the path of this reference to the basic URL for the SAP NetWeaver release your SAP product is based on, as
given in the list below:

● SAP systems based on SAP NetWeaver AS for ABAP 7.52:


https://help.sap.com/nw752abap Application Help SAP NetWeaver Library: Function-Oriented
View
● SAP systems based on SAP NetWeaver Application Server for ABAP 7.51 innovation package:
https://help.sap.com/nw751abap Application Help SAP NetWeaver Library: Function-Oriented
View
● SAP systems based on SAP NetWeaver 7.5:
http://help.sap.com/nw75 Application Help SAP NetWeaver Library: Function-Oriented View
● SAP systems based on SAP NetWeaver 7.4:
http://help.sap.com/nw74 Application Help SAP NetWeaver Library: Function-Oriented View

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
About this Document PUBLIC 13
1.8 How to Use this Guide

This documentation comprises the description of the system rename procedure and system rename-specific
steps.

Context

For general installation or system copy-specific information, see the installation or system copy guides:

● The “ installation guide” for your operating system platform and database at https://support.sap.com/
sltoolset System Provisioning Installation Option of Software Provisioning Manager 1.0
Installation Guides - Application Server Systems ).
In the following, we refer to this documentation as “installation guide”.
● The “system copy guide” for your operating system platform at https://support.sap.com/sltoolset
System Provisioning System Copy Option of Software Provisioning Manager 1.0 System Copy Guides .
In the following, we refer to this documentation as “system copy guide”.

Procedure

1. You decide on the system parameters you want to change in the rename process.
For more information, see Use Cases of System Rename [page 7].
2. You follow the steps in each phase:
○ Planning [page 15]
○ Preparation [page 17]
○ Renaming [page 44]
○ Follow-Up Activities [page 62]

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
14 PUBLIC About this Document
2 Planning

This section includes the planning steps that you have to perform when you want to rename an SAP system.

● Check the product version and platform coverage using the product availability matrix of SL Toolset in
SAP Service Marketplace at: https://support.sap.com/pam
● The system rename procedure is valid for the following environments:
○ ABAP
○ Java
○ Dual-stack (ABAP and Java)
○ SAP Web Dispatcher, SAP liveCache, and standalone gateway.
● You can perform the system rename on both central and distributed systems.
● Make sure that you check requirements and restrictions for the SAP system parameters that you want to
rename (see section Basic Installation Parameters in the installation guide for your operating system
platform and database at https://support.sap.com/sltoolset System Provisioning Installation
Option of Software Provisioning Manager 1.0 Installation Guides - <Application Server Systems /
Standalone Engines and Clients> ):
○ SAP system ID
○ Database ID
○ Instance numbers of the instances on the SAP system
With the system rename procedure, you can rename the following instances:
○ Database instance
○ Primary application server instance
○ ABAP Central Services instance (ASCS instance)
○ Enqueue Replication Server

 Note

You cannot use the installer to rename additional application server instances.

If you have installed additional application server instances, you have to do the following:
1. Delete the additional application server instances manually [page 29] from the system before
the system rename.
2. Reinstall the additional application server instances on the system after the system rename.

○ Host names
● SAP systems based on AS ABAP 7.40 and higher: You can set an Individual Encryption Key for the Secure
Storage (see section Basic SAP System Installation Parameters in the installation guide for your release and
database at https://support.sap.com/sltoolset System Provisioning Installation Option of Software
Provisioning Manager 1.0 Installation Guides - Application Server Systems ).
● Users that already exist in the SAP system are not deleted. They are available after the rename of your
system.
● If a required user does not exist, it is created during the system rename procedure.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Planning PUBLIC 15
● If an SAP SCM system with SAP liveCache is to be renamed the following components can be renamed:
○ The SAP SCM system
○ The SAP liveCache server
○ The SAP liveCache client
The SCM system and the SAP liveCache server can be renamed independently. The SAP liveCache client
should be renamed after the SCM system has been renamed but only if the primary database is not SAP
MaxDB (see also the prerequisites of section Performing SAP liveCache Client-Specific Preparation Steps
[page 39]).
● Oracle Database only: If your source system to be renamed has Oracle Database Vault, make sure that
you have read section Implementing Oracle Database Vault with the Installer [page 69].

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
16 PUBLIC Planning
3 Preparation

3.1 Preparation Checklist

This section includes the preparation steps that you have to perform when you want to rename an SAP system.

1. If you want to change the <SAPSID>, make sure that all open transport, repair, and customizing requests
have been released in the source system before you start the system rename procedure. Otherwise you will
not be able to access them in the renamed target system.
2. The installer checks whether the required users and groups already exist. If not, it creates new users and
groups as necessary. If you do not want the installer to create operating system users and groups
automatically, you can choose to create them before running the system rename procedure.
For more information, see Creating Operating System Users and Groups [page 17]
3. If additional application server instances are installed on your system, delete them before you start the
rename procedure.
For more information, see Deleting Additional Application Server Instances [page 29].
4. Perform the preparation steps required for your database.
For more information, see Database-Specific Preparation [page 30].
5. Prepare the media required for the system rename.
For more information, see Preparing the System Rename Media [page 40].
6. You make the global file system with the renamed <SAPSID> available on the instance hosts of the system
that you plan to rename.
For more information, see Preparing the File System [page 42].
7. We strongly recommend that you perform a full system backup before starting the rename procedure, if
you do not have other means to restore the original system in case of problems.

3.2 Creating Operating System Users and Groups

During the installation, the installer checks all required accounts (users, groups) and services on the local
machine. The installer checks whether the required users and groups already exist. If not, it creates new users
and groups as necessary.

The sapinst_instdir directory belongs to a group named sapinst. If this group is not available, it is
created automatically as a local group.

Only valid for 'Platform': z/OS

 Note

IBM Db2 for z/OS only:

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 17
Users and groups that need to be created on z/OS need to be created manually before the installation is
started. For more information, see Necessary z/OS Group and User IDs [page 26].

End of 'Platform': z/OS

If you do not want the installer to create operating system users, groups, and services automatically, you can
optionally create them before the installation is started. This might be the case if you use central user
management such as Network Information System (NIS).

For distributed installations, unless you are using global accounts or NIS, you must create the target users
automatically using the installer or manually on the operating system, before starting the system rename :

 Caution

The user ID (UID) and group ID (GID) of SAP users and groups must be identical for all servers belonging to
an SAP system.

This does not mean that all users and groups have to be installed on all SAP servers.

IBM Db2 for z/OS only:


Only valid for 'Platform': z/OS

On z/OS, instead of NIS, RACF may be used. For more information, see section Security Settings for z/OS in the
Security Guide for SAP on IBM Db2 for z/OS, which is available on the SAP Help Portal at http://help.sap.com/
viewer/db2_security_guide .
End of 'Platform': z/OS

The installer 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.

The installer checks the NIS users, groups, and services using NIS commands. However, the installer 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).

If you want to use global accounts that are configured on a separate host, you can do this in one of the following
ways:

● You start the installer and choose System Rename Preparation Operating System Users and
Groups .
For more information, see Running the Installer [page 48].
● You create operating system users and groups manually. Check the settings for these operating system
users.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
18 PUBLIC Preparation
User Settings

● Only valid for 'Platform': Oracle Solaris


Oracle Solaris: If your operating system is Oracle Solaris 10 or higher, follow the parameter
recommendations for SAP applications in SAP Note 724713 .
End of 'Platform': Oracle Solaris

● Only valid for 'Platform': AIX


AIX: Make sure that you have set the limits for operating system users as described in SAP Note 323816
.
End of 'Platform': AIX

● Only valid for 'Platform': HP-UX, Linux, Oracle Solaris


HP-UX, Linux, Oracle Solaris: Make sure that you have set the limits for operating system users root,
<sapsid>adm, and your database-specific operating system users (see also section "Creating Operating
System Users and Groups" and "Running the Installer" in the installation guide).

 Caution

Caution: the limit mechanism supports hard and soft limits. The soft limit cannot be bigger than the
hard limit. The hard limit can be set/increased by the root user like: limit -h <limit>
<new_value>, for example limit -h datasize unlimited .

○ Using csh shell, the output of command limit needs to be at least as follows:

 Example

The following table lists example output taken from SUSE Linux Enterprise Server 11 (x86_64).

Output Properties

cputime unlimited

filesize unlimited

datasize unlimited

stacksize 8192 KB

coredumpsize unlimited

descriptors 8192

memoryuse unlimited

○ Using sh or ksh shell, the output of command ulimit -a needs to be at least as follows:

 Example

The following table lists example output taken from SUSE Linux Enterprise Server 11 (x86_64).

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 19
Output sh Output ksh Properties

cpu time (seconds) cpu time (seconds) unlimited

file size (blocks) file size (blocks) unlimited

data seg size (kbytes) data size (Kibytes) unlimited

stack size (kbytes) stack size (Kibytes) 8192 KB

core file size (blocks) core file size (blocks) unlimited

open files nofile 8192

max memory size (kbytes) max memory size (Kibytes) unlimited

End of 'Platform': HP-UX, Linux, Oracle Solaris

● All users must have identical environment settings. Any change to the environment – such as variables, or
paths – is at your own responsibility.
● If you have multiple operating system users with user ID (UID) 0, you must assign the sapinst group to all
of them.
● Do not delete any shell initialization scripts in the home directory of the operating system users. This
applies even if you do not intend to use the shells that these scripts are for.
● Oracle Database only:
If you use NFS-V4 file system, you have to create the ora<dbsid> user and - if your database release is
Oracle 12 - the oracle 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 and - if your
database release is Oracle 12 - the oracle user on the database server.
Otherwise, you see the error message FSL-02098 Could not change owner of ... during the
installation of the database instance.
● SAP MaxDB only:
If you create the sdb user manually, make sure that you lock it for the installation. In most cases, the
installer locks this user after it has been created.
● If you install an SAP system with instances distributed over several hosts, make sure that the following
requirements are met:
○ The user ID (UID) and group ID (GID) of each operating system user must be unique and the same on
each instance host that belongs to the same SAP system.
○ Make sure that the group ID of group sapinst is always different from the group ID of any other group
(for example, of group sapsys) used during the installation.
For example, if you want to install an additional application server instance for an existing SAP system,
you must make sure that the group ID of group sapinst created on the host of the additional
application server instance is different from the group ID of any other group on the primary application
server instance host of the existing SAP system.
○ If you use local operating system user accounts instead of central user management (for example,
NIS), users <sapsid>adm, sapadm, and the database operating system user must have the same
password on all hosts.
○ SAP HANA Database only:

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
20 PUBLIC Preparation
○ If you use local operating system user accounts instead of central user management (for example,
NIS), users <sapsid>adm and sapadm must have the same password on all hosts.
○ If you use local operating system user accounts, make sure that you install your SAP system in Custom
mode and specify suitable IDs for user <sapsid>adm and group sapsys on all hosts. The IDs have to
be the same on all hosts. If you choose Typical mode, you are not asked to specify the user and group
IDs.
● If you create operating system users manually or use already existing operating system users, make sure
that the home directory for each of these users is not the root directory ( / ) .
● Make sure that the home directory of user <sapsid>adm is not critical for recursive changes on
permissions.
When operating system users are created by the installer, the permissions on the home directories of these
users are changed recursively. This can cause unpredictable errors if you define a critical home directory.
For example, the home directory must not be / or /usr/sap.
● Only valid for 'Platform': HP-UX
HP-UX: To prevent terminal query errors in the <sapsid>adm environment, comment out the line eval
'tset -s -Q -m ':?hp' in the /etc/skel/.login script. For more information, see SAP Note
1038842 .
End of 'Platform': HP-UX

Operating System Users and Groups

The installer chooses available operating system user IDs and group IDs unless you are installing an additional
application server instance. On anadditional application server instance you have to enter the same IDs as on
the host of the primary application server instance.

If you have multiple operating system users with user ID (UID) 0, you must assign the sapinst group to all of
them.

 Recommendation

For security reasons, we recommend that you remove the operating system users from the group sapinst
after the installer has completed.

We recommend that you specify this “cleanup” already during the Define Parameters phase on the Cleanup
Operating System Users screen. Then, the removal of the operating system users from the group sapinst
is done automatically.

IBM Db2 for z/OS:

Users and Their Groups

User Primary Group Secondary Groups

<sapsid>adm sapsys sapinst

root sapsys sapinst

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 21
Groups and Members

Groups Members

sapsys ● <sapsid>adm
● root

sapinst ● <sapsid>adm
● root

SAP MaxDB and SAP HANA Database:

Users and Groups

User Primary Group Additional Group Description

root None sapinst Superuser of the UNIX oper­


ating system

<sapsid>adm sapsys sapinst SAP system administrator

SAP MaxDB only: sapsys sapinst, sdba Owner of database instance


<DBSID>
sqd<dbsid>

SAP MaxDB only: sdba Database software owner

sdb

Groups and Members

Groups Members

sapsys SAP MaxDB:

<sapsid>adm, sqd<dbsid>

SAP HANA database:

<sapsid>adm

sapinst SAP MaxDB:

root, <sapsid>adm, sqd<dbsid>

SAP HANA database:

root, <sapsid>adm

SAP MaxDB only: sqd<dbsid>, sdb

sdba

IBM Db2 for Linux, UNIX, and Windows:

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
22 PUBLIC Preparation
Users and Groups

User Primary Group

Superuser of the UNIX operating system root No primary group is assigned by the installer (additional
group is sapinst)

SAP system administrator<sapsid>adm sapsys (db<dbsid>ctl as secondary group)

ABAP connect user sap<sapsid> db<dbsid>mon

 Note
Only used on the database host.

db2<dbsid> db<dbsid>adm (sapinst as secondary group)

 Note
Only used on the database host.

Groups and Members

Groups Members

sapsys <sapsid>adm

db<dbsid>ctl <sapsid>adm

db<dbsid>adm db2<dbsid>

db<dbsid>mnt -

db<dbsid>mon ABAP connect user sap<sapsid>

Oracle:

SAP System Users and Groups

User Primary Group Additional Groups Comment

root No primary group assigned by sapinst Superuser of the UNIX operat­


the installer. ing system

<sapsid>adm sapsys oper, dba, sapinst SAP system administrator and


for Oracle 12 the default data­
The following groups are always
base administrator
required for Oracle 12, but for
Oracle 11 only if you want to use
Oracle ASM: asmoper, asmdba

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 23
User Primary Group Additional Groups Comment

ora<dbsid> dba oper, sapinst, oinstall Database administrator

This user is only required on the


host where the database in­
stance runs.

oracle dba oper, sapinst, asmoper, Oracle Software Owner and da­
asmadmin, asmdba, oinstall tabase administrator

This user is only required on the


host where the database in­
stance runs.

This user is only required for


Oracle 12 or Oracle 11 with
ASM/Exadata.

SAP System Groups and Members

Groups Members

sapsys <sapsid>adm

oper <sapsid>adm, ora<dbsid>, oracle (always required for


Oracle 12; for Oracle 11 only required if you want to use
Oracle ASM)

dba <sapsid>adm, ora<dbsid>, oracle (always required for


Oracle 12; for Oracle 11 only required if you want to use
Oracle ASM)

sapinst root, <sapsid>adm, ora<dbsid>, oracle (always re­


quired for Oracle 12; for Oracle 11 only required if you want to
use Oracle ASM)

asmoper <sapsid>adm (always required for Oracle 12; for Oracle 11


only required if you want to use Oracle ASM), Oracle

asmadmin oracle (always required for Oracle 12; for Oracle 11 only re­
quired if you want to use Oracle ASM)

asmdba <sapsid>adm (always required for Oracle 12; for Oracle 11


only required if you want to use Oracle ASM), Oracle

oinstall (always required for Oracle 12; for Oracle 11 only oracle (always required for Oracle 12; for Oracle 11 only re­
required if you want to use Oracle ASM) quired if you want to use Oracle ASM), ora<dbsid>

SAP Adaptive Server Enterprise:

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
24 PUBLIC Preparation
Users and Groups

User: Primary Group:

UNIX superuser root No primary group assigned by SAPinst (group sapinst is as­
signed as secondary group).

SAP system administrator <sapsid>adm sapsys (sapinst as secondary group)

syb<dbsid> sapsys

 Note
Only used on the database host.

SAP Host Agent:

User and Groups of the SAP Host Agent

User Primary Group Additional Group Comment

sapadm sapsys – SAP Host Agent administrator

 Note
If sapadm does not exist, it is
created during the SAP Host
Agent installation using /bin/
false shell.

Make sure that /bin/false


can be used as a login shell.
Only valid for 'Platform': AIX

AIX: Add /bin/false to the list


of valid login shells (attribute
shells) in /etc/security/
login.cfg.
End of 'Platform': AIX

Groups and Members of the SAP Host Agent User

Groups Members

sapsys sapadm

sapinst sapadm

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 25
3.3 Necessary z/OS Group and User IDs

The following are lists of the group and z/OS user IDs necessary for your SAP system on z/OS. If these group or
user IDs do not already exist in your system, you must create them.

For more information, see https://help.sap.com/viewer/db2_security_guide

Users and Groups for z/OS

Necessary z/OS Group and User IDs

Group/User ID Description Usage Type

Database Administration User ID Temporary user needed for the SAP installation. AS ABAP

DB Connect User ID for AS ABAP Permanent user needed for the database connec­ AS ABAP
tion. You are free to choose the name of this user. If
you are installing both usage types, we advise you to
choose different names for the user IDs for AS
ABAP.

Group ID for ABAP Schema Permanent group needed for the ABAP schema. AS ABAP
This group ID must be the same as the name of the
ABAP schema that you specify during installation. If
you are installing both usage types, you must
choose different names for the group IDs for ABAP
schema and Java schema.

Users and Groups for z/OS UNIX System Services

Before the installation, you must create each of the following groups and users in RACF for your SCS or ASCS
instance on z/OS UNIX System Services.

For each group and user listed in the following table, you must create an entry in the table /etc/
ualiastable, to ensure that each group and user can be used in both upper and lowercase.

For more information, see https://help.sap.com/viewer/db2_security_guide .

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
26 PUBLIC Preparation
Necessary z/OS UNIX System Services Group and User IDs

Group/User ID Description Usage Type

sapsys Group ID Permanent group needed for the central serv­ AS ABAP
ices instance on z/OS.
AS Java

Diagnostics Agent

SAP Host Agent

<sapsid>adm User ID Permanent user needed for the central services AS ABAP
instance on z/OS.

User ID to install an SAP central serv­ Temporary user needed for the SAP central AS ABAP
ices instance on z/OS services instance installation.
Diagnostics Agent

SAP Host Agent

sapinst Group ID Permanent group needed for the central serv­ AS ABAP
ices instance on z/OS.
Diagnostics Agent

<dasid>adm User ID Permanent user needed by the Diagnostics AS ABAP


Agent.
Diagnostics Agent

sapadm User ID Permanent user needed by the SAP Host Agent. AS ABAP

Diagnostics Agent

SAP Host Agent

 Caution

The user ID (UID) and group ID (GID) of SAP users and groups must be identical for all servers belonging to
an SAP system.

This does not mean that all users and groups have to be installed on all SAP servers.

Enhanced ASCII Setup on z/OS

To enable enhanced ASCII support, see the procedure in the Security Guide for SAP on IBM Db2 for z/OS,
section Security Settings for z/OS , which you can find under https://help.sap.com/viewer/
db2_security_guide .

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 27
3.4 Performing a System Copy by Copying the File System

You can duplicate a source SAP system by copying the file system, and then rename the target system to
obtain two separate SAP systems. This section describes how to copy the file system of a source SAP system
and its database.

Prerequisites

You have shut down the SAP system including the database and the instance agents.

● To check that they are stopped, enter the following command:


ps -ef | grep <source_SAPSID>
● In addition, you can also make sure that the services of the system instances are stopped by executing the
following command as user <sapsid>adm:
sapcontrol -nr <InstanceNumber> -function StopService

Procedure

●  Note

Make sure that during the copy of the file system, the links are not dereferenced.

 Note

For IBM Db2 for Linux, UNIX, and Windows, the target host must be different from the source host.

● If you have a central system, proceed as follows:


a. On the target host, copy /usr/sap/<SAPSID> to /usr/sap/<Target SAPSID>.
b. On the target global host, copy /<sapmnt>/<SAPSID> to /<sapmnt>/<Target SAPSID>.
● If you have a distributed system, proceed as follows:
a. Export the file system under /<sapmnt>/<Target SAPSID> including its subdirectories exe,
global, and profile from the global host.
b. Mount the exported file system /<sapmnt>/<Target SAPSID> on all other hosts of the distributed
system.
c. Remove the directories of the source system, which have been moved from the list of NFS exported file
systems under /<sapmnt>/<Source SAPSID>.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
28 PUBLIC Preparation
3.5 Deleting Additional Application Server Instances

The system rename procedure does not implicate additional application server instances. Therefore, if
additional application server instances are installed on your system, delete them before you start the rename
procedure, and reinstall additional application server instances as required after the system rename.

Prerequisites

● You have installed your SAP system with standard SAP tools according to the installation documentation.
● You have made the media available that you used for installing the system on the additional application
server instance host that you want to delete.

Context

 Note

You cannot delete an additional application server instance remotely. You have to run the tool to delete
them locally on each additional application server instance host.

All file systems and subdirectories of the selected additional application server instance are deleted during the
uninstall process.

The uninstall process is designed to remove as much of the additional application server instance as possible. If
an item cannot be removed, a message informs you that you have to remove this item manually. As soon as you
confirm the message, the uninstall process continues.

Procedure

1. Start the tool as described in Running the Installer [page 48].

2. On the Welcome screen, choose <SAP_Product> Software Life-Cycle Options Uninstall .


3. Follow the instructions in the input dialogs to delete an additional application server instance.

 Note

For more information about the input parameters, place the cursor on the relevant field and press F1 .

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 29
3.6 Database-Specific Preparation

You have to do some preparation steps in the database of the system you want to rename.

Make sure you have completed the preparation steps for your database as described in the relevant section
below.

Performing Preparation Steps for IBM Db2 for Linux, UNIX, and Windows [page 30]
This section describes prerequisites and preparation steps that you have to perform for IBM Db2 for
Linux, UNIX, and Windows before starting the system rename procedure.

Performing IBM Db2 for z/OS – Specific Preparation Steps [page 33]
This section describes the prerequisites and preparation steps that you have to perform for IBM Db2
for z/OS before starting the system rename procedure.

Performing Oracle-Specific Preparation Steps [page 35]


This section describes prerequisites and preparation steps that you have to perform for the Oracle
database before starting the system rename procedure.

Performing SAP ASE -Specific Preparation Steps [page 36]


This section describes the prerequisites and preparation steps that you have to perform for SAP ASE
before starting the system rename procedure.

Performing SAP MaxDB-Specific Preparation Steps [page 37]


This section describes the prerequisites and preparation steps that you have to perform for SAP
MaxDB before starting the system rename procedure.

Performing SAP liveCache-Specific Preparation Steps [page 38]


This section describes the prerequisites and preparation steps that you have to perform for SAP
liveCache before starting the system rename procedure.

Performing SAP liveCache Client-Specific Preparation Steps [page 39]


This section describes the prerequisites and preparation steps that you have to perform for SAP
liveCache client before starting the system rename procedure.

Performing SAP HANA Database-Specific Preparation Steps [page 40]


This section describes the prerequisites and preparation steps that you have to perform forSAP HANA
database before starting the system rename procedure.

3.6.1 Performing Preparation Steps for IBM Db2 for Linux,


UNIX, and Windows

This section describes prerequisites and preparation steps that you have to perform for IBM Db2 for Linux,
UNIX, and Windows before starting the system rename procedure.

Prerequisites

● The database instance must be either stopped or - if it is running - there must not be any database
connections.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
30 PUBLIC Preparation
During the procedure it will be started and stopped automatically if required. After the preparation it will be
stopped.
● The patch level of db6util is patch level 10 or higher. For more information, see SAP Note 1776691 .
● The patch level of the brdb6brt tool is patch level 32 or higher.
If tool brdb6brt does not exist within the /sapmnt/<SAPSID>/exe directory, download and install it as
described in SAP Note 511323 . Information about the latest patches of tool brdb6brt you can find in
SAP Note 867914 .
● IBM Db2 for Linux, UNIX, and Windows V10.1 and Higher only:
Make sure that your <sapsid>adm user has execute permission for function
sysproc.admin_get_storage_paths by running the following command on your source system as
user db2<dbsid>:
db2 "grant execute on specific function sysproc.admin_get_storage_paths to user
<sapsid>adm"
● The version of SAP Host Agent must be 7.21 PL 26 or higher.
● Only valid for 'Platform': Oracle Solaris
If your operating system is Solaris SPARC or Solaris X86_64, the database version must be 9.7 FP7 or
higher.
End of 'Platform': Oracle Solaris

Procedure

1. Make sure that the SAP system is stopped.


2. Create the relocate.template file as described below. This file is required in the tool dialog phase.
a. On the source system, log on as user db2<dbsid> and create the directory sapdbctrl-config
under /tmp. This does not apply if the directory already exists.

 Note

If directory /tmp does not exist, you must create it before you perform the steps listed below.

Proceed as follows:

1. Execute cd /tmp.
2. Execute mkdir ./sapdbctrl-config
3. Log off from the system.
b. Log on again as user root on the source system.
c. Execute cd /usr/sap/hostctrl/exe.
d. Execute ./saphostctrl -function PrepareDatabaseCopy -dbname <DBSID> -dbtype db6
-dbconfdir /tmp/sapdbctrl-config/ -dbinstance db2<dbsid> -copymethod Offline
-dostatechange.

The system creates the relocate.template file in the /tmp/sapdbctrl-config directory.

Check if the file relocate.template contains one or more entries for CONT_PATH or
STORAGE_PATH. If not you must not start the system rename procedure.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 31
This is an example of the files created in the sapdbctrl-config directory:

root@db6xen008[Linux]/tmp/sapdbctrl-config > ls -la total 28


drwxr-x--- 2 db2ph5 dbph5adm 4096 Oct 6 23:51 .
drwxr-xr-x 9 db2ph5 dbph5adm 4096 May 16 13:36 ..
-rw-r----- 1 db2ph5 dbph5adm 2584 Oct 11 09:23 db2ph5.cfg
-rw-r--r-- 1 root root 46 Oct 11 09:23 db2ph5.net
-rw-r--r-- 1 root root 8810 Oct 11 09:23 relocate.template

3. Provide all database-related directories on the target system. This includes the following directories:
○ /db2/<DBSID>/
○ The file system of the home directory of db2sid (default:/db2/db2<dbsid>).

To provide the required directories, use one of the following methods:

 Note

The commands below are given as an example if your home directory is db2<dbsid>. You have to
adjust them for all required directories.

○ If the source and the target system are located on one and the same host, proceed as follows:
If you want to adjust or rename your SAP system on the same host, keep all directories at their
locations.
The tool will find and move them to the correct directory and set the required ownerships and
permissions.

 Note

If /db2/db2<dbsid> or /db2/<DBSID> is a mount point or there are mount points under these
directories (for example /db2/<DBSID>/sapdata1 is a mount point), proceed as follows:
1. Stop the SAP system including its instance agents.
2. Unmount the mount points.
3. Before you start the system rename, mount the file systems under the target <DBSID> or
db2<dbsid>.

○ If the source and the target system are located on different hosts, proceed in one of the following ways:
○ Mount all file systems manually on the target system

 Recommendation

This is the recommended option.

 Note

If /db2/db2<dbsid> or /db2/<DBSID> is a mount point or there are mount points under


these directories (for example /db2/<DBSID>/sapdata1 is a mount point), then mount the
file systems under the target <DBSID> or db2<dbsid>.

○ Copy the directories using the copy command of the operating system.

 Note

When you provide required database related directories on the target host, use the source
<DBSID> within the directory names. The tool will find and move them to the correct location
and set the required ownerships and permissions.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
32 PUBLIC Preparation
To keep the current ownership of the directory and softlinks, use an archiving tool as follows:
source host:~ # tar -cpf /tmp/db2<dbsid_source>.tar /db2/db2<dbsid_source>
source host:~ # tar -cpf /tmp/<DBSID_source>.tar /db2/<DBSID_source>

source host:~ # scp /tmp/db2<dbsid_source>.tar <user>@<dbsid_source>:/tmp


source host:~ # scp /tmp/<DBSID_source>.tar <user>@<target host>:/tmp

target host:~ # tar -xvf /tmp/db2<dbsid_source>.tar /db2/db2<dbsid_source>


target host:~ # tar -xvf /tmp/<DBSID_source>.tar /db2/<DBSID_source>
4. Make sure the contents of the db6_update_db.SAR archive attached to SAP Note 1365982 are
available in the sapdbctrl-config directory.

 Note

Make sure the permissions of file db6_update_db.sh and db6_update_db.jar are rwxr-xr-x. To
check the file permissions, enter the following command:

ls -l db6_update_db.sh db6_update_db.jar.

To change the file permission enter the following command:

chmod 755 db6_update_db.sh db6_update_db.jar.

5. Make sure that you stop all system and database processes before you start the system rename
procedure. To check that they are stopped, enter the following command: ps -ef | grep db2

3.6.2 Performing IBM Db2 for z/OS – Specific Preparation


Steps

This section describes the prerequisites and preparation steps that you have to perform for IBM Db2 for z/OS
before starting the system rename procedure.

Context

No rename actions are performed on the database subsystem itself.

There are two types of renaming:

Procedure

● Rename of an SAP system without copying the IBM Db2 for z/OS subsystem:
○ The application server is renamed; no changes are made on the IBM Db2 for z/OS subsystem.
○ The renamed SAP system stays connected to the original IBM Db2 for z/OS subsystem

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 33
Rename of an SAP System without copying the IBM Db2 for z/OS Subsystem
● Rename of an SAP system after copying the IBM Db2 for z/OS subsystem.

Before running the tool , you have to copy your IBM Db2 for z/OS database using the offline system copy
method.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
34 PUBLIC Preparation
Rename of an SAP System after copying the IBM Db2 for z/OS Subsystem

For more information about the system copy procedure, see the SAP Note 680746 .

3.6.3 Performing Oracle-Specific Preparation Steps

This section describes prerequisites and preparation steps that you have to perform for the Oracle database
before starting the system rename procedure.

Procedure

1. For the offline backup method, we recommend that you shut down the database. Alternatively, the installer
can also make an instance recovery of the database if it has not been shut down before the copy process.
For the online backup method, you have to set the database to a backup mode and the backup control files
and the Oracle archives will be copied to an existing shared directory. You can set the database to a backup
mode using the following command:

saphostctrl -function PrepareDatabaseCopy -dbname <DBSID> -dbtype ora -dbconfdir


<shared_directory> -copymethod Online -timeout -1

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 35
After the database backup has finished, you have to set the database back to a normal mode using the
following command:

saphostctrl -function FinalizeDatabaseCopy -dbname <DBSID> -dbtype ora -


dbconfdir <shared_directory> -copymethod Online -timeout -1
2. Copy the required files and directories contained under the /oracle directory from the source host to the
target host. These are at least the following directories with all contained subdirectories and files:
<DBSID>, stage, oraInventory, client
○ Make sure that all Oracle files, especially the control files, are stored under SAPDATA_HOME. If the
control files are not located in SAPDATA_HOME, it is not possible to set the permissions for them.
○ If /oracle/<DBSID> is a mount point or there are mount points under /oracle/<DBSID> (for
example /oracle/<DBSID>/sapdata1 is a mount point), proceed as follows:
1. Stop the SAP system including its instance agents.
2. Unmount the mount points.
3. Before you start the system rename, mount the file systems under the new database system ID
(<DBSID>).

3.6.4 Performing SAP ASE -Specific Preparation Steps

This section describes the prerequisites and preparation steps that you have to perform for SAP ASE before
starting the system rename procedure.

Procedure

1. Stop the SAP system and the source database server.


2. Prepare the filesystem for the system rename. You can apply one of the following scenarios:

 Note

The commands below are given as an example. We assume that your home directory is /sybase/
<DBSID>. You must adjust them according to your needs for all required directories.

○ Adjust or rename an SAP System on the same host with no mount points:
If you want to adjust or rename your SAP system on the same host and there are no mount points
under /sybase/<DBSID>, keep all directories at their locations. The installer will find and move them
to the correct directory and set the required ownerships and permissions.
○ Adjust or rename an SAP System on the same host with mount points:
If you want to adjust or rename your SAP system on the same host and there are mount points under /
sybase/<DBSID_Source>, you must remount all file system at the new location /sybase/
<DBSID_Target>.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
36 PUBLIC Preparation
 Note

If /sybase/<DBSID> is a mount point or there are mount points under /sybase/<DBSID> - for
example, /sybase/<DBSID>/sapdata_1 is a mount point - proceed as follows:
1. Unmount the mount points.
2. Mount the file systems under the new SAP system ID.

○ Create a copy system on the same host:


If you want to create a copy of the system on the same host, use the following command to copy the
directories keeping the current ownerships and permissions:
cp -pPr /sybase/<DBSID_Source> /sybase/<DBSID_Target>
○ Create a copy system on a different target host:
If the source and the target system are located on different hosts, proceed in one of the following ways:
○ If mount points are involved, mount all file systems manually on the target system
○ If no mount points are involved, copy the directories using the copy command of the operating
system.
source host:~ # scp -r /sybase/<DBSID_Source> <User>@<Target_Host>:/
sybase/<DBSID_Target>

3.6.5 Performing SAP MaxDB-Specific Preparation Steps


This section describes the prerequisites and preparation steps that you have to perform for SAP MaxDB before
starting the system rename procedure.

Procedure

1. On the target host, create the SAP MaxDB OS group sdba and the SAP MaxDB OS user sdb. The group
and the user must have the same IDs as on the source host.
2. Make available the entire SAP MaxDB file system content from the source host on the target host with the
following directories (if available), while keeping the ownership and access permissions:

/sapdb/<SOURCE_DBSID>/

/sapdb/clients/

/sapdb/programs

/sapdb/data

/etc/opt/sdb

/usr/spool/sql

/var/lib/sdb
3. If the directories are implemented on the mount points, pay attention to the following:
○ The directory /sapdb/<SRC> is implemented as a mount point.
In this case, the rename procedure creates directory /sapdb/<TRG>, which does not contain a
mounted file system. The procedure transfers the contents of /sapdb/<SRC> to /sapdb/<TRG>. You

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 37
must therefore make sure that there is enough space in file system /sapdb/ to store the contents of /
sapdb/<SRC>.
○ The mount points below directory /sapdb/<SRC>/ are subject to the same restrictions.
○ SAP Note 2346237 describes the process for configuring mount points during the system name
procedure.
4. Check free space in the SAP MaxDB directories:
○ The /sapdb/<SOURCE_DBSID>/ directory must contain enough space to locate the archives of the
following subdirectories:
db
data
○ The /sapdb/clients/<SOURCE_DBSID> directory must contain enough free space to locate the
archives of all subdirectories.
5. Make sure that you stop all system and database processes before you start the rename procedure. You
can check this by using the following call: ps -efa | grep sdb

3.6.6 Performing SAP liveCache-Specific Preparation Steps

This section describes the prerequisites and preparation steps that you have to perform for SAP liveCache
before starting the system rename procedure.

Procedure

1. On the target host, create the SAP liveCache OS group sdba and the SAP liveCache OS user sdb. The
group and the user must have the same IDs as on the source SAP liveCache host.
2. Make available the entire SAP liveCache file system content from the source host on the target host with
the following directories (if available), while keeping the ownership and access permissions:

/sapdb/<SOURCE_LVC>/

/sapdb/clients/

/sapdb/programs

/sapdb/data

/etc/opt/sdb

/usr/spool/sql

/var/lib/sdb
3. If the directories are implemented on the mount points, pay attention to the following:
○ The directory /sapdb/<SRC> is implemented as a mount point.
In this case, the rename procedure creates directory /sapdb/<TRG>, which does not contain a
mounted file system. The procedure transfers the contents of /sapdb/<SRC> to /sapdb/<TRG>. You
must therefore make sure that there is enough space in file system /sapdb/ to store the contents of /
sapdb/<SRC>.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
38 PUBLIC Preparation
○ The mount points below directory /sapdb/<SRC>/ are subject to the same restrictions.
○ SAP Note 2346237 describes the process for configuring mount points during the system name
procedure.
4. Check free space in the SAP liveCache directories:
○ The /sapdb/<SOURCE_LVC>/ directory must contain enough space to locate the archives of the
following subdirectories:
db
data
○ The /sapdb/clients/<SOURCE_LVC> directory must contain enough free space to locate the
archives of all subdirectories.
5. Make sure that you stop all system and database processes before you start the rename procedure. You
can check this by using the following call: ps -efa | grep sdb
6. Make sure that there are no temporary files in the file system when you start the system rename process.

3.6.7 Performing SAP liveCache Client-Specific Preparation


Steps

This section describes the prerequisites and preparation steps that you have to perform for SAP liveCache
client before starting the system rename procedure.

Context

These steps are not required if the SAP liveCache Server is also located on the same host and SAP liveCache
Server-specific preparation steps are already done or will be done.

Procedure

1. On the target host, create the SAP liveCache OS group sdba and the SAP liveCache OS user sdb. The
group and the user must have the same IDs as on the source SAP liveCache client host.
2. Make available the entire file system content of the SAP liveCache client from the source host on the target
host with the following directories (if available), while keeping the ownership and access permissions:

/sapdb/clients/

/sapdb/programs

/sapdb/data

/etc/opt/sdb

/usr/spool/sql

/var/lib/sdb

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 39
3. Check free space in the SAP liveCache client directories:

The /sapdb/clients directory must contain enough space to locate the archives of all subdirectories.

3.6.8 Performing SAP HANA Database-Specific Preparation


Steps

This section describes the prerequisites and preparation steps that you have to perform forSAP HANA
database before starting the system rename procedure.

Context

You can use the installer only for renaming the application server instances, and the ABAP central services
instance , but you can not rename the SAP HANA database with this tool. If you want to rename the SAP HANA
database, you have to do this as a separate step in advance .

Procedure

You perform the rename for the SAP HANA database as described in section Changing the SAP HANA System
in the SAP HANA Administration Guide at http://help.sap.com/hana_platform System Administration .

3.7 Preparing the System Rename Media

This section describes how to prepare the media required for the system rename procedure.

 Note

The signature of media is checked automatically by the installer during the Define Parameters phase while
processing the Media Browser screens. As of now the installer only accepts media whose signature has
been checked. See also the description of this new security feature in SAP Note 2393060 .

Related Information

Downloading and Extracting the Software Provisioning Manager 1.0 Archive [page 41]

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
40 PUBLIC Preparation
3.7.1 Downloading and Extracting the Software Provisioning
Manager 1.0 Archive

You must always download and extract the Software Provisioning Manager 1.0 archive from the SAP Software
Download Center because you must use the latest version.

Procedure

1. Download the latest version of the Software Provisioning Manager 1.0 archive
SWPM10SP<Support_Package_Number>_<Version_Number>.SAR from:

https://support.sap.com/sltoolset System Provisioning Download Software Provisioning


Manager
2. Make sure that you use the latest version of the SAPCAR tool when manually extracting the Software
Provisioning Manager archive.

 Note

An older SAPCAR version might extract archive files in a wrong way and this could prevent the installer
from working consistently.

Proceed as follows to get the latest version of SAPCAR:

a. Go to https://launchpad.support.sap.com/#/softwarecenter SUPPORT PACKAGES &


PATCHES and search for “sapcar”.
b. Select the archive file for your operating system and download it to an empty directory.
c. Rename the executable to sapcar.exe.

For more information about SAPCAR, see SAP Note 212876 .


3. Using the latest version of SAPCAR, you can verify the signature of the downloaded
SWPM10SP<Support_Package_Number>_<Version_Number>.SAR archive as follows:
a. Get the latest version of the SAPCRYPTOLIB archive to your installation host as follows:

1. Go to https://launchpad.support.sap.com/#/softwarecenter SUPPORT PACKAGES &


PATCHES and search for “sapcryptolib”.
2. Select the archive file for your operating system and download it to the same directory where you
have put the SAPCAR executable.
3. Use the following command to extract the SAPCRYPTOLIB archive to the same directory where
you have put the SAPCAR executable:
sapcar –xvf sapcryptolibp_84…sar –R <target directory>
4. Download the Certificate Revocation List from https://tcs.mysap.com/crl/crlbag.p7s and move
it to the same directory.
b. Verify the signature of the downloaded
SWPM10SP<Support_Package_Number>_<Version_Number>.SAR archive by executing the
following command:

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 41
 Note

Check SAP Notes 2178665 and 1680045 whether additional information is available.

/<Path to SAPCAR>/sapcar -tvVf <Path to Download Directory>/


SWPM10SP<Support_Package_Number>_<Version_Number>.SAR -crl<file name of
revocation list>
4. Unpack the Software Provisioning Manager archive to a local directory using the following command:

/<Path to SAPCAR>/sapcar -xvf <Path to Download Directory>/


SWPM10SP<Support_Package_Number>_<Version_Number>.SAR -R <Path to Unpack
Directory>

 Note

Make sure that all users have read permissions for the directory where you want to unpack the installer.

 Caution

Make sure that you unpack the Software Provisioning Manager archive to a dedicated folder. Do not
unpack it to the same folder as other installation media.

3.8 Preparing the File System

Use this step to make the file system available on the system that you plan to rename.

Prerequisites

You have performed the database specific preparation steps.

 Note

You have to mount the file system before you start the system rename procedure.

Procedure

● If your system is a central system (all system instances reside on one host) and the /usr/sap/
<SAPSID> and /<sapmnt>/<SAPSID> directories are mount points, proceed as follows:
a. Stop the SAP system including its instance agents.
○ To check that they are stopped, enter the following command:
ps -ef | grep <source_SAPSID>

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
42 PUBLIC Preparation
○ In addition, you can also make sure that the services of the system instances are stopped by
executing the following command as user <sapsid>adm:
sapcontrol -nr <InstanceNumber> -function StopService
b. Unmount the mount points /usr/sap/<source_SAPSID> and /<sapmnt>/<source_SAPSID>.
c. Before you start the system rename, mount the file system, which you have unmounted in the previous
step, under the new <SAPSID>.
● If your system is a distributed system, proceed as follows:
a. Stop all SAP system instances including their instance agents.
○ To check that they are stopped, enter the following command:
ps -ef | grep <source_SAPSID>
○ In addition, you can also make sure that the services of the system instances are stopped by
executing the following command as user <sapsid>adm:
sapcontrol -nr <InstanceNumber> -function StopService
b. Unmount /<sapmnt>/<Source_SAPSID>/* directories on all system hosts.
c. Remove /<sapmnt>/<Source_SAPSID>/* from the list of mounted file systems on all system hosts.
d. Move /<sapmnt>/<Source_SAPSID>/* to /<sapmnt>/<Target_SAPSID> on all hosts.
e. Adapt the file system exports on the global host. You can do this using a tool for your operating system,
such as YaST2 on SuSE Linux. Proceed as follows:
1. Remove /<sapmnt>/<Source_SAPSID>/* from the list of export file systems.
2. Add /<sapmnt>/<Target_SAPSID>/* to the list of export file systems.
f. Export the file system.
g. Mount /<sapmnt>/<Target_SAPSID>/* on all system hosts. Make sure that the file system will also
be mounted after a reboot. You can do that using a tool for your operating system, such as YaST2 on
SuSE Linux.

Related Information

Database-Specific Preparation [page 30]


Running the Installer [page 48]

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Preparation PUBLIC 43
4 System Rename Procedure

4.1 System Rename Procedure Checklist

This section includes the renaming steps that you have to perform for the following options:

● Standard system
● Distributed system

The installer adapts the SAP system on an operating system level. The system parameters are adapted offline.

The installer automatically starts the following instances during the system rename:

● Database
● Instance agents of a UNIX operating system
● ABAP Central services instance (ASCS instance) if an ASCS instance is available

Central System

You check the Prerequisites for Running the Installer [page 45] and run the installer to rename the system as
described in Running the Installer [page 48].

Distributed and High-Availability System

 Note

See also table System Rename Options and Sequence how to Execute Them in Running the Installer [page
48].

1. If your SAP system has an ASCS instance, you check the Prerequisites for Running the Installer [page 45]
and run the installer to rename the ASCS instance as described in Running the Installer [page 48].
2. You make sure that the global directories (exe, profile, global) are exported to the instance hosts of
the SAP system to be renamed.
If your SAP system has an ASCS instance and the ASCS instance host is the SAP global host of the system,
you export the global directories to the database instance host, to the primary application server instance
host, and – if required – to the additional application server instance hosts of the SAP system to be
renamed.
For more information, see Preparing the File System [page 42].
3. You check the Prerequisites for Running the Installer [page 45] and run the installer to rename the
database instance as described in Running the Installer [page 48].
4. You check the Prerequisites for Running the Installer [page 45] and run the installer to rename the
primary application server instance as described in Running the Installer [page 48].

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
44 PUBLIC System Rename Procedure
5. Optional: You check the Prerequisites for Running the Installer [page 45] and run the installer to rename
existing standalone Gateway instances as described in Running the Installer [page 48].
6. Optional: You check the Prerequisites for Running the Installer [page 45] and run the installer to rename
the SAP Web Dispatcher instance as described in Running the Installer [page 48].

Next Steps

You perform follow-up activities [page 61]

4.2 Prerequisites for Running the Installer

Make sure you fulfil the following prerequisites before running the installer.

● For the SL Common GUI, make sure that the following web browser requirements are met:
○ You have one of the following supported browsers on the device where you want to run the SL
Common GUI:
○ Google Chrome (recommended)
○ Mozilla Firefox
○ Microsoft Edge
○ Microsoft Internet Explorer 11 or higher.
Always use the latest version of these web browsers.
○ If you copy the SL Common GUI URL manually in the browser window, make sure that you open a new
Web browser window in private browsing mode (Internet Explorer), incognito mode (Chrome) or
private browsing mode (Firefox). This is to prevent Web browser plugins and settings from interfering
with the SL Common GUI.

 Caution

The installer uses a self-signed certificate, which is used temporarily only while the installer is running.
This certificate is not trusted by the browser unless it is imported manually by the user running the
installer. This behavior is intentionally designed in this way because - unlike ordinary public web servers
- the installer has different usage patterns. You must configure your browser do trust the self-issued
certificate of the installer after carefully performing the “thumbprint” verification described in Running
the Installer [page 48]. For more information about adding trusted certificates, see the
documentation of your browser.

For more information about the SL Common GUI, see Useful Information about the Installer [page 53].

● We recommend that you use the csh shell for the installation. If you want to use another shell, make sure
that you have read SAP Note 202227 .
The installer uses csh scripts during the installation to obtain the environment for user <sapsid>adm.
This is also true if user <sapsid>adm already exists from an earlier SAP system installation, and the shell
of this user is not csh. Before you start the installer, execute the following command as user <sapsid>adm
to make sure that the csh scripts are up-to-date:
/bin/csh -c "source /home/<sapsid>adm/.cshrc;env"

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
System Rename Procedure PUBLIC 45
● 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 755.
● Make sure that you have at least 300 MB of free space in the installation directory for each installation
option. In addition, you need 300 MB free space for the installer executables. If you cannot provide 300 MB
free space in the temporary directory, you can set one of the environment variables TEMP, TMP, or TMPDIR
to another directory with 300 MB free space for the installer executables.
You can set values for the TEMP, TMP, or TMPDIR environment variable to an alternative installation
directory as described in section Useful Information About the Installer [page 53].
● Make sure that umask is set to 022 for the user with root permissions that you want to use for running the
installer.
As the user with root permissions that you want to use for running the installer, enter the following
command: umask 022
● Only valid for 'Platform': AIX
AIX: Make sure that you have set the limits for operating system users as described in SAP Note 323816
.
End of 'Platform': AIX

● Only valid for 'Platform': HP-UX, Linux, Oracle Solaris


HP-UX, Linux, Oracle-Solaris: Make sure that you have set the limits for operating system users root,
<sapsid>adm, and your database-specific operating system users (see also section "Creating Operating
System Users and Groups" and "Running the Installer" in the installation guide).

 Caution

Caution: the limit mechanism supports hard- and soft-limits. The soft-limit cannot be bigger than the
hard-limit. The hard-limit can be set/increased by the root user like: limit -h <limit>
<new_value>, for example limit -h datasize unlimited .

○ Using csh shell, the output of command limit needs to be at least as follows:

 Example

The following table lists example output taken from SUSE Linux Enterprise Server 11 (x86_64).

Output Properties

cputime unlimited

filesize unlimited

datasize unlimited

stacksize 8192 KB

coredumpsize unlimited

descriptors 8192

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
46 PUBLIC System Rename Procedure
Output Properties

memoryuse unlimited

○ Using sh or ksh shell, the output of command ulimit -a needs to be at least as follows:

 Example

The following table lists example output taken from SUSE Linux Enterprise Server 11 (x86_64).

Output sh Output ksh Properties

cpu time (seconds) cpu time (seconds) unlimited

file size (blocks) file size (blocks) unlimited

data seg size (kbytes) data size (Kibytes) unlimited

stack size (kbytes) stack size (Kibytes) 8192 KB

core file size (blocks) core file size (blocks) unlimited

open files nofile 8192

max memory size (kbytes) max memory size (Kibytes) unlimited

End of 'Platform': HP-UX, Linux, Oracle Solaris

● Make sure that the following ports are not used by other processes:
○ Port 4237 is used by default as HTTPS port for communication between the installer and the SL
Common GUI.
If this port cannot be used, you can assign a free port number by executing sapinst with the following
command line parameter:
SAPINST_HTTPS_PORT=<Free Port Number>
○ Port 4239 is used by default for displaying the feedback evaluation form at the end of the installer
processing.
The filled-out evaluation form is then sent to SAP using HTTPS.
If this port cannot be used, you can assign a free port number by executing sapinst with the following
command line parameter:
SAPINST_HTTP_PORT=<Free Port Number>

● If you want to change the host name of your system, change the computer name and the host name on OS
level and make sure that the host name resolution and UNC paths work.
For more information, see SAP Note 129997 .
If you want to change the virtual host name, see SAP Note 962955 .
● SAP ASE: Make sure the system and database are not running when starting the installer.
● IBM Db2 for z/OS: Check that your hosts meet the requirements for the installer options that you want to
perform.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
System Rename Procedure PUBLIC 47
4.3 Running the Installer

This section describes how to run the installer to perform the system rename .

Prerequisites

For more information, see Prerequisites for Running the Installer [page 45].

Context

The installer has a web browser-based GUI named “SL Common GUI of the Software Provisioning Manager” -
“SL Common GUI” for short.

This procedure describes an installation where you run the installer and use the SL Common GUI, that is you
can control the processing of the installer from a browser running on any device.

For more information about the SL Common GUI, see Useful Information About the Installer [page 53].

Procedure

1. Log on to the host where you want to run the installer.

Make sure that you log on as a user with root permissions.

 Caution

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

 Caution

Do not use an existing <sapsid>adm user.

If your security policy requires that the person running the installer is not allowed to know the credentials
of a user with root permissions on the host where the installer is to perform the system rename , you can
specify another operating system user for authentication purposes. You do this using the
SAPINST_REMOTE_ACCESS_USER parameter when starting the sapinst executable from the command
line. You have to confirm that the user is a trusted one. For more information, see SAP Note 1745524 .
2. Make the required media available.

For more information, see Preparing the System Rename Media [page 40].

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
48 PUBLIC System Rename Procedure
 Recommendation

Make the installation media available locally . For example, if you use Network File System (NFS),
reading from media mounted with NFS might fail.

Only valid for 'Platform': Oracle Solaris

 Note

If you mount installation media, make sure that you do this with option nomaplcase.

End of 'Platform': Oracle Solaris

3. Start the installer as follows:

Open a command prompt and enter the following command:

/<Path_To_Unpack_Directory>/sapinst

The installer GUI starts automatically by displaying the Welcome screen.

 Note

If you want to use a virtual host name, start the installer with the installer property
SAPINST_USE_HOSTNAME as follows:

/<Path_To_Unpack_Directory>/sapinst SAPINST_USE_HOSTNAME=<Virtual_Host_Name>'

 Caution

Make sure that the installation directory is not mounted with NFS, or there might be problems when
starting the Java Virtual Machine.

4. The installer is starting up.

The installer now starts and waits for the connection with the SL Common GUI.

You can find the URL you require to access the SL Common GUI at the bottom of the shell from which you
are running the installer.

...
************************************************************************
Open your browser and paste the following URL address to access the GUI
https://[<hostname>]:4237/sapinst/docs/index.html
Logon users: [<users>]
************************************************************************
...

 Note

If the host specified by <hostname> cannot be reached due to a special network configuration,
proceed as follows:
1. Terminate the installer as described in Useful Information about the Installer [page 53].
2. Restart the installer from the command line with the SAPINST_GUI_HOSTNAME=<hostname>
property.
You can use a fully-qualified host name.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
System Rename Procedure PUBLIC 49
If you have a supported web browser (see Prerequisites for Running the Installer [page 45]) installed on the
host where you run the installer, you can open this URL directly in the shell. Otherwise, open the URL in a
supported web browser that runs on another device.

 Caution

After opening the browser URL, make sure that the URL in the browser starts with “https://” to avoid
security risks such as SSL stripping .

Before you reach the Welcome screen, your browser warns you that the certificate of the sapinst
process on this computer could not be verified.

Proceed as follows to avoid security risks such as a man-in-the-middle attack:


1. Click on the certificate area on the left hand side in the address bar of your browser, and view the
certificate.
2. Open the certificate fingerprint or thumbprint, and compare all hexadecimal numbers to the ones
displayed in the console output of the installer.
Proceed as follows to get the certificate fingerprint or thumbprint from the server certificate
printed in the installer console:
1. Go to the sapinst_exe.xxxxxx.xxxx directory in the temporary directory to which the
installer has extracted itself:
<User_Home>/.sapinst/
2. In the sapinst_exe.xxxxxx.xxxx directory, execute the sapgenpse tool with the
command line option get_my_name -p.
As a result, you get the server fingerprint or thumbprint from the server certificate.
3. Accept the warning to inform your browser that it can trust this site, even if the certificate could not
be verified.

The SL Common GUI opens in the browser by displaying the Welcome screen.
5. In the Welcome screen, proceed according to your system variant :

○ If your system is a standard system , choose System Rename Standard System System
Rename .
○ If your system is a distributed system, choose System Rename Distributed System
<System_Rename_Option> .
Choose the system rename options as required and in the order they appear.

System Rename Options and Sequence how to Execute Them

Option Description When to Execute Execution Order

System Rename for ASCS Executes system rename If your system does not First step for systems with
Instance for the ASCS instance have an ASCS instance, AS ABAP, if they have an
skip this option. ASCS instance

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
50 PUBLIC System Rename Procedure
Option Description When to Execute Execution Order

System Rename for ERS Executes system rename If your system does not Execute this option after
Instance for the ERS instance have an ERS instance, skip you have performed the re­
this option. name option for the ASCS
instance (if available)
above, as required

System Rename for Data­ Executes system rename Execute in any case (even Execute this option after
base Instance for the database instance if you change the SAP sys­ you have performed the re­
tem ID, the host name or name options for the ASCS
the instance number) instance (if available) and
the ERS instance above, as
required

System Rename for the Executes system rename Execute this option after Execute this option after
Primary Application Server for the primary application renaming the database in­ you have performed the re­
Instance server instance stance. name options for the ASCS
instance (if available), the
ERS instance, and the da­
tabase instance above, as
required

System Rename for a Executes system rename If your system host does Execute this option after
Gateway Instance for a standalone Gateway not have a standalone you have performed the re­
instance Gateway instance, skip this name options for the ASCS
option. instance (if available), the
ERS instance, the data­
base instance, and the pri­
mary application server in­
stance above, as required

System Rename for Web Executes system rename If your system does not Execute this as last option
Dispatcher Instance for the SAP Web Dis­ have an SAP Web Dis­
patcher instance patcher instance, skip this
option.

6. Choose Next.

 Note

If there are errors during the self-extraction process of the installer, you can find the log file
dev_selfex.out in the temporary directory.

7. Follow the instructions in the installer input screens and enter the required parameters.

 Note

To find more information on each parameter during the Define Parameters phase, position the cursor
on the required parameter input field , and choose either F1 or the HELP tab. Then the available help
text is displayed in the HELP tab.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
System Rename Procedure PUBLIC 51
 Note

IBM Db2 for Linux, UNIX, and Windows only: When you are asked for the security administrator, enter
a user that has DB2 SECADM authorities. By default, db2<dbsid source> has these authorities.

 Note

○ Oracle only:
In the ABAP Schema Name screen, make sure that the name of the ABAP schema is correct.
○ Oracle Database only: If your source system has Oracle Database Vault, consider the additional
information in section Implementing Oracle Database Vault with the Installer [page 69].

 Caution

The signature of installation media and installation archives is checked automatically during the Define
Parameters phase while processing the Media Browser and - if you perform an archive-based
installation - the Software Package Browser screens.

Note that this automatic check is only committed once and not repeated if you modify artifacts such
as SAR archives or files on the media after the initial check has been done. This means that - if you
modify artefacts later on either during the remaining Define Parameters phase or later on during the
Execute Service phase - the signature is not checked again.

For more information, see SAP Note 2393060 .

8. After you have entered all requested input parameters, the installer displays the Parameter Summary
screen. This screen shows both the parameters that you entered and those that the installer set by default.

If required, you can revise the parameters before starting the system rename procedure.
9. To start the execution, choose Next.

The installer starts the rename procedure and displays its progress on the Task Progress screen.

When the system rename option has finished successfully, the installer displays the message Execution of
<Rename_Option> has completed.
10. If required, delete directories with the name sapinst_exe.xxxxxx.xxxx after the installer has finished.
Sometimes these remain in the temporary directory.

 Recommendation

Keep all installer directories until you are sure that the system, including all instances, is completely
and correctly installed. Once the system is completely and correctly installed, make a copy of the
installer directories with all their contents. Save the copy to a physically separate medium, such as a
medium or a USB drive that is separate from your installation hosts.

This might be useful for analyzing any issues that might occur later when using the system. For
security reasons, do not keep the installer directories on hosts where you processed it, but make sure
that you delete them after saving them separately.

11. If you copied installation media to your hard disk, you can delete these files when the installer has
successfully completed.

12. For security reasons, we recommend that you delete the .sapinst directory within the home directory of
the user with which you ran the installer:

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
52 PUBLIC System Rename Procedure
<User_Home>/.sapinst/
13. For security reasons, we recommend that you remove the operating system users from the group sapinst
after you have completed the installation.

 Note

This step is only required, if you did not specify during the Define Parameters phase that the operating
system users are to be removed from the group sapinst after the execution of the installer has
completed.

14. The installer log files contain IP addresses and User IDs such as the ID of your S-User. For security, data
protection, and privacy-related reasons we strongly recommend that you delete these log files once you do
not need them any longer.
You find the installer log files in the sapinst_instdir directory. For more information, see Useful
Information about the Installer [page 53].

Related Information

Useful Information about the Installer [page 53]


Interrupted Processing of the Installer [page 55]
Troubleshooting with the Installer [page 59]

4.4 Additional Information about the Installer

The following sections provide additional information about the installer.

Useful Information about the Installer [page 53]


This section contains some useful technical background information about the installer and the
installer GUI.

Interrupted Processing of the Installer [page 55]


Here you find information about how to restart the installer if its processing has been interrupted.

Troubleshooting with the Installer [page 59]


This section tells you how to proceed when errors occur while the installer is running.

Using the Step State Editor (SAP Support Experts Only) [page 60]
This section describes how to use the Step State Editor available in the installer.

4.4.1 Useful Information about the Installer

This section contains some useful technical background information about the installer and the installer GUI.

● Software Provisioning Manager (the “installer” for short) has the web browser-based “SL Common GUI of
the Software Provisioning Manager” - “SL Common GUI” for short.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
System Rename Procedure PUBLIC 53
The SL Common GUI uses the SAP UI Development Toolkit for HTML5 - also known as SAPUI5 - a client-
side HTML5 rendering library based on JavaScript. The benefits of this new user interface technology for
the user are:
○ Zero foot print, since only a web browser is required on the client
○ New controls and functionality, for example, view logs in web browser.
The SL Common GUI connects the web browser on a client with the sapinst executable - which is part of
Software Provisioning Manager - running on the installation host using the standard protocol HTTPS.
For the SL Common GUI the installer provides a pre-generated URL at the bottom of the shell from which
you are running the installer . If you have a supported web browser installed on the host where you run the
installer, you can start the SL Common GUI directly from this URL. Otherwise, open a web browser
supported by the SL Common GUI on any device and run the URL from there.
For more information about supported web browsers see Prerequisites for Running the Installer [page 45].
If you need to run the SL Common GUI in accessibility mode, apply the standard accessibility functions of
your web browser.

● As soon as you have started the sapinst executable, the installer creates a .sapinst directory
underneath the /home/<User> directory where it keeps its log files. <User> is the user with which you
have started the installer.
After you have reached the Welcome screen and selected the relevant installer option for the SAP system
to be renamed , the installer creates a directory sapinst_instdir where it keeps its log files, and which
is located directly below the temporary directory. The installer finds the temporary directory by checking
the value of the TEMP, TMP, or TMPDIR environment variable. If no value is set for these variables, the
installer uses /tmp by default.
All log files which have been stored so far in the .sapinst folder are moved to the sapinst_instdir
directory as soon as the latter has been created.
If you want the sapinst_instdir directory to be created in another directory than /tmp, set the
environment variable TEMP, TMP, or TMPDIR to this directory before you start the installer.

Shell Used Command

Bourne shell (sh) TEMP=<Directory>

export TEMP

C shell (csh) setenv TEMP <Directory>

Korn shell (ksh) export TEMP=<Directory>

 Caution

Make sure that the installation directory is not mounted with NFS, 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 installer extracts itself to the temporary directory. These executables are deleted again after the
installer has stopped running.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
54 PUBLIC System Rename Procedure
Directories called sapinst_exe.xxxxxx.xxxx sometimes remain in the temporary directory after the
installer has finished. You can safely delete them.
The temporary directory also contains the log file dev_selfex.out from the self-extraction process of
the installer, which might be useful if an error occurs.

 Caution

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

● To see a list of all available installer properties, start the installer as described above with the option -p:
./sapinst -p

● If required, stop the installer by choosing the Cancel button.

 Note

If you need to terminate the installer, press Ctrl + C .

4.4.2 Interrupted Processing of the Installer

Here you find information about how to restart the installer if its processing has been interrupted.

Context

The processing of the installer might be interrupted for one of the following reasons:

● An error occurred during the Define Parameters or Execute phase:


The installer does not abort the installation in error situations. If an error occurs, the installation pauses
and a dialog box appears. The dialog box contains a short description of the choices listed in the table
below as well as a path to a log file that contains detailed information about the error.

● You interrupted the processing of the installer by choosing Cancel in the SL Common GUI.

 Caution

If you stop an option in the Execute phase, any system or component installed by this option is
incomplete and not ready to be used. Any system or component uninstalled by this option is not
completely uninstalled.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
System Rename Procedure PUBLIC 55
The following table describes the options in the dialog box:

Option Definition

Retry The installer retries the installation from the point of failure without repeating any of
the previous steps.

This is possible because the installer records the installation progress in the
keydb.xml file.

We recommend that you view the entries in the log files, try to solve the problem, and
then choose Retry.

If the same or a different error occurs, the installer displays the same dialog box
again.

Stop The installer stops the installation, closing the dialog box, the installer GUI, and the
GUI server.

The installer records the installation progress in the keydb.xml file. Therefore, you
can continue the installation from the point of failure without repeating any of the
previous steps. See the procedure below.

Continue The installer continues the installation from the current point.

View Log Access installation log files.

The following procedure describes the steps to restart an installation, which you stopped by choosing Stop, or
to continue an interrupted installation after an error situation.

Procedure

1. Log on to the installation host as a user with the required permissions as described in Running the Installer
[page 48] .
2. Make sure that the media required for the system rename are still available.

For more information, see Preparing the System Rename Media [page 40] .

 Recommendation

Make the installation media available locally. For example, if you use remote file shares on other
Windows hosts, CIFS shares on third-party SMB-servers, or Network File System (NFS), reading from
media mounted with NFS might fail.

Only valid for 'Platform': Oracle Solaris

 Note

Oracle Solaris: If you mount installation media, make sure that you do this with option nomaplcase.

End of 'Platform': Oracle Solaris

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
56 PUBLIC System Rename Procedure
3. Restart the installer from the directory to which you unpacked the Software Provisioning Manager archive
by executing the following command:
<Path_To_Unpack_Directory>/sapinst
4. The installer is restarting.

The installer now starts and waits for the connection with the SL Common GUI.

You can find the URL you require to access the SL Common GUI at the bottom of the shell from which you
are running the installer.

...
************************************************************************
Open your browser and paste the following URL address to access the GUI
https://[<hostname>]:4237/sapinst/docs/index.html
Logon users: [<users>]
************************************************************************
...

 Note

If the host specified by <hostname> cannot be reached due to a special network configuration,
proceed as follows:
1. Terminate the installer as described in Useful Information about the Installer [page 53].
2. Restart the installer from the command line with the SAPINST_GUI_HOSTNAME=<hostname>
property.
You can use a fully-qualified host name.

If you have a supported web browser (see Prerequisites for Running the Installer [page 45]) installed on the
host where you run the installer, you can open this URL directly in the shell. Otherwise, open the URL in a
supported web browser that runs on another device.

 Caution

After opening the browser URL, make sure that the URL in the browser starts with “https://” to avoid
security risks such as SSL stripping .

Before you reach the Welcome screen, your browser warns you that the certificate of the sapinst
process on this computer could not be verified.

Proceed as follows to avoid security risks such as a man-in-the-middle attack:

1. Click on the certificate area on the left hand side in the address bar of your browser, and view the
certificate.
2. Open the certificate fingerprint or thumbprint, and compare all hexadecimal numbers to the ones
displayed in the console output of the installer.
Proceed as follows to get the certificate fingerprint or thumbprint from the server certificate
printed in the installer console:
1. Go to the sapinst_exe.xxxxxx.xxxx directory in the temporary directory to which the
installer has extracted itself:
<User_Home>/.sapinst/
2. In the sapinst_exe.xxxxxx.xxxx directory, execute the sapgenpse tool with the
command line option get_my_name -p.
As a result, you get the server fingerprint or thumbprint from the server certificate.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
System Rename Procedure PUBLIC 57
3. Accept the warning to inform your browser that it can trust this site, even if the certificate could not
be verified.

The SL Common GUI opens in the browser by displaying the Welcome screen.
5. From the tree structure on the Welcome screen, select the installation option that you want to continue and
choose Next.

The What do you want to do? screen appears.


6. On the What do you want to do? screen, decide between the following alternatives and continue with Next:

Alternative Behavior

Perform a new run The installer does not continue the interrupted system rename option. Instead,
it moves the content of the old installer directory and all installer-specific files
to a backup directory. Afterwards, you can no longer continue the old option.

The following naming convention is used for the backup directory:

log_<Day>_<Month>_<Year>_<Hours>_<Minutes>_<Seconds>

 Example
log_01_Oct_2016_13_47_56

 Note
All actions taken by the system rename before you stopped it (such as cre­
ating directories or users) are not revoked.

 Caution
The installer moves all the files and folders to a new log directory, even if
these files and folders are owned by other users. If there are any processes
currently running on these files and folders, they might no longer function
properly.

Continue with the existing one The installer continues the interrupted system rename from the point of failure.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
58 PUBLIC System Rename Procedure
4.4.3 Troubleshooting with the Installer

This section tells you how to proceed when errors occur while the installer is running.

Context

If an error occurs, the installer:

● Stops processing
● Displays a dialog informing you about the error

Procedure

1. Check SAP Note 1548438 for known installer issues.


2. If an error occurs during the Define Parameters or the Execute Service phase, do one of the following:

○ Try to solve the problem:


○ To check the installer log files (sapinst.log and sapinst_dev.log) for errors, choose the LOG
FILES tab.

 Note

The LOG FILES tab is only available if you have selected on the Welcome screen the relevant
installer option for the SAP system to be renamed .

If you need to access the log files before you have done this selection, you can find them in
the .sapinst directory underneath the /home/<User> directory, where <User> is the user
which you used to start the installer.

Fore more information, see Useful Information about the Installer [page 53].

○ To check the log and trace files of the installer GUI for errors, go to the directory
<User_Home>/.sapinst/
○ Then continue by choosing Retry.
○ If required, abort the installer by choosing Cancel in the tool menu and restart the installer. For more
information, see Interrupted Processing of the Installer [page 55].
3. If you cannot resolve the problem, report an incident using the appropriate subcomponent of BC-INS*.
For more information about using subcomponents of BC-INS*, see SAP Note 1669327 .

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
System Rename Procedure PUBLIC 59
4.4.4 Using the Step State Editor (SAP Support Experts
Only)

This section describes how to use the Step State Editor available in the installer.

 Note

Only use the Step State Editor if the SAP Support requests you to do so, for example to resolve a
customer incident.

Prerequisites

● SAP Support requests you to use the Step State Editor.


● Make sure that the host where you run the installer meets the requirements listed in Prerequisites for
Running the Installer [page 45].

Procedure

1. Start the installer from the command line as described in Running the Installer [page 48] with the
additional command line parameter SAPINST_SET_STEPSTATE=true
2. Follow the instructions on the installer screens and fill in the parameters prompted during the Define
Parameters phase until you reach the Parameter Summary screen.
3. Choose Next.

The Step State Editor opens as an additional dialog. Within this dialog you see a list of all steps to be
executed by the installer during the Execute Service phase. By default all steps are in an initial state.
Underneath each step, you see the assigned installer component. For each step you have a Skip and a
Break option.

○ Mark the checkbox in front of the Break option of the steps where you want the installer to pause.
○ Mark the checkbox in front of the Skip option of the steps which you want the installer to skip.
4. After you have marked all required steps with either the Break or the Skip option, choose OK on the Step
State Editor dialog.

The installer starts processing the Execute Service phase and pauses one after another when reaching
each step whose Break option you have marked. You can now choose one of the following:

○ Choose OK to continue with this step.


○ Choose Step State Editor to return to the Step State Editor and make changes, for example you
can repeat the step by marking the checkbox in front of the Repeat option.
○ Choose Cancel to abort the installer.
5. Continue until you have run through all the steps of the Execute Service phase of the installer.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
60 PUBLIC System Rename Procedure
5 Follow-Up Activities

5.1 Follow-Up Activities Checklist

Procedure

1. Start the primary application server instance.

For more information, see Starting the SAP System [page 67].

The installer has only started the following instances during the system rename:

○ Database
○ Instance agents of a UNIX operating system
○ ABAP Central services instance (ASCS instance) if an ASCS instance is available
2. Perform general follow-up activities.

For more information, see General Follow-Up Activities [page 62].


3. Configure the transport management system.

For more information, see Configuring the Transport Management System [page 66].
4. Perform follow-up activities for your database.

For more information, see Database-Specific Follow-Up Activities [page 62].


5. Restart the renamed SAP system completely.

For more information, see Starting the SAP System [page 67].
6. Change the IGS destination.

For more information, see Changing the IGS Destination [page 67].

Related Information

General Follow-Up Activities [page 62]


Database-Specific Follow-Up Activities [page 62]
Configuring the Transport Management System [page 66]
Changing the IGS Destination [page 67]
Starting the SAP System [page 67]

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Follow-Up Activities PUBLIC 61
5.1.1 General Follow-Up Activities

This section refers to the general follow-up activities that you have to perform after the rename of your SAP
system.

● Potentially, all follow-up activities for a system copy are also valid for the rename of your SAP system and
therefore you have to check which of them apply for your special situation and use case. For more
information, see the system copy guide for your operating system platform and target database at:
https://help.sap.com/sltoolset System Provisioning System Copy Option of Software Provisioning
Manager 1.0 System Copy Guides
Generally, due to the high variety of use cases, no rule which of the potential follow-up activities are valid
can be given .

 Example

To identify potential follow-up activities regarding logical system names, answer to the following
question:

Does the renamed SAP system use logical system names?


○ If not, this aspect is not relevant for your use case.
○ If yes, answer to the following question:
What naming convention was used for the logical system names?
The default convention is <SAPSID>CLNT<Client_Number>, but it might have been adapted
individually. If your logical system names contain attributes that were renamed as part of this
procedure, see SAP Note 121163 for information about how to convert logical system names.

● Post-copy activities automated as part of SAP Landscape Management (LVM) can also be used to perform
the follow-up activities after a system rename, so you can profit from an easier, faster and more reliable
process. For more information, see http://scn.sap.com/docs/DOC-25771 .

5.1.2 Database-Specific Follow-Up Activities

Related Information

Performing Follow-Up Activities for SAP MaxDB [page 63]


Performing Follow-Up Activities for SAP liveCache [page 63]
Performing Follow-Up Activities for SAP liveCache Client [page 64]
Performing Follow-Up Activities for IBM Db2 for Linux, UNIX, and Windows [page 64]
Performing Follow-Up Activities for SAP HANA Database [page 64]
Performing Follow-Up Activities for SAP ASE [page 65]
Performing Follow-Up Activities for Db2 for z/OS [page 65]
Performing Follow-Up Activities for the Oracle Database [page 66]

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
62 PUBLIC Follow-Up Activities
5.1.2.1 Performing Follow-Up Activities for SAP MaxDB

This section contains follow-up steps required for SAP MaxDB after the system rename has completed.

Procedure

As the rename procedure did not change the connectivity information for CCMS, delete the old connectivity
using DB59 transaction and set up a new connectivity.
For more information, see SAP Note 588515 .

5.1.2.2 Performing Follow-Up Activities for SAP liveCache

After the rename some manual follow-up activities are required.

Context

Manually change the SAP liveCache connection information for the database connections LCA, LDA, and LEA
by performing the following steps for each connection.

Procedure

1. Connect to the SAP system using the SAP liveCache and start transaction LC10.
2. In the field Name of Database Connection enter the required name, for example LCA.
3. Click on Integration .
4. Click on the icon Display <—> Change or press Shift and F1 .
5. Update the configuration with the new SAP liveCache data as required.
6. Save the data .

Next Steps

If you get a short dump while executing the statement EXECUTE PROCEDURE "APS_PLAN_VERSION_GET",
see SAP Note1015489

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Follow-Up Activities PUBLIC 63
5.1.2.3 Performing Follow-Up Activities for SAP liveCache
Client

After the installation the environment of the <sapsid>adm user is missing the liveCache specific configuration.

Procedure

1. Copy the following login scripts from the source <sapsid>adm user to the target user's home directory:
○ .lcenv_<host>.csh
○ .lcenv_<host>.sh
○ .lcenv.csh
○ .lcenv.sh
2. Change the ownership accordingly.

5.1.2.4 Performing Follow-Up Activities for IBM Db2 for


Linux, UNIX, and Windows

This section contains follow-up steps required for IBM Db2 for Linux, UNIX, and Windows after the system
rename has completed.

Procedure

Currently there are no follow-up steps required.

5.1.2.5 Performing Follow-Up Activities for SAP HANA


Database

This section contains follow-up steps required for SAP HANA after the system rename has completed.

Procedure

Currently there are no follow-up steps required.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
64 PUBLIC Follow-Up Activities
5.1.2.6 Performing Follow-Up Activities for SAP ASE

This section contains follow-up steps required for SAP ASE after the system rename has completed.

Context

After the rename, the connection to transaction DB02/DBACOCKPIT might not work. To enable it, perform the
steps described below.

Procedure

1. Run transaction DBCO and switch to an edit mode.


2. Change the user to sapsa.
3. Enter the password for this user and save it.

Next Steps

After performing the steps listed above, you should be able to run transaction DB02/DBACOCKPIT.

5.1.2.7 Performing Follow-Up Activities for Db2 for z/OS

After the system rename, you have to perform the steps listed in this section.

Procedure

After the system rename, you must change the value of the dbs/db2/dsn_alias entry in the instance profiles
from the source <SAPSID> to the value of the target <SAPSID>.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Follow-Up Activities PUBLIC 65
5.1.2.8 Performing Follow-Up Activities for the Oracle
Database

This section contains follow-up steps required for Oracle after the system rename has completed.

Procedure

If you have chosen to enable Oracle Database Vault, make sure that you perform the required configuration
steps. For more information, see Implementing Oracle Database Vault with the Installer [page 69]

5.1.3 Configuring the Transport Management System

You have to perform some steps to be able to use the Transport Management System.

Procedure

1. Reschedule the transport dispatcher (RDDIMPDP) in client 000:


a. Log on as user DDIC.
b. Call transaction SE38.
c. Run program RDDNEWPP and set the priority to normal.
2. Adapt the transport parameters and transport routes in the TMS as follows:
a. Call transaction STMS.
b. Select Change Configuration.
c. To adapt the transport parameters, choose Overview <Your Systems> Transport Tool
d. To adapt the transport routes, choose Overview Transport Routes .
e. Configure the domain controller in the Transport Management System (TMS) by using transaction
STMS.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
66 PUBLIC Follow-Up Activities
5.1.4 Changing the IGS Destination

After renaming your ABAP system, make sure that you adapt the IGS destination.

Procedure

Call transaction SM59 and adapt the IGS destination IGS_RFC_DEST.

5.1.5 Starting the SAP System

After the system rename procedure has finished you have to start the primary application server instance of
the renamed system. Then, after you have performed all follow–up activities, you have to restart all instances
of the renamed system.

For more information about how to start and restart an SAP system, see Additional Information Starting
and Stopping SAP System Instances in the installation guide for your operating system platform and
database at https://support.sap.com/sltoolset System Provisioning Installation Option of Software
Provisioning Manager Installation Guides - Application Server Systems or the SAP Library [page 13] at:

SAP Release and SAP Library Quick Link SAP Library Path (Continued)

● SAP NetWeaver 7.1 for Banking Services from SAP See the SAP NetWeaver Mobile Library
5.0 and 6.0
● SAP NetWeaver 7.1 including Enhancement Package 1  Note
for Banking Services from SAP 5.0 and 6.0 Since the SAP NetWeaver Mobile 7.1 Library is the only
available SAP Library for ABAP systems based on SAP
NetWeaver 7.1, in this guide we always refer to it also for
SAP NetWeaver 7.1 for Banking Services from SAP 5.0 and
6.0.

● SAP NetWeaver Mobile 7.1


System Administration and Maintenance Information
http://help.sap.com/nwmobile71
Technical Operations for SAP NetWeaver General
● SAP NetWeaver Mobile 7.1 including Enhancement
Administration Tasks Starting and Stopping AS ABAP and AS
Package 1
http://help.sap.com/nwmobile711 Java

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Follow-Up Activities PUBLIC 67
SAP Release and SAP Library Quick Link SAP Library Path (Continued)

● SAP NetWeaver 7.3


Application Help Function-Oriented View Solution Life
http://help.sap.com/nw73/
Cycle Management Starting and Stopping SAP Systems
● SAP NetWeaver 7.3 including Enhancement Package
Based on SAP NetWeaver
1
http://help.sap.com/nw731
● SAP NetWeaver 7.4
http://help.sap.com/nw74
● SAP NetWeaver 7.5
http://help.sap.com/nw75

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
68 PUBLIC Follow-Up Activities
6 Additional Information

6.1 Implementing Oracle Database Vault with the Installer

The installer supports Oracle Database Vault. This section provides information about implementing Oracle
Database Vault (DV) with the installer.

Prerequisites

● Your Oracle database version must be 12.1 or higher.


● Check the prerequisites, restrictions, and patch requirements as listed in SAP Note 2218115 .

Context

For system rename, the DV is already installed in the source database and must be first disabled to complete
the procedure. It can be enabled before the scenario is completed.

DV requires the following addional users:

● secadmin
● secacctmgr

These users are created by the installer.

For more information about Oracle Database Vault, see the Oracle Database documentation referred to in SAP
Note 2218115 .

Procedure

1. Start the installer and choose the system rename option for your system variant as described in Running
the Installer [page 48].
2. On the Oracle Database Configuration screen - if DV is installed on the source system - mark the checkbox
Oracle Database Vault is installed and enabled.
Later during the system rename, the installer disables the DV. For this you have to provide the password of
the secadmin user. The secadmin user grants some rights to the sysdba user. After the rename is
finished, these rights are revoked again from thesysdba user and the DV is enabled again if this checkbox
is set. Otherwise DV is installed but not enabled.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Additional Information PUBLIC 69
Next Steps

Configure Oracle Database Vault as described in SAP Note 2218115 .

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
70 PUBLIC Additional Information
Important Disclaimers and Legal Information

Hyperlinks
Some links are classified by an icon and/or a mouseover text. These links provide additional information.
About the icons:

● Links with the icon : You are entering a Web site that is not hosted by SAP. By using such links, you agree (unless expressly stated otherwise in your
agreements with SAP) to this:

● The content of the linked-to site is not SAP documentation. You may not infer any product claims against SAP based on this information.
● SAP does not agree or disagree with the content on the linked-to site, nor does SAP warrant the availability and correctness. SAP shall not be liable for any
damages caused by the use of such content unless damages have been caused by SAP's gross negligence or willful misconduct.

● Links with the icon : You are leaving the documentation for that particular SAP product or service and are entering a SAP-hosted Web site. By using such
links, you agree that (unless expressly stated otherwise in your agreements with SAP) you may not infer any product claims against SAP based on this
information.

Beta and Other Experimental Features


Experimental features are not part of the officially delivered scope that SAP guarantees for future releases. This means that experimental features may be changed by
SAP at any time for any reason without notice. Experimental features are not for productive use. You may not demonstrate, test, examine, evaluate or otherwise use
the experimental features in a live operating environment or with data that has not been sufficiently backed up.
The purpose of experimental features is to get feedback early on, allowing customers and partners to influence the future product accordingly. By providing your
feedback (e.g. in the SAP Community), you accept that intellectual property rights of the contributions or derivative works shall remain the exclusive property of SAP.

Example Code
Any software coding and/or code snippets are examples. They are not for productive use. The example code is only intended to better explain and visualize the syntax
and phrasing rules. SAP does not warrant the correctness and completeness of the example code. SAP shall not be liable for errors or damages caused by the use of
example code unless damages have been caused by SAP's gross negligence or willful misconduct.

Gender-Related Language
We try not to use gender-specific word forms and formulations. As appropriate for context and readability, SAP may use masculine word forms to refer to all genders.

System Rename for SAP Systems Based on the Application Server ABAP of SAP NetWeaver
7.1 to 7.52 on UNIX
Important Disclaimers and Legal Information PUBLIC 71
www.sap.com/contactsap

© 2018 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form


or for any purpose without the express permission of SAP SE or an SAP
affiliate company. The information contained herein may be changed
without prior notice.

Some software products marketed by SAP SE and its distributors


contain proprietary software components of other software vendors.
National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for


informational purposes only, without representation or warranty of any
kind, and SAP or its affiliated companies shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP or
SAP affiliate company products and services are those that are set forth
in the express warranty statements accompanying such products and
services, if any. Nothing herein should be construed as constituting an
additional warranty.

SAP and other SAP products and services mentioned herein as well as
their respective logos are trademarks or registered trademarks of SAP
SE (or an SAP affiliate company) in Germany and other countries. All
other product and service names mentioned are the trademarks of their
respective companies.

Please see https://www.sap.com/about/legal/trademark.html for


additional trademark information and notices.

THE BEST RUN

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy