34
SAP Solution Manager How-To Guide How to Configure Maintenance Optimizer to Use Software Lifecycle Manager to Automatically Download and Deploy Support Packages and SAP Enhancement Packages Applicable Releases: SAP Solution Manager 7.0 SP 22 with Software Lifecycle Manager 7.01 SP08 ALM process: Change request management and change control Version 2.00 January 2011

How to Conf Mopz 22 Slm

Embed Size (px)

Citation preview

Page 1: How to Conf Mopz 22 Slm

SAP Solution Manager

How-To Guide

How to Configure Maintenance

Optimizer to Use Software Lifecycle

Manager to Automatically Download

and Deploy Support Packages and

SAP Enhancement Packages

Applicable Releases:

SAP Solution Manager 7.0 SP 22 with Software Lifecycle Manager 7.01

SP08

ALM process:

Change request management and change control

Version 2.00

January 2011

Page 2: How to Conf Mopz 22 Slm

© Copyright 2011 SAP AG. 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 AG. The information contained

herein may be changed without prior notice.

Some software products marketed by SAP AG and its

distributors contain proprietary software components of

other software vendors.

Microsoft, Windows, Outlook, and PowerPoint are

registered trademarks of Microsoft Corporation.

IBM, DB2, DB2 Universal Database, OS/2, Parallel

Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390,

OS/400, iSeries, pSeries, xSeries, zSeries, z/OS, AFP,

Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix,

i5/OS, POWER, POWER5, OpenPower and PowerPC are

trademarks or registered trademarks of IBM Corporation.

Adobe, the Adobe logo, Acrobat, PostScript, and Reader

are either trademarks or registered trademarks of Adobe

Systems Incorporated in the United States and/or other

countries.

Oracle is a registered trademark of Oracle Corporation.

UNIX, X/Open, OSF/1, and Motif are registered

trademarks of the Open Group.

Citrix, ICA, Program Neighborhood, MetaFrame,

WinFrame, VideoFrame, and MultiWin are trademarks or

registered trademarks of Citrix Systems, Inc.

HTML, XML, XHTML and W3C are trademarks or

registered trademarks of W3C®, World Wide Web

Consortium, Massachusetts Institute of Technology.

Java is a registered trademark of Sun Microsystems, Inc.

JavaScript is a registered trademark of Sun Microsystems,

Inc., used under license for technology invented and

implemented by Netscape.

MaxDB is a trademark of MySQL AB, Sweden.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP

NetWeaver, and other SAP products and services

mentioned herein as well as their respective logos are

trademarks or registered trademarks of SAP AG in

Germany and in several other countries all over the world.

All other product and service names mentioned are the

trademarks of their respective companies. Data contained

in this document serves informational purposes only.

National product specifications may vary.

These materials are subject to change without notice.

These materials are provided by SAP AG and its affiliated

companies ("SAP Group") for informational purposes only,

without representation or warranty of any kind, and SAP

Group shall not be liable for errors or omissions with

respect to the materials. The only warranties for SAP

Group 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.

These materials are provided “as is” without a warranty of

any kind, either express or implied, including but not

limited to, the implied warranties of merchantability,

fitness for a particular purpose, or non-infringement.

SAP shall not be liable for damages of any kind including

without limitation direct, special, indirect, or consequential

damages that may result from the use of these materials.

SAP does not warrant the accuracy or completeness of the

information, text, graphics, links or other items contained

within these materials. SAP has no control over the

information that you may access through the use of hot

links contained in these materials and does not endorse

your use of third party web pages nor provide any warranty

whatsoever relating to third party web pages.

SAP Solution Manager “How-to” Guides are intended to

simplify the product implementation. While specific

product features and procedures typically are explained in

a practical business context, it is not implied that those

features and procedures are the only approach in solving a

specific business problem using SAP Solution Manager.

Should you wish to receive additional information,

clarification or support, please refer to SAP Consulting.

Any software coding and/or code lines / strings (“Code”)

included in this documentation are only examples and are

not intended to be used in a productive system

environment. The Code is only intended better explain and

visualize the syntax and phrasing rules of certain coding.

SAP does not warrant the correctness and completeness of

the Code given herein, and SAP shall not be liable for

errors or damages caused by the usage of the Code, except

if such damages were caused by SAP intentionally or

grossly negligent.

Disclaimer

Some components of this product are based on Java™. Any

code change in these components may cause unpredictable

and severe malfunctions and is therefore expressively

prohibited, as is any decompilation of these components.

Any Java™ Source Code delivered with this product is only

to be used by SAP’s Support Services and may not be

modified or altered in any way.

Page 3: How to Conf Mopz 22 Slm

Document History

Document Version Description

2.00 Second official release of this guide

Basic Change: the configuration listed here is based on ST 400 SP22

and SLM 7.01 SP08 or higher releases

Changed Chapter 2: updated the supported managed system releases;

added a note regarding the backward compatibility of SLM

Changed Chapter 2.1: updated the deployment diagram with removing

the dependence on SLC; updated the note about updating the managing

systems themselves

Added Chapter 2.4: added the note for updating SLM to 7.01 SP08

Changed Chapter 4.4: added a note to explain the SLC terms in the

configuration assistant of previous versions and SAPControl host

configuration; updated the note for SLC port; added a note for JSPM

credential

Changed Chapter 4.7: added a note with regard to including manually-

selected files from the download basket of an S-user

Changed old Chapter 5.1: removed the configuration of SLC

Changed new Chapter 5.1: updated the guidance of download directory

and transport directory; updated the guidance of manual copying

package files in case that automatic deployment is not used

Changed new Chapter 5.2: updated the guidance of communication

manners between SPAM and SLM; updated the guidance of switching

from web service to JCo manner

Changed new Chapter 5.3: updated the note of the required lowest

JSPM SP for managed systems of release 7.00 to support automatic

deployment

Changed Appendix B: added the item for SAP note 1315118: collective

SAP Note of major fixes and features description for SLM SPs

Page 4: How to Conf Mopz 22 Slm

Typographic Conventions

Type Style Description

Example Text Words or characters quoted

from the screen. These

include field names, screen

titles, pushbuttons labels,

menu names, menu paths,

and menu options.

Cross-references to other

documentation

Example text Emphasized words or

phrases in body text, graphic

titles, and table titles

Example text File and directory names and

their paths, messages,

names of variables and

parameters, source text, and

names of installation,

upgrade and database tools.

Example text User entry texts. These are

words or characters that you

enter in the system exactly as

they appear in the

documentation.

<Example

text>

Variable user entry. Angle

brackets indicate that you

replace these words and

characters with appropriate

entries to make entries in the

system.

EXAMPLE TEXT Keys on the keyboard, for

example, F2 or ENTER.

Icons

Icon Description

Caution

Note or Important

Example

Recommendation or Tip

Page 5: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Contents

1. Scenario ................................................................................................................................ 2

2. Background Information ..................................................................................................... 3

2.1 The managing and managed system landscapes ........................................................ 3

2.2 Configuration Sections ................................................................................................. 5

2.3 Update from SAP Solution Manager SPS 15-21 to SPS 22 ........................................ 6

2.4 Update from SLM SP 05-07 to SP 08........................................................................... 6

3. Prerequisites ........................................................................................................................ 7

4. Configuration of Managing System ................................................................................... 8

4.1 Registration of systems in SLD and SMSY .................................................................. 8

4.2 Installation of Software Lifecycle Manager - SLM ........................................................ 9

4.3 Configuration of Secure Connection to SLM ................................................................ 9

4.3.1 Setting up SAP Cryptographic Library for SLM Secure Connection ............... 9

4.3.2 Generation and Import of SSL Certificate for SLM Secure Connection .......... 9

4.4 SLM Configuration ...................................................................................................... 12

4.5 Customizing Settings for Maintenance Optimizer ...................................................... 18

4.6 Authorization Configuration for Maintenance Optimizer ............................................. 19

4.7 S-User Assignment for Maintenance Optimizer ......................................................... 19

4.8 Common Settings for Managing and Managed Systems ........................................... 20

5. Configuration of Managed Systems ................................................................................ 21

5.1 Configuration for Download Directory & Transport Directory ..................................... 21

5.2 Support Package Manager – SPAM .......................................................................... 24

5.3 Java Support Package Manager – JSPM .................................................................. 24

6. Appendix ............................................................................................................................ 25

Page 6: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

1. Scenario

Maintenance Optimizer manages and implements maintenance activities in your system landscape.

The system and solution information in the SAP Solution Manager system landscape (transaction

SMSY) is the basis and reference for maintenance transactions. You can assign one or more systems

to your maintenance transaction. Maintenance Optimizer uses the SAP Global Support Backbone to

download a support package. You have to create S-users for SAP Service Marketplace and assign

them to SAP Solution Manager end users.

Figure 1: Maintenance Optimizer and SAP Global Support Backbone

Example

The end user MUELLERK creates a maintenance transaction (1) and assigns a solution/system to it (2). SAP Solution Manager establishes a connection to SAP Global Support Backbone and displays all currently available support packages (3). The support packages selected by the user are stored in the download basket of end user S000021112 (4) and downloaded from there (5).

Maintenance Optimizer leads you through the following steps in the maintenance transaction:

You can download support packages automatically, and deploy them to the managed system, using

the Software Lifecycle Manager (SLM, component SOFTWARE LIFECYCLE MANAGEMENT), with

Maintenance Optimizer (single system update). This use case is described in this guide.

Page 7: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

2. Background Information

From SAP Solution Manager (component ST 400) SPS 22 and SLM 7.01 SP08, Maintenance

Optimizer supports the automatic download of support packages and enhancement packages, and

single system update, with SLM, for the scenarios below:

Update Type SLM

Release

Managed System

NetWeaver Release

Comment

Maintenance 7.0x 7.00 and higher ABAP stack, Java stack,

Kernel/IGS components and

TREX system auto-update

supported.

Note: SLM release 7.0x does not include 7.00. In maintenance optimizer use scenarios, only

SLM release 7.0x is now supported.

Note: Maintenance/Installation/Upgrade of add-on product versions in the above maintenance

and installation scenarios are supported.

You need to configure the managing and managed systems before a single system update.

Note

In SAP Solution Manager SPS 22, the SLM release is 7.01 SP05. SLM is a backward-

compatible Java tool; you can update it to the latest support package without changing

Solution Manager SPS.

2.1 The managing and managed system landscapes

Maintenance Optimizer can connect to multiple SLMs of different releases. The systems involved in

Maintenance Optimizer single system update can be as follows:

Page 8: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

SAP Solution

Manager

System with

Maintenance

Optimizer

Managing

System with

Software

Lifecycle

Manager

Managing

System with

Software

Lifecycle

Manager

Managing

System with

Software

Lifecycle

Manager

Central Download Directory

Central Transport Directory

Central Transport Directory

Managed

System

Managed

System

Managed

System

Managed

System

Managed

System

A system landscape

A system landscape

Figure 2: Maintenance Optimizer with Software Lifecycle Manager (SLM)

Page 9: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Various tools and applications work together to support auto-download and single system update.

Assume Easy Guitar Tab Songbook you have two managing systems, the SAP Solution Manager

system with Maintenance Optimizer, and a system in which you install SLM, and the SLD content (see

Figure 3). Maintenance Optimizer is in the managing SAP Solution Manager system, and connects to

SLM in the other managing system. You need to set up and configure the software logistics tools for

the automatic download, and Maintenance Optimizer and SLM. You need to set up and configure the

tools for the single system update, in both your SLM managing system and the managed systems: the

Support Package Manager and SAP Add-On Installation Tool (SPAM/SAINT), and the Java Support

Package Manager (JSPM). The Web service sapcontrol needs to be available.

SAP Solution Manager System

Maintenance

Optimizer

Managing System with SLM Managed System

SMSY

SLM

JSPMSLD JSPM

SPAM/

SAINT

Figure 3: Two managing systems with Maintenance Optimizer, SLM, and other tools supporting auto-

download; one managed system with tools supporting single system update

Frequently, one of the managing systems with SLM is the same as the SAP Solution Manager system.

Note

An SAP Solution Manager system can connect to more than one SLM component.

Note

Maintenance Optimizer will be unavailable when importing the ST component queue. You cannot deploy SLM when updating the SAP Solution Manager system.

When you update the managing system, SLM/JSPM will be updated to the latest patches. SLM self-update may cause downtime, in which case Maintenance Optimizer may raise an exception and pause the status refresh. Resume the status refresh in this maintenance procedure (transaction) after SLM is restarts.

2.2 Configuration Sections

Before auto-download and single system update, perform the following configuration steps:

Register the system landscape: section 4.1.

Configure SLM: section 4.2-4.4.

Customize Maintenance Optimizer and configure authorization: section 4.5-4.7.

Configure logistic tools: section 0-5.3.

Page 10: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

2.3 Update from SAP Solution Manager SPS 15-21 to

SPS 22

If your SAP Solution Manager system currently has support package stack level 15-21, see the

following notes before you update to SPS 22 or higher. ...

1. Before applying SPS 22 on the SAP Solution Manager system, finish or withdraw Maintenance

Optimizer transactions which use SLM; import the latest SPAM/SAINT.

2. If you have made the secure connection settings in previous packages, you can skip section 4.3

Configuration of Secure Connection to SLM [page 8].

3. Check section 4.4 SLM Configuration[page 12] and configure the missing items, even if you

already configured SLM in previous SAP Solution Manager SPS levels. There are enhanced

fields to be configured.

4. After applying SPS 22, for the first time, update SLM, SPAM/SAINT and JSPM to the newest

version, manually, on the managing and managed systems.

2.4 Update from SLM SP 05-07 to SP 08

If you use SLM auto-deployment, a self-update stack XML will be calculated automatically; run the

logistic tools update at the “Implement” step of the maintenance procedure. SLM will be updated to the

latest support package.

If you only use SLM auto-download, use JSPM or SDM to update SLM to SP08 or a higher SP.

Page 11: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

3. Prerequisites

You have SAP Solution Manager SPS 22.

You have SLM and SLD in the managing systems.

You have logistic tools for ABAP-based (SPAM/SAINT) and Java-based systems (JSPM), in each

managed system.

SAP software logistics knowledge.

See Appendix B - Relevant SAP Notes [page 25] for relevant SAP Notes.

Page 12: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

4. Configuration of Managing System ...

Follow the steps in this chapter to configure the systems and tools for the single system update.

4.1 Registration of systems in SLD and SMSY

Register both the ABAP and the Java stacks for managing and managed systems.

1. Configure the SLD data supplier for the ABAP stack.

More information: SAP Help Portal at http://help.sap.com SAP NetWeaver SAP

NetWeaver 7.0 including Enhancement Package 1 <language> SAP NetWeaver Library

SAP NetWeaver by Key Capability Solution Life Cycle Management by Key Capability

Software Life-Cycle Management System Landscape Directory Configuring Systems to

Connect to SLD Connecting AS ABAP Systems to the SLD Setting Up the SLD Data

Supplier for Java-Based Systems Global Settings default settings

2. Configure the SLD data supplier for the Java stack.

More information: SAP Help Portal at http://help.sap.com SAP NetWeaver SAP

NetWeaver 7.0 including Enhancement Package 1 <language> SAP NetWeaver Library

SAP NetWeaver by Key Capability Solution Life Cycle Management by Key Capability

Software Life-Cycle Management System Landscape Directory Configuring Systems to

Connect to SLD Connecting AS ABAP Systems to the SLD Setting Up the SLD Data

Supplier for Java-Based Systems

3. Configure the SLD data supplier for systems which are neither ABAP nor Java-based.

More information: SAP Help Portal at http://help.sap.com SAP NetWeaver SAP

NetWeaver 7.0 including Enhancement Package 1 <language> SAP NetWeaver Library

SAP NetWeaver by Key Capability Solution Life Cycle Management by Key Capability

Software Life-Cycle Management System Landscape Directory Configuring Systems to

Connect to SLD Connecting Other SAP Systems to the SLD

4. After registering systems in SLD, import the system data into SMSY.

More information: SAP Help Portal at http://help/sap.com http://help.sap.com SAP

Solution Manager Basic Settings Solution Manager System Landscape.

Note

Follow the check list to check system data in SMSY: SAP Note 1344564 (Maintenance Optimizer: Check system landscape).

Note

Check whether components JSPM are maintained in the Java system component in SMSY. If JSPM were not auto-maintained via SLD when you installed them, maintain them in Java system components of both managing and managed systems.

Page 13: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

4.2 Installation of Software Lifecycle Manager - SLM ...

1. Install (or update) the Software Lifecycle Manager (SLM) to the latest available patch of the

support package equal to or higher than 7.01 SP08.

More information: SAP Help Portal at http://help.sap.com SAP NetWeaver SAP

NetWeaver 7.0 including Enhancement Package 1 <language> SAP NetWeaver Library

SAP NetWeaver by Key Capability Solution Life Cycle Management by Key Capability

Software Life-Cycle Management Software Lifecycle Manager Working with the SLM

Installing Live Update

2. Check whether the SLM Web services are available according to Appendix C - SLM Web

Services [page 26].

4.3 Configuration of Secure Connection to SLM

The Secure Sockets Layer (SSL) is mandatory for accessing Web services for the component

SOFTWARE LIFECYCLE 7.01.

Follow the steps in this section.

4.3.1 Setting up SAP Cryptographic Library for SLM Secure

Connection ...

Set up SAP Cryptographic Library on the managing SAP Solution Manager system.

More information: SAP Note 510007 (Setting-up SSL on SAP NetWeaver Application Server ABAP)

4.3.2 Generation and Import of SSL Certificate for SLM

Secure Connection

Generate the SSL certificate on the managing SLM system (server side).

More information: SAP Help Portal at http://help.sap.com SAP NetWeaver SAP NetWeaver 7.0

including Enhancement Package 1 <language> SAP NetWeaver Library SAP NetWeaver by

Key Capability Security Network and Transport Layer Security Transport Layer Security on

the SAP J2EE Engine Configuring the Use of SSL on the J2EE Engine

Import the SSL certificate into the managing SAP Solution Manager system (client side).

1. Log in to the managing SAP Solution Manager system and run the trust manager with

transaction code STRUST.

2. In the left screen area, choose SSL client (Anonymous or Standard).

3. In the right screen area, click the icon with quick info Import Certificate to import the crt file with

format binary.

Page 14: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Figure 4: Import certificate

4. Click the Add to Certificate List pushbutton. Save the change.

Page 15: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Figure 5: Add certificate to certificate list

5. Run the ICM monitor with transaction code SMICM.

6. Choose Administration ICM Exit Soft Local (or Global). Confirm.

Page 16: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Figure 6: Restart ICM

More information: SAP Help Portal about the configuration of SAP NetWeaver Web Application Server

for supporting SSL at http://help.sap.com SAP NetWeaver SAP NetWeaver 7.0 including

Enhancement Package 1 <language> SAP NetWeaver Library SAP NetWeaver by Key

Capability Security System Security System Security for SAP Web AS ABAP Only Trust

Manager Example Configuring the SAP Web AS for Supporting SSL

4.4 SLM Configuration

To use the automatic download and deployment to a managed system, configure the managed

system in an SLM system. You can access the Multiple Software Lifecycle Manager Configuration

Assistant with the transaction code TMWFLOW/MOPZCFG in the SAP Solution Manager system. You

can configure more than one SLM in the Multiple Software Lifecycle Manager Configuration Assistant.

If the managed systems are registered in different SLD systems, configure them in different SLM

systems. Maintenance Optimizer determines the SLM system from which to download and deploy

support packages and enhancement packages to the managed systems.

Example

A user has two different SLDs (SLD_1 and SLD_2), a managed system MS_1 registered

in SLD_1 and MS_2 registered in SLD_2. To download support packages and deploy

them to the two managed systems, the user has to:

Page 17: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

1) Install two SLMs with these two SLDs, SLM_1 and SLM_2.

2) Create two SLM connection entries in Multiple Software Lifecycle Manager

Configuration Assistant.

3) Choose SLM Configuration and configure each SLM

SLM_1: Enter the system information for the SLM_1 and the MS_1.

SLM_2: Enter the system information for the SLM_2 and the MS_2.

4) Create two transactions, TA_1 and TA_2, for the two managed system MS_1 and

MS_2.

In transaction TA_1, Maintenance Optimizer uses the SLM_1 to download and deploy

support packages to the MS_1; while in TA_2, Maintenance Optimizer uses the SLM_2

for the MS_2.

Figure 7: Multiple Software Lifecycle Manager Configuration Assistant

Page 18: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Figure 8: Software Lifecycle Manager Configuration Assistant

Page 19: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Figure 9: Software Lifecycle Manager Configuration Assistant – Technical system configuration

wizard

Note

If you use SLM 7.01 SP08 with an early Solution Manager in which the Configuration Assistant still uses the term SLC (Software Logistic Controller), you can perform the necessary steps: SLC configuration is the previous term for technical system configuration. The SLC host is the host on which the SAPControl service runs; the SAPControl port is the port of this host. In a complex technical system located on multiple hosts, fill SAPControl host and port with the host of the central instance: for an ABAP or dual stack system, it is the ABAP central instance (type DVEBMGS); for a Java system, the Java central instance (type JC), for a Trex system, the Trex insance (type TRX).

Page 20: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

One Technical System

Host A

Dialog

Instance

Host B

Central

Instance

DB

Figure 10: A Technical System Located on Multiple Hosts

Note

Maintenance Optimizer cannot determine the SLM connection if multiple SLMs are

configured for one system. Configure one system in only one SLM.

Note

Communication Mode

The component SOFTWARE LIFECYCLE 7.01 only supports an HTTPS connection. If the SLM check fails, check whether the HTTPS connection for the SOFTWARE LIFECYCLE 7.01 is set up correctly, by double-clicking on the connection name and choosing Connection Test. For the component SOFTWARE LIFECYCLE, as of release 7.0<x>, choose SessionPassword in the Communication Mode field.

Note

SLM System Name

Enter the system component name of your SLM which is registered in SMSY. If the SLM is installed on a dual stack system, configure its ABAP stack part in SMSY as well, as in 4.1.

Note

Database Host

Enter the database host for each system. This enables you to configure different systems with the same SIDs for Maintenance Optimizer.

Note

Download Proxy

If you want to reuse an existing extranet connection (according to SAP Note 124743) to download with MOPZ and SLM, configure your proxy on SAProuter to forward URLs of archives in SAP Service Marketplace to a cascadable proxy at SAP. The URLs to be forwarded are: http://www.service.sap.com/…, https://smpdla.sap.com/…, https://smpdl.sap-ag.de/… The cascadable proxy at SAP is sapservX : 8080, where 'X' is 1 for VPN connections, 2 for Secure Network Communication (SNC), or 3 for both VPN connections and SNC.

Note

S User

The S-user is used to generate download content, and download. The license number of your SAP Solution Manager system will be sent with the S-user for consistency checking. configure the system license number in your SAP Solution Manager; and configure the

Page 21: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

S-user consistently with this system license number. The system license number is in the field “System Number”, in the transaction /nslicense.

Note

Download Directory

Configure the central download directory in the download directory field of the SLM managing system. Configure the mounted or shared paths of the central download directory, in download directory field, for each managed system.

Ensure that user <sidadm> of the SLM managing system has write authorization for the central download directory, and user <sidadm> of the managed system has read authorization for the central download directory.

You can manage the central download directory in transaction tmwflow/mopzcfg for SLM release 7.0<x>; the previously central download directory management transaction tmwflow/mopzcd is obsolete. See chapter 5.1 for more information.

Note

SLC Port

Skip this configuration.

Note

JSPM User

If the technical system is of release 7.0x, the password needs to be the password of Software Deployment Manager (SDM); for higher releases of SLM, enter the Java account used for deployment.

Note

If you only use auto-download without auto-deployment for a managed system, you can simplify the configuration by only entering the system ID and database host of the managed system in the configuration assistant. In this case, no configuration is necessary in this managed system.

Page 22: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Figure 10 Software Lifecycle Manager Configuration Assistant – Simplified Configuration

for Download-Only (as of ST 400 SP25)

4.5 Customizing Settings for Maintenance Optimizer

Perform the basic Customizing for SAP Solution Manager before making Maintenance Optimizer-

relevant customizing settings. For each update of SAP Solution Manager to a new support package or

enhancement package, activate any newly-delivered BC Sets.

Run the SAP Solution Manager Basic Configuration Assistant, with transaction code SOLMAN_SETUP.

You can check whether the Maintenance-Optimizer-relevant BC Sets are actived. For more

information about the basic configuration of SAP Solution Manager, see SAP Help Portal at

http://help.sap.com SAP Solution Manager <language> SAP Solution Manager Basic

Settings SAP Solution Manager Basic Configuration.

Figure 10: SAP Solution Manager Basic Configuration Assistant

Page 23: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

4.6 Authorization Configuration for Maintenance

Optimizer

1. Log in to your managing SAP Solution Manager system, to assign the authorizations for

Maintenance Optimizer.

2. Configure the following roles for Maintenance Optimizer system users:

SAP_MAINT_OPT_ADMIN – see SAP Note 1032322

SAP_MAINT_OPT_ADD – see SAP Note 1124301

3. Specify the systems to be maintained, and the activity, via Maintenance Optimizer, in the

authorization object D_MOPZSYSI in role SAP_MAINT_OPT_ADMIN.

Note

If your SAP Solution Manager managing system is UNIX/Linux, set the parameter “install/umask” to 022. The exported stack XMLs to EPS inbox will have the authorization “-rw-r--r--”, which can be read by any users used by logistic tools.

For more information, refer to SAP Note 24869 (Files are created with incorrect authorization).

4.7 S-User Assignment for Maintenance Optimizer

1. Log in to your managing SAP Solution Manager system and enter the transaction code

AISUSER.

2. Assign S-users to Maintenance Optimizer system users, to access SAP Service Marketplace.

More information about multiple customer numbers: SAP Note 1151450

Page 24: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Figure 11: Assign S-Users for Maintenance Optimizer

Note

When running a Maintenance Optimizer transaction, one configured S-user can be assigned to the transaction. You can use SLM to download the automatically-calculated files; to include manually-selected files from the download basket of the S-user for SLM download, assign the S-user in SLM (see section 4.4) to this maintenance transaction.

4.8 Common Settings for Managing and Managed

Systems

In addition to the above configuration, the JSPM need to be configured on the managing SLM system.

For the managed systems, check whether the Web service sapcontrol is available with SAP

NetWeaver. Only then can it be managed by the SLM system. The web service sapcontrol is available

as of SAP NetWeaver 7.00. It is always available for the managing system, since the managing

system with SLM is always based on SAP NetWeaver 7.00 or a higher release.

If the managed system contains a Java stack, JSPM needs to be configured; if the managed system

contains an ABAP stack, SPAM/SAINT needs to be configured.

These configurations are illustrated in the next section.

Page 25: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

5. Configuration of Managed Systems

Your managed system needs to be based on a release higher than SAP NetWeaver 7.00, with the

web service sapcontrol.

Note

As of SLM 7.01 SP08, you need not configure SLC on the managing system and

managed systems.

5.1 Configuration for Download Directory &

Transport Directory

Both SPAM and JSPM need to access the transport directory of the managed system, to get package

files.

If you use both auto-download and auto-deployment via SLM, the stack XML and downloaded

package files will be automatically processed for the system update. The support package

maintenance type, but not upgrade and installation types, are currently deployed automatically.

If you use only auto-download without auto-deployment via SLM, the stack XML is exported to the

transport directory of the SAP Solution Manager managing system and the maintenance procedure

stack file tab; the package files are downloaded into the central download directory configured in

transaction /n/tmwflow/mopzcfg. SAP recommends combining the transport directories of the

managing and managed systems and the central download directory , if they satisfy the

authorization requirements below. If not, copy the exported stack XML and package files to the

transport directory of the managed system. You may also need to copy the stack XML from the

Maintenance Optimizer procedure or the SAP Solution Manager transport directory, to the

target transport directories of managed systems.

Figure 12: The transport directory and the central download directory

Page 26: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Note

You can check the transport directory setting in transaction rz11. Input the parameter name DIR_EPS_ROOT. The transport directory value will be displayed. Ensure that the users on systems involved have the required authorization.

System OS Platform User Directory Access

SLM Managing System Linux/UNIX <SID>adm CDD write

Windows NT SAPService<SID> CDD write

Linux/UNIX <SID>adm TD write

Windows NT SAPService<SID> TD write

Managed System Linux/UNIX <SID>adm CDD read

Windows NT SAPService<SID> CDD read

Linux/UNIX <SID>adm TD write

Windows NT SAPService<SID> TD write

*CDD - Central Download Directory * TD – Transport Directory

You need to perform further configuration for user authorizations in the operating system, in a

Microsoft Windows NT environment:

Note

<SID> below is the system ID of the managed system. ...

1. Log in to the host of the managed system; make sure the OS user SAPService<SID> is not in

group Administrator. Otherwise, sapcontrol OSExecute will not work.

2. Log in to the host of the managed system; make sure the OS users SAPService<SID> and

<SID>adm have full authorization for the shared folder /usr/sap.

Page 27: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Figure 12: Authorization for Microsoft Windows NT

3. Log in to the host of the transport directory; create the OS user SAPService<SID>; set the

same password as for the OS user SAPService<SID> on the host of the managed system;

add this OS user to the group SAP_LocalAdmin. The managed system uses the equivalent OS

user on the central host, to access the transport directory.

4. More information: SAP Note 556734 (FAQ Transport: Setup and other information; and related

notes)

You need to perform further configuration if the operating system of the transport directory host is

Linux/UNIX and the managed system host is Microsoft Windows NT. Mount the transport directory

with the same path in the hosts of the managed system as in the central host.

1. On the transport directory host, share the transport directory path /usr/sap/trans/EPS/in

with a path, e.g., \\centralhost\usr.sap\trans\EPS\in.

2. On the host of the managed system, edit the instance profile (e.g.

C:/usr/sap/<SID>/SYS/profile/<SID>_DVEBMGS<instance number>_<HOST>), so

that the parameter DIR_EPS_ROOT is the same as the shared path on the transport directory

host, e.g., \\centralhost\usr.sap\trans\EPS.

Note

In this case, mounting the network drive via Windows Explorer Tools Map Network

Drive does not work, as the shared directory is mounted with the current session user

(e.g. <SID>adm) and not with the SAPService<SID> user which is used for accessing

the shared directory.

Page 28: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

5.2 Support Package Manager – SPAM

To update ABAP stack components via SLM, for the first time, update the SPAM tool to the latest

version, manually, if it is lower than release 7.0x/0029, without SLM self-update support. With SLM

deployment, SPAM can be automatically self-updated each time before updating the application

component.

As from SLM 7.01 SP08, the standard communication between SPAM and SLM is by JCo (SAP Java

Connector. There is no further configuration for SPAM.

5.3 Java Support Package Manager – JSPM

To update Java stack components via SLM, for the first time, update the JSPM tool to the latest

version without SLM self-update support, manually. ...

1. Download JSPM from SAP Service Marketplace at http://service.sap.com SAP Support Portal

Downloads Download Support Packages and Patches.

2. Log in to the host of the managed system; run JSPM with

/usr/sap/<SID>/DVEBMGS00/j2ee/JSPM/go.bat; update JSPM.

Note

Only update JSPM manually when you use SLM deployment for the first time. In future system updates, Maintenance Optimizer automatically updates JSPM with SLM support.

Note

For a system based on NetWeaver release 7.00, update JSPM to the latest patch of a support package higher than SP21. If the JSPM is of SP level lower than SP21, and the calculated target JSPM SP is lower than SP21, the SLM deployment option will not be offered in Maintenance Optimizer transaction step “Implement”.

3. For the managing system in which SLM is located, update the JSPM configuration file

/usr/sap/<SID>/DVEBMGS<instance.number>/j2ee/JSPM/param/jspm-srv_config.txt. The

following lines need to be active, or added if missing:

/jspm/deployVersionRule = updateAll

/jspm/forceMode = true

This skips JSPM self-update if it is already up-to-date.

Page 29: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

6. Appendix

Appendix A - Components for Issues

If problems occur in the configuration, and you need to send a message to SAP, use the following

components.

Component Sections

SV-SMG-MAI 4.5 Customizing Settings for Maintenance

Optimizer [page 18]

4.6 Authorization Configuration for Maintenance

Optimizer [page 198]

4.7 S-User Assignment for Maintenance Optimizer

[page 199]

BC-UPG-SLM 4.1 Registration of systems in SLD and SMSY

(the registration in SLD)

4.2 Installation of Software Lifecycle Manager -

SLM [page 9]

4.4 SLM Configuration

5.3 Java Support Package Manager – JSPM [page

28]

BC-UPG-OCS 5.2 Support Package Manager – SPAM [page23]

BC-SEC-SSL 4.3.1 Setting up SAP Cryptographic Library for

SLM Secure Connection [page 9]

If you have a problem generating the SSL certificate with SAP Netweaver Administrator, send a

message to the component BC-JAS-SEC.

For issues not mentioned here, send a message to the component SV-SMG-MAI or to the component

of relevant SAP Notes.

Appendix B - Relevant SAP Notes

SAP Note Description

1306446

(Maintenance Optimizer: Notes for Single System Update)

Collective SAP Note for auto-

download and single system update

scenarios.

1435552

(MOpz: Activate Single System Update in SP22 or higher SPs)

Automatic deployment pilot release.

You can request SAP support for use

of this pilot note.

1315118

(SWLIFECYCL 7.0x fixes)

Collective SAP Note of major fixes

and features for SLM SPs.

Page 30: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

1151732

(SLM/SLC Configuration Trouble Shooting Guide)

SAP Note for troubleshooting in SLM

configuration.

1325790

(SLM 7.0x - Troubleshooting note)

SAP Note for troubleshooting in SLM

execution, including the manual

actions list (updated frequently).

1137683

(Maintenance Optimizer: Notes for Software Lifecycle Manager)

SAP Note for configuring SLM for use

with Maintenance Optimizer

958253

(SUSE LINUX Enterprise Server 10: Installation notes)

SAP Note regarding the incorrect

encryption algorithm for the

sapcontrol Web service

There may be a problem of invalid credentials to set-up the connection between SLM and the

technical system for Linux/UNIX hosts. See the sapcontrol service, and perform the following steps.

1. Log in to the relevant host (of the managed or the managing system) with the operating system

user <SID>adm.

2. Execute the command line sapcontrol -nr <InstanceNumber> -user <SID>adm

<password> -function OSExecute "ls" 0 0 log.txt

If you get the invalid credentials error, see the following SAP Notes:

SAP Note 877795 (Problems w/ sapstartsrv as of Release 7.00 & 6.40

patch 169)

SAP Note 927637 (Web service authentication in sapstartsrv as of

Release 7.00)

Appendix C - SLM Web Services

For SLM SAP NetWeaver 7.01: ...

1. In your Web browser, go to

http://<host>:<port>/webdynpro/dispatcher/sap.com/tc~slm~ui_support/Ma

in. If you can see the SLM user interface, SLM is installed.

2. In your Web browser, go to http://<host>:<port>, choose Web Services Navigator.

Page 31: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Figure 13: SLM Web services (1)

3. Choose slmSolManServices from the available Web services.

Figure 14: SLM Web services (2)

4. In the menu bar, choose Test.

Page 32: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Figure 15: SLM Web services (3)

5. Choose getStatus. Enter 00000000-0000-0000-0000-000000000000 in the planId field and

check the result.

Page 33: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Figure 16: SLM Web services (4)

6. If you get the exception test.PlanException, the SLM Web services are available; if you get

another exception, or no response, check whether the SLM is installed.

The full description of the exception test.PlanException is the following:

Retrieval of plan '00000000-0000-0000-0000-000000000000' failed.

Reason: 'SLM encountered an internal exception

(BODataManipulationException): Could not find plan on back end with

GUID "00000000-0000-0000-0000-000000000000". The reason is: The

requested object does not

exist.'</faultstring><detail><(><<)>ns1:getStatus_com.sap.slm.services

.PlanException

xmlns:pns='urn:com.sap.slm.services'xmlns:ns1='urn:slmSolManServicesWs

d/slmSolManServicesVi'><pns:msgValue>Retrieval of plan '00000000-0000-

0000-0000-000000000000' failed. Reason: 'SLM encountered an internal

exception (BODataManipulationException): Could not find plan on back

end with GUID "00000000-0000-0000-0000-000000000000". The reason is:

The requested object does not exist.

If you get other exceptions decribing The requested object does not exist, this also

indicates that the SLM Web service is available to get the plan status.

Page 34: How to Conf Mopz 22 Slm

www.service.sap.com/solutionmanager

Figure 17: SLM Web services (5)