Working With the Landscape
Transcript of Working With the Landscape
Working with the Landscape How-To Create and plug LongSID System in Solution Manager
SAP Solution Manager
h t t p : / / w w w . l i n k e d i n . c o m / i n / s o l u t i o n m a n a g e r
W e n c e s l a o L a c a z e
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 2 of 40
Table of Contents
Versioning ..............................................................................................................................................................................4 Author Bio ..............................................................................................................................................................................4 Purpose....................................................................................................................................................................................5
Solution Manager – Scenario Description .............................................................................................................5 Requirements........................................................................................................................................................................6 Satellite ....................................................................................................................................................................................7
Service package and Support Package ...................................................................................................................7 SLD Configuration...........................................................................................................................................................7 Satellite Task (Abap): ....................................................................................................................................................7 Satellite Task (Java): ......................................................................................................................................................8 Satellite Task (Other): ...................................................................................................................................................8 Check the Systems in SLD......................................................................................................................................... 10
Solution Manager: ............................................................................................................................................................ 11 Create the System ........................................................................................................................................................ 11
Create DB.................................................................................................................................................................... 11 Create The Sap System.......................................................................................................................................... 11 Create the Java System.......................................................................................................................................... 11
Match the Smsy-SLD................................................................................................................................................... 11 Assign the Right Components ................................................................................................................................. 12 MAP Component Abap/Java .................................................................................................................................... 12 Assign the Installation Number.............................................................................................................................. 12
RFC Connection ................................................................................................................................................................. 13 Read Destination ..................................................................................................................................................... 13 TMW Destination .................................................................................................................................................... 13 Trusted Destination ............................................................................................................................................... 13 Back Destination...................................................................................................................................................... 14 Load Balance and Monitoring ............................................................................................................................ 14
Create the Logical Component................................................................................................................................ 14 Logical Component for ABAP Components................................................................................................... 15 Logical Component for JAVA Components.................................................................................................... 15
Assign the Logical Component to the Solution................................................................................................. 15 Install SMD Agent ............................................................................................................................................................. 17 Dbacockpit........................................................................................................................................................................... 20 Jdbc Connector................................................................................................................................................................... 22 Remote DB Monitoring................................................................................................................................................... 23 Scheduler-Run task.......................................................................................................................................................... 24 SMD Setup Wizard............................................................................................................................................................ 25 Introscope Agent............................................................................................................................................................... 27 EWA ....................................................................................................................................................................................... 29
Check the EWA Service Status in SMD................................................................................................................. 29 Configure EWA Service in Solution Manager.................................................................................................... 29 Check the RCTOOL In the Satellite ........................................................................................................................ 31 Check the EWA Service in SM.................................................................................................................................. 34 Check the SDCCN Data ............................................................................................................................................... 35 Check the Status of the EWA Session ................................................................................................................... 36
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 3 of 40
Extras .................................................................................................................................................................................... 38 Check FDQN active ................................................................................................................................................. 38 Check the FQDN Defined. ..................................................................................................................................... 38 Check Message Server Information ................................................................................................................. 39 Check Java environment Ports........................................................................................................................... 39 Check Abap Ports .................................................................................................................................................... 40
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 4 of 40
Versioning Version Change Date
1.0 Original 10/06/2008
2.0 Webpage Link
SLD for External systems.
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: [email protected]
http://www.linkedin.com/in/solutionmanager
You can found more papers at :
http://wlacaze.googlepages.com/home
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 5 of 40
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.
Note: General information and instructions for SAP Solution Manager can be downloaded at:
http://service.sap.com/solutionmanager -> Installation Guides -> Release 4.0 -> Configuration
Guide SAP Solution Manager
SolMan
SLD
SAP
Abap/Java
RFC READ
RFC TMW
RFC TRUSTED
RFC BACK
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 6 of 40
Requirements
To use this tutorial you need:
Parameters Description
Hostname and FQDN: <Hostname.domain.com>
Ip Address: <192.168.1.1>
OS W64 W32 AIX
Remote Session Type RDP VNC X-Session
root or Administrator :
User/Password <root> <Password>
SAP
OSS User: User/Password <S0000XXXX > <password>
Installation Number <00000999999>
Customer Number <0000099999>
Sap Product/Version: ERP BI CRM Other
System type: <ABAP> <JAVA> <DualStack>
Master Password:
provided during the installation <PASSWORD>
ABAP
SID: <SID>
Sysnr: <SysNr>
User for client 000: SAP* or similar 000 <username> <password>
User for Prod. Client: SAP* or similar <XXX> <username> <password>
JAVA
SID: <SID>
Instance number: <99>
User: Administrator/J2ee_admin <J2eeadm> <password>
SLDDSUSER Password
Installation Directory: /usr/sap/<SID> <X>:\usr\sap\<SID>
Message Server Host: Hostname
Message Server Port: 39XX
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 7 of 40
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):
ST-PI Version 2005_1_<release> and
higher:
• 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)
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 • relevant for service delivery
with SAP_BASIS from WebAS 7.00 SP05
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.
IN THIS PAPER WE USE DIRECT CONNECTION BETTWENT THE SATELLITE TO THE SOLMAN
SLD.
Satellite Task (Abap):
RZ70
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 8 of 40
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
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 9 of 40
SLD Host/Port/HTTPS
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
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 10 of 40
End SLD Registration
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).
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 11 of 40
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
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 12 of 40
Check in SMSY if the System was assigned in the right way. You can check if the 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.
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 13 of 40
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 create the RFC Destination from Solution Manager to the Satellite named:
SM_<SID>CLNT<NRO>_READ
User Create the User SOLMANP1M100 in the Satellite with authorization only for
read.
Used
for:
This RFC is used for read system tables and statistics
TMW Destination
Rfc Create the RFC Destination in Solution Manager SM_<SID>CLNT<NRO>_TMW
User Create the User SOLTMWP1M100 in the Satellite with the authorization to
create and release transport.
Used
for:
This RFC is used with the Change Management Functionality
Trusted Destination
Rfc Create the RFC Destination in Solution manager
SM_<SID>CLNT<NRO>_TRUSTED
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 14 of 40
User: Use the “Current User” Authorization with Trusted authorization, (In the
Satellite you need to have the profile S_RFC,S_RFC_ACL)
User
for:
This RFC Is used with different scenarios.
Back Destination
Rfc Create the RFC Destination in Satellite pointing to Solution Manager,
SM_<SolMan SID>CLNT<NRO>_BACK
User: Create the User SOLMANDI2042 in Solution Manager with SDCCN Authorization.
User
for:
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
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 15 of 40
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
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 16 of 40
Select the Solution � Solution Landscape � Solution Landscape Maintenance
Select the Logical Component and Save.
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 17 of 40
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)
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 18 of 40
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.
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 19 of 40
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.
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 20 of 40
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)
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 21 of 40
Now you can click in the Left icon to activate or deactivate the connection.
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 22 of 40
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.
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 23 of 40
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
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 24 of 40
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.
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 25 of 40
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.
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 26 of 40
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.
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 27 of 40
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.
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 28 of 40
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.
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 29 of 40
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
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 30 of 40
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
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 31 of 40
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
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 32 of 40
Environment�Solution Manager operations�Administration SDCCN
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”
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 33 of 40
Clicik in Ok
Edit� Start now
Check if everything is correct
Refresh the Service Definition:
Click in New Task and select the ‘Refresh Session” Task.
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 34 of 40
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
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 35 of 40
Settings�Solution Monitoring�Early watch Alert
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.
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 36 of 40
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
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 37 of 40
Select your filter options and run
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
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 38 of 40
Extras
Check FDQN active
Txcode: SMICM
Click in Services
Check the FQDN Defined.
Txcode:RZ11 � Parameter “icm/host_name_full”
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 39 of 40
Check the Current Vaule
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
Sap Solution Manager – Working with the Landscape
SAP-SOLMAN-WORK-Plug LongSID System-v2.0.doc Page 40 of 40
Check Abap Ports Goto:http://<message Server Hostname>:80<Synr>/msgserver/text/logon