Fall

08

SAP Solution Manager
Working with the Landscape
How-To Create and plug LongSID System in Solution Manager

h t t p : / / w w w. l i n ke d i n . c o m / i n / s o l u t i o n m a n a g e r We nce sl ao L aca ze We nce sl ao L aca ze

Sap Solution Manager – Working with the Landscape

Table of Contents
Versioning..................................................................................................................4 Author Bio.................................................................................................................4 Purpose.....................................................................................................................5 Solution Manager – Scenario Description...............................................................5 Requirements............................................................................................................7 Satellite.....................................................................................................................8 Service package and Support Package..................................................................8 SLD Configuration.................................................................................................8 Satellite Task (Abap):..............................................................................................9 Satellite Task (Java):...............................................................................................9 Satellite Task (Other):.............................................................................................9 Check the Systems in SLD....................................................................................11 Solution Manager:...................................................................................................12 Create the System................................................................................................12 Create DB..........................................................................................................12 Create The Sap System.....................................................................................12 Create the Java System.....................................................................................12 Match the Smsy-SLD............................................................................................12 Assign the Right Components..............................................................................13 MAP Component Abap/Java..................................................................................13 Assign the Installation Number............................................................................13 RFC Connection.......................................................................................................14 Read Destination...............................................................................................14 TMW Destination...............................................................................................14 Trusted Destination...........................................................................................14 Back Destination...............................................................................................15 Load Balance and Monitoring............................................................................15 Create the Logical Component.............................................................................15 Logical Component for ABAP Components........................................................16 Logical Component for JAVA Components.........................................................16 Assign the Logical Component to the Solution ....................................................16 Install SMD Agent....................................................................................................18 Dbacockpit .............................................................................................................21 Jdbc Connector........................................................................................................23 Remote DB Monitoring............................................................................................24 Scheduler-Run task..................................................................................................25 SMD Setup Wizard...................................................................................................26 Introscope Agent.....................................................................................................28 EWA.........................................................................................................................30 Check the EWA Service Status in SMD.................................................................30 Configure EWA Service in Solution Manager .......................................................30 Check the RCTOOL In the Satellite ......................................................................32 Check the EWA Service in SM...............................................................................35 Check the SDCCN Data .......................................................................................36 Check the Status of the EWA Session ..................................................................37

3633756.doc

Page 2 of 41

Sap Solution Manager – Working with the Landscape Extras......................................................................................................................39 Check FDQN active...........................................................................................39 Check the FQDN Defined...................................................................................39 Check Java environment Ports..........................................................................40

3633756.doc

Page 3 of 41

Sap Solution Manager – Working with the Landscape

Versioning
Version 1.0 2.0 Change Original Webpage Link SLD for External systems. Date 10/06/2008 23/06/2008

Author Bio
My name is Wenceslao Lacaze and I’ve been working as a SAP basis Administrator and Solution Manager Consultant for the last 8 years. I’m a Techno-Functional SAP Solution Manager Subject Matter Expert (SME), I Design, Build and Implement the product using “Run Sap” Methodology. I have developed a very extended experience with medium and large scaled SAP installations in several (multi)national environments. I am based in Argentina, but work all around the World. I work directly for clients or via an agency. I do speak Spanish, Italian and English fluently. You can contact me at: Email: wlacaze@gmail.com http://www.linkedin.com/in/solutionmanager You can found more papers at : http://wlacaze.googlepages.com/home

3633756.doc

Page 4 of 41

Sap Solution Manager – Working with the Landscape

Purpose
This configuration guide has been compiled to know how connect the Satellite system to SAP Solution Manager.

Solution Manager – Scenario Description
You have installed and configured the SAP Solution Manager but not yet plugged the Satellites Systems.. To plug the Satellite, you need to complete a number of steps. You begin by activating the SLD in SAP Solution Manager. Next, you configure and connect the satellite. In the third and final step, you activate the SMD functions to use EWA – Non Abap Functionality.

RFC READ RFC TMW RFC

SAP Abap/Jav a

RFC BACK

SolMan SLD

Note: General information and instructions for SAP Solution Manager can be downloaded at: http://service.sap.com/solutionmanager -> Installation Guides -> Release 4.0 ->

3633756.doc

Page 5 of 41

Sap Solution Manager – Working with the Landscape Configuration Guide SAP Solution Manager

3633756.doc

Page 6 of 41

Sap Solution Manager – Working with the Landscape

Requirements
To use this tutorial you need: Parameters Hostname and FQDN: Ip Address: OS Remote Session Type root or Administrator : User/Password OSS User: User/Password Installation Number Customer Number Sap Product/Version: System type: Master Password: provided during the installation ABAP SID: Sysnr: User for client 000: SAP* or similar User for Prod. Client: SAP* or similar SID: Instance number: User: Administrator/J2ee_admin SLDDSUSER Password Installation Directory: Message Server Host: Message Server Port: <SID> <SysNr> <username > <username > <SID> <99> <J2eeadm> /usr/sap/<SID> <password> Description <Hostname.domain.com> <192.168.1.1> W64 W32 AIX RDP VNC X-Session <root> <Password>

SAP <S0000XXXX > <password> <00000999999> <0000099999> ERP BI CRM Other <DualStack <ABAP> <JAVA> > <PASSWORD>

000 <XXX> JAVA

<password > <password >

<X>:\usr\sap\<SI D> Hostname 39XX

3633756.doc

Page 7 of 41

Sap Solution Manager – Working with the Landscape

Satellite
Check the DNS Name resolution between the Satellite system and solution manager. Try to ping to the hostname and to the FQDN. Check the required service package are in the satellite systems (Menu: System Status):

Service package and Support Package
Check if the required service packages are in the satellite systems (menu: System -> Status): • get data for Solution Monitoring in the satellite systems using the RFC back connection from the satellite system to the Solution Manager. put PFCG roles from the satellite systems into project structures (from Add-On ST-PI Version 2005_1_<release>SP03)

ST-PI Version 2005_1_<release> and higher:

SAP note 539977 contains the release strategy for ST-PI • ST-A/PI: • ST-A/PI is required in the satellite to be able to deliver support services. See SAP note 560630 if your satellite systems do not satisfy the requirements

The ST-A/PI is in SAP note 69455. ST-SER 700_2005_2 with SAP_BASIS from WebAS 7.00 SP05 • relevant for service delivery

SLD Configuration
There is 2 way to plug the Satellite to the SLD. If you are using SLD in Local (XI, Jco Destination, Portal, Etc) You need to Replicate/Synchronize the SLD Information between the SLD of the Satellite system to the SLD of Solution Manager. If you don’t use the SLD in Local, you can plug the Satellite direct to the SLD of Solution Manager.

3633756.doc

Page 8 of 41

Sap Solution Manager – Working with the Landscape IN THIS PAPER WE USE DIRECT CONNECTION BETTWENT THE SATELLITE TO THE SOLMAN SLD.

Satellite Task (Abap):
RZ70 Put the host and Service of Solution Manager ( If is not possible change because you use the SLD in Local speak with the System Administrator for SLD Data Replication).

Satellite Task (Java):
VisualAdmin  Server0ServicesSLD Data SupplierRuntime HTTP Setting Tab: Put the right information and then click in the Transfer Button.

CIM Client Generation Settings Tab: Put the right information and then click in CIMClient Test to check the configuration

Satellite Task (Other):
You can use SLD to upload external sap products too, You can use to publish TREX servers, MDM, Mobile or any kind of systems.. You need to Install 2 commands, “sldreg”: Used to create the Registration file to connect to the SLD and the SapOsCol used to read all the technical information, you can found this files in the Kernel SP. cd /<Kernel Directory> or SYS directory. sldreg -configure slddest.cfg –usekeyfile. Complete: Username/Password SLD Host/Port/HTTPS

3633756.doc

Page 9 of 41

Sap Solution Manager – Working with the Landscape

This procedure generate the slddest.cfg file with the connection information.

Check the SapOsCol run saposcol –b. You can check the Hardware Information in XML format.

Then you run the saposcol –b | sldreg -connectfile slddest.cfg -stdin -oldtransferdtd. The system show HTTP response: Success. HTTP status code: 200 End SLD Registration

3633756.doc

Page 10 of 41

Sap Solution Manager – Working with the Landscape Data send status: true

Check the Systems in SLD
In the http://hostname:50000/SLD of solution Manager Check in Technical system if you see the information of the recent adds system (Check if the Last Update is correct).

3633756.doc

Page 11 of 41

Sap Solution Manager – Working with the Landscape

Solution Manager:
We are using LongSID, This mean that we identify the satellite system with the normal SID and adding a Suffix. We need to create the System Manually and then synchronize with the SLD. If you use Normal SID you don’t need to create the system manually.

Create the System
Create DB
In the Txcode: SMSY Is important put the first 3 letter from the DB and the hostname, with this field Solution Manager map the LongSID with the SID.

Create The Sap System
Is important put the first 3 letter from the sap system and the Installation Number, with this field Solution Manager map the LongSID with the SID.

Create the Java System
Is important put the first 3 letter from the sap system, the hostname and the Installation Number, with this field Solution Manager map the LongSID with the SID.

Match the Smsy-SLD
In this step the Solution Manager read the SLD Information and match the Information with the Satellite system defined in the SMSY. Run SMSY_SETUP in “Test mode”  Immediate

Wait until the process “LANDSCAPE FETCH” ends in SM37

Check in SMSY if the System was assigned in the right way. You can check if the

3633756.doc

Page 12 of 41

Sap Solution Manager – Working with the Landscape Data Source is SLD, this mind that the Solution manager maps the LongSID with the SID.

Assign the Right Components
In this sample we are connecting a BI, This product is SAP Netweaver 2004S Business Intelligence

MAP Component Abap/Java
In this sample we create the System DI3_042,(Java Stack of NW2004s BI)

We select the BI Java like relevant component and the system component DI3_042 (Java Component)

Assign the Installation Number
Check if the installation number is correct in all the Sap System. This is important because if you don’t have the Installation Number the system cannot send the Information to SMD.

3633756.doc

Page 13 of 41

Sap Solution Manager – Working with the Landscape

RFC Connection
The RFC Allow to the Satellite to make and read the Satellite Information from the Solution Manager. You can use the Wizard to create the RFC in Automatic. Prerequisite: Admin user in the Solution Manager Admin User in the Satellite System. S_RFC and S_RFCACL Authorization Object in the Satellite System. . To generate the RFC Connection we need to Select the Sap System  Main Instance  Client row: click in the Generate Button.

Read Destination

Rfc User Used for:

create the RFC Destination from Solution Manager to the Satellite named: SM_<SID>CLNT<NRO>_READ Create the User SOLMANP1M100 in the Satellite with authorization only for read. This RFC is used for read system tables and statistics

TMW Destination

Rfc User Used for:

Create the RFC Destination in Solution Manager SM_<SID>CLNT<NRO>_TMW Create the User SOLTMWP1M100 in the Satellite with the authorization to create and release transport. This RFC is used with the Change Management Functionality

Trusted Destination

Rfc

Create the RFC Destination in Solution manager

3633756.doc

Page 14 of 41

Sap Solution Manager – Working with the Landscape SM_<SID>CLNT<NRO>_TRUSTED Use the “Current User” Authorization with Trusted authorization, (In the Satellite you need to have the profile S_RFC,S_RFC_ACL) This RFC Is used with different scenarios.

User: User for:

Back Destination

Rfc User: User for:

Create the RFC Destination in Satellite pointing to Solution Manager, SM_<SolMan SID>CLNT<NRO>_BACK Create the User SOLMANDI2042 in Solution Manager with SDCCN Authorization. This RFC is Used in the SDCCN Functionality, this allow the satellite system to send EWA to Solution Manager.

Load Balance and Monitoring
This Allow to use Load Balancing in the RFC Destinations and Select the RFC For Monitoring

Create the Logical Component
The Logical Component is used by Solution Manager to map the “Functionality of the System – Development-Productive-Quality-Sandbox” to the Landscape of the solution. You need to create 1 Logical component for every Main Instance in your Solution, Go to SMSY the menu --> Other Object…

Select Logical component and button Create

3633756.doc

Page 15 of 41

Sap Solution Manager – Working with the Landscape

Logical Component for ABAP Components
Write the Logical Component Name and select the Product/Version/Main Instance.

In the Logical Component Main window assign the role to the system.

Logical Component for JAVA Components
Write the Logical Component and select the Main Instance.

Assign the Role to the System

Assign the Logical Component to the Solution
All the Logical Component need to be mapped to the Solution. Is important to define the right Leading Role of your Solution, this information is used in the BPM Txcode: DSWP

3633756.doc

Page 16 of 41

Sap Solution Manager – Working with the Landscape Select the Solution  Solution Landscape  Solution Landscape Maintenance

Select the Logical Component and Save.

3633756.doc

Page 17 of 41

Sap Solution Manager – Working with the Landscape

Install SMD Agent
The SMD Agent is a Java Product created by Sap to Read/Compare/Execute remote task in the Satellite system. You need to install only one SMD Agent/Instance for Server/Virtual Server. Download the Last Version of the SMD Agent from: Service.sap.com/swdc DownloadInstallations and UpgradesEntry By Appllications GroupSap Technology ComponentsSap Solution ManagerSap Solution Manager 7Sap Solution Manager DiagnosticsSMD Agent 7.00 <Platform> Uncompress and run the Sapinst with root/Administrator user.

SMD Agent Install

Next.

Select the Username and password for SMD Agent (default: smdadm) , Local or Virtual host and if the SMD User is Local or Windows Domain.

Identify the Server name if is necessary (default: blank)

3633756.doc

Page 18 of 41

Sap Solution Manager – Working with the Landscape

Select the connection Type (default: HTTP)

Put the Hostname and Http Port of Solution Manager and Username/Password for Administrative role.

Select Next.

Select Start.

The System End the installation ok.

3633756.doc

Page 19 of 41

Sap Solution Manager – Working with the Landscape

Now you can see the New SMD Instance in Management Console You can check in SMD if you see the Agent connected. http://solman_hostname:50000/smd  Diagnostics Administration  Managed Systems  Agent Administration You can see the Agent ampsv04203pjt without server name.

3633756.doc

Page 20 of 41

Sap Solution Manager – Working with the Landscape

Dbacockpit
The Dbacockpit is the tool provided by sap to control the entire databases in the Sap Landscape. We make the connection to check if Solution Manager can see the Satellite Database without errors. Txcode: DBACOCKPIT for check the DB connection parameter. Click in SLD System Import Button.

Select and the Systems and click in Import Button

In the Main Window select the system and click in Edit

Select the Database Connection and click in Details

Complete the Database Parameter, User Password and TNS name and Save. (Remember to put the TNS Profile in the file H:\usr\sap\P2M\SYS\profile\oracle\tnsnames.ora)

3633756.doc

Page 21 of 41

Sap Solution Manager – Working with the Landscape Now you can click in the Left icon to activate or deactivate the connection.

3633756.doc

Page 22 of 41

Sap Solution Manager – Working with the Landscape

Jdbc Connector
JDBC Connector allow to Solution Manager Diagnostics to connect to the remote database and read the technical Information. In Solution Manager (Java)  Diagnostics SetupManaged System TroubleshootingJDBC Connectivity Select the System and complete the connection parameters.

3633756.doc

Page 23 of 41

Sap Solution Manager – Working with the Landscape

Remote DB Monitoring
In Solution Manager  Diagnostics SetupManaged System Troubleshooting Select DB and SID

Complete the Database Connection information and Click in Add and Test DB.

The Connectivity test is Ok

3633756.doc

Page 24 of 41

Sap Solution Manager – Working with the Landscape

Scheduler-Run task
The Scheduler is the Key point of Solution Manager Diagnostics. In the scheduler we define the task to do in all the Satellite system. Some task has the availability to run on demand or scheduled every hour/Day. We need to force the first scheduler task to load the parameters in Solution Manager. Solution Manager (Java)Diagnostics AdministrationManaged Systems SchedulerHost List Select your server and run the task one by one to check is everything is correct.

3633756.doc

Page 25 of 41

Sap Solution Manager – Working with the Landscape

SMD Setup Wizard
The SMD Setup Wizard allows to make the connection from SMD to the Satellite. Technically, is map the Satellite System (SMD Agent) to one Solution. During the Setup we put the Administrator User to allow to Solution Manager to make some changes in the Satellite. In Solution Manager (Java)  Diagnostics Setup  Managed Systems  Setup Wizard. Select the Solution and click Next.

Select the Sap system and Next

Complete the Java Connect Parameters set the Agent. Open the Drop box (1)  Select the Agent(2) and the Installation Path and then click in Set.

3633756.doc

Page 26 of 41

Sap Solution Manager – Working with the Landscape

Wait until the Agent restart and then Click in Next..

Solman show all the task to execute. Select all and click Next.

When the task end you can see the log and quit.

3633756.doc

Page 27 of 41

Sap Solution Manager – Working with the Landscape

Introscope Agent
The Introscope Agent collects the information and statistics from the Sap System and process the information to compile the Early Watch Alert. The Introscope allow to monitor and see the information in real time. You need to perform the installation of Introscope Agent in all the J2ee Nodes/ServerX in the Satellite. Prerequisite: SMD Agent running Setup Wizard already done. In Solution Manager (Java)  Diagnostics Setup  Managed Systems  Introscope Agent. Select the System in the Drop Box. In the list of J2ee Node select a new ServerX (The flag green mean that is ready to plug) Click in Setup Introscope Agent.

Select the Version/Profile(Actually is only 2 profile: XI and other) and Apply.

You need to restart the Java Instance of the Satellite system to activate the ISA in SMD. The you can see the ISAgent is state running.

3633756.doc

Page 28 of 41

Sap Solution Manager – Working with the Landscape

3633756.doc

Page 29 of 41

Sap Solution Manager – Working with the Landscape

EWA
Check the EWA Service Status in SMD
To check if SMD can create the EWA you can use the SMD/Service http://<solman_hostname>:50000/smd/services Select the System and the service Type (EWAEXT)

Check if everything is Ok and Green Light..

If you have problems you can check the note: Note 976054 - Availability of EWA for Non ABAP components

Configure EWA Service in Solution Manager
In Solution Manager you control all the EWA of the Satellite System. You can create and schedule EWA for all the systems (In the past sap only provide EWA for productive system). This configuration is done in automatic way when you add the Satellite System to some Solution, but if you want to check or create manually you can use this procedure. Txcode: SMSY Environment  Solution Manager Operations  Administration SDCCN

3633756.doc

Page 30 of 41

Sap Solution Manager – Working with the Landscape

In this screen you can check, Activate and Assign Sap Solution Manager like the Master System.

If is not in the List you can add manually

3633756.doc

Page 31 of 41

Sap Solution Manager – Working with the Landscape

When you add one system you need to Assign the Master System and check the connectivity between Solution Manager and the Satellite System.

Select the row of the Satellite System and select Master System  Assign as Master System

Then you need to Activate the SDCCN in the Satellite system clicking in the Icon Activate.

Check the RCTOOL In the Satellite
Run the Txcode: SMSY EnvironmentSolution Manager operationsAdministration SDCCN

3633756.doc

Page 32 of 41

Sap Solution Manager – Working with the Landscape

Select the System to check and click in the run Icon

In the Service Data Control Center Click in New and Add the Task “Service Preparation Check”

Clicik in Ok

3633756.doc

Page 33 of 41

Sap Solution Manager – Working with the Landscape

Edit Start now

Check if everything is correct

Refresh the Service Definition: Click in New Task and select the ‘Refresh Session” Task.

3633756.doc

Page 34 of 41

Sap Solution Manager – Working with the Landscape

Select Now and the Solution Manager like Target RFC Destination.

Now you can see the Service Session Waiting to run

Check the EWA Service in SM
You can control the Status of all the EWA in your Solution Manager Txcode: DSWP SettingsSolution MonitoringEarly watch Alert

3633756.doc

Page 35 of 41

Sap Solution Manager – Working with the Landscape

In the Screen you can see all the EWA Generated and Activate, Send to Sap or change the Running Day or Retention Period.

Check the SDCCN Data
You can check the Status of the SDDCN Data (This is all the data used to generate the EWA) using Solution Manager.. Txcode: DSWP GotoSessionsSDCCN Data

In the Screen you can see the status of all the SDCCN Data for the EWAS.

3633756.doc

Page 36 of 41

Sap Solution Manager – Working with the Landscape

Check the Status of the EWA Session
You can check the Status of all the EWA Session in Solution Manager, this allow to see if the Session was generated or not. Txcode DSWP GotoSessionsOverview

Select your filter options and run

3633756.doc

Page 37 of 41

Sap Solution Manager – Working with the Landscape

You see all the Session information

If you want to open it, you can click in the Session number and the session will be

opened

3633756.doc

Page 38 of 41

Sap Solution Manager – Working with the Landscape

Extras
Check FDQN active
Txcode: SMICM

Click in Services

Check the FQDN Defined.
Txcode:RZ11  Parameter “icm/host_name_full”

Check the Current Vaule

3633756.doc

Page 39 of 41

Sap Solution Manager – Working with the Landscape

Check Message Server Information
Goto:http://< Server Hostname>:5<Synr>00/sap/monitoring/systemifno

Check Java environment Ports
Goto: http://<message Server Hostname>:81<Synr>/msgserver/text/logon

3633756.doc

Page 40 of 41

Sap Solution Manager – Working with the Landscape

Check Abap Ports
Goto:http://<message Server Hostname>:80<Synr>/msgserver/text/logon

3633756.doc

Page 41 of 41

Sign up to vote on this title
UsefulNot useful