Professional Documents
Culture Documents
08
SapSolutionManagerWorkingwiththeLandscape
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
SapSolutionManagerWorkingwiththeLandscape Extras......................................................................................................................39 Check FDQN active...........................................................................................39 Check the FQDN Defined...................................................................................39 Check Java environment Ports..........................................................................40
3633756.doc
Page 3 of 41
SapSolutionManagerWorkingwiththeLandscape
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 Ive been working as a SAP basis Administrator and Solution Manager Consultant for the last 8 years. Im 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
SapSolutionManagerWorkingwiththeLandscape
Purpose
This configuration guide has been compiled to know how connect the Satellite system to SAP Solution Manager.
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
3633756.doc
Page 6 of 41
SapSolutionManagerWorkingwiththeLandscape
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>
3633756.doc
Page 7 of 41
SapSolutionManagerWorkingwiththeLandscape
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):
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 dont use the SLD in Local, you can plug the Satellite direct to the SLD of Solution Manager.
3633756.doc
Page 8 of 41
SapSolutionManagerWorkingwiththeLandscape IN THIS PAPER WE USE DIRECT CONNECTION BETTWENT THE SATELLITE TO THE SOLMAN SLD.
CIM Client Generation Settings Tab: Put the right information and then click in CIMClient Test to check the configuration
3633756.doc
Page 9 of 41
SapSolutionManagerWorkingwiththeLandscape
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
3633756.doc
Page 11 of 41
SapSolutionManagerWorkingwiththeLandscape
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 dont need to create the system manually.
Check in SMSY if the System was assigned in the right way. You can check if the
3633756.doc
Page 12 of 41
SapSolutionManagerWorkingwiththeLandscape Data Source is SLD, this mind that the Solution manager maps the LongSID with the SID.
We select the BI Java like relevant component and the system component DI3_042 (Java Component)
3633756.doc
Page 13 of 41
SapSolutionManagerWorkingwiththeLandscape
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
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
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
3633756.doc
Page 14 of 41
SapSolutionManagerWorkingwiththeLandscape 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.
Back Destination
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.
3633756.doc
Page 15 of 41
SapSolutionManagerWorkingwiththeLandscape
In the Logical Component Main window assign the role to the system.
3633756.doc
Page 16 of 41
3633756.doc
Page 17 of 41
SapSolutionManagerWorkingwiththeLandscape
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.
3633756.doc
Page 18 of 41
SapSolutionManagerWorkingwiththeLandscape
Put the Hostname and Http Port of Solution Manager and Username/Password for Administrative role.
Select Next.
Select Start.
3633756.doc
Page 19 of 41
SapSolutionManagerWorkingwiththeLandscape
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
SapSolutionManagerWorkingwiththeLandscape
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.
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
SapSolutionManagerWorkingwiththeLandscape Now you can click in the Left icon to activate or deactivate the connection.
3633756.doc
Page 22 of 41
SapSolutionManagerWorkingwiththeLandscape
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 SetupManaged System TroubleshootingJDBC Connectivity Select the System and complete the connection parameters.
3633756.doc
Page 23 of 41
SapSolutionManagerWorkingwiththeLandscape
Remote DB Monitoring
In Solution Manager Diagnostics SetupManaged System Troubleshooting Select DB and SID
Complete the Database Connection information and Click in Add and Test DB.
3633756.doc
Page 24 of 41
SapSolutionManagerWorkingwiththeLandscape
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 AdministrationManaged Systems SchedulerHost List Select your server and run the task one by one to check is everything is correct.
3633756.doc
Page 25 of 41
SapSolutionManagerWorkingwiththeLandscape
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
SapSolutionManagerWorkingwiththeLandscape
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
SapSolutionManagerWorkingwiththeLandscape
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.
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
SapSolutionManagerWorkingwiththeLandscape
3633756.doc
Page 29 of 41
SapSolutionManagerWorkingwiththeLandscape
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)
If you have problems you can check the note: Note 976054 - Availability of EWA for Non ABAP components
3633756.doc
Page 30 of 41
SapSolutionManagerWorkingwiththeLandscape
In this screen you can check, Activate and Assign Sap Solution Manager like the Master System.
3633756.doc
Page 31 of 41
SapSolutionManagerWorkingwiththeLandscape
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.
3633756.doc
Page 32 of 41
SapSolutionManagerWorkingwiththeLandscape
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
SapSolutionManagerWorkingwiththeLandscape
Refresh the Service Definition: Click in New Task and select the Refresh Session Task.
3633756.doc
Page 34 of 41
SapSolutionManagerWorkingwiththeLandscape
Select Now and the Solution Manager like Target RFC Destination.
3633756.doc
Page 35 of 41
SapSolutionManagerWorkingwiththeLandscape
In the Screen you can see all the EWA Generated and Activate, Send to Sap or change the Running Day or Retention Period.
In the Screen you can see the status of all the SDCCN Data for the EWAS.
3633756.doc
Page 36 of 41
SapSolutionManagerWorkingwiththeLandscape
3633756.doc
Page 37 of 41
SapSolutionManagerWorkingwiththeLandscape
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
SapSolutionManagerWorkingwiththeLandscape
Extras
Check FDQN active
Txcode: SMICM
Click in Services
3633756.doc
Page 39 of 41
SapSolutionManagerWorkingwiththeLandscape
3633756.doc
Page 40 of 41
SapSolutionManagerWorkingwiththeLandscape
3633756.doc
Page 41 of 41