Additional Blogs by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
lanzlf
Product and Topic Expert
Product and Topic Expert

As you know for NetWeaver components that run over Java stack, a *

Solution Manager Diagnostics * is required so, i think a lot of people will

be installing one of them very soon (standalone or within Solution Manager 4.0)



I want to share with you in this weblog my field experience installing it, which

can be taken as a quite small and brief "cookbook" that will help you not to spent

a lot of time only for the preparation. I've divided the installation process in 5

phases:


       1st  Pre-flight check

       2nd  Installing the SMD (Monitoring System)

       3rd  Installing the SMD Agents & CA on monitored Systems

       4th  Installing the WTI & other features

       5th  Links and documentation about "How to use it"






    So it looks easier, let's start:

    1st:  Pre-flight check

    During this phase you have to:


    - Definition & Concepts

    - Download Packages & Guides

    - Collect Important data



    Definition & Concepts:

    The Solution Manager Diagnostics normally runs over a Java Stack for a Web

    Application Server 6.40 or higher. SAP strongly recommends to run it separately

    from the solution that will be monitored, so the first thing that you have to do is

    to identify where the SMD will be running on. This WebAS will be know as of this

    moment as "Monitoring System" (*)



    If you have a "Monitoring System" you will have also

    "Monitored Systems", those Monitored systems can be either the NW

    Portal or the XI or MI or CRM....... that you want to include on your Solution

    Manager Diagnostics



    (*) In case of you're running an SAP Solution Manager 4.0 this one becomes the

    Monitoring System, in this case the Diagnostics will run on same Java Stack of

    system.

    Downloading Packages & Guides:


    You have to download the following guides from SAP Service Marketplace:



    - Supp. Setup Guide - Solution Manager Diagnostics NW04 SPS (latest)

    - Supp. Setup Guide - Component Analyzer NW04 SPS (latest)

    - Supp. Setup Guide - Solution Manager Diagnostics NW04 adv.

    - Installation Guide Wily Introscope 6.0.1





    These guides are available on NW Operation http://service.sap.com/nw04operation

    * -> Supportability*


    You have to download the software, as usual from SAP Software Distribution Center

    (swdc) page. Please download the following packages:

    *- Solution Manager Diagnostics Archive: LMSERVICE(latest

    version)_0.sca *

    + go to http://service.sap.com/swdc 

    -> Download -> Support Packages and Patches -> Entry by Application Group -> SAP

    NetWeaver -> SAP NetWeaver -> SAP NetWeaver 04 -> Entry by Component -> Application

    Server Java -> SOLMANDIAG04 -> OS independent+



    *- The SAPinst package for Component Analyzer and SMD Agent:

    CDSMDTOOLS(latest version).sar *

    + go to http://service.sap.com/swdc 

    -> Download -> Support Packages and Patches -> Entry by Application Group -> SAP

    NetWeaver -> SAP NetWeaver -> SAP NetWeaver 04 -> Entry by Component -> Central

    Admin -> COMPONENT ANALYZER 6.40 -> *- The Wily Introscope Manager & Agents *  (refer to SAP Note 797147 for details) </p> </ul>

    Collecting Data:

    You need to gather some information about your system before starting the

    installation, this will help a lot!. The data required is from your Monitoring

    System which is the WebAS where the SMD will be running on:


    - Hostname where the SDM will be installed (full qualified hostname)

    - ITS Client number. This is normally the productive client

    - ITS port

    - IGS hostname (full qualified hostname)

    - IGS port

    - Login Ticket Client (for SSO)

    - SSO certificate export location (path to find the SSO Certificate, normally a

    shared directory)

    - SLD Bridge information (in case you use System Landscape Directory)

    - SAP NetWeaver Administrator user & password


    Sometimes is hard to find this information, if you don't know how to get it, just

    have a look on "Supportability Setup Guide - Solution Manager Diagnostics NW04

    advanced"



    Now we're ready to start the Solution Manager Diagnostics installation

    2nd  Installing the SMD (Monitoring System)

    As a pre-requisite you have to patch the WebAS 6.40 Java (where the Diagnostics

    will be running on) to the latest SPS available, once the WebAS is patched just

    move the LMSERVICE(latest version)_0.sca to this server and deploy it by using the

    SDM.



    Then you have to create the users and assign to them the roles as indicated on

    the guide "Supportability Setup Guide - Solution Manager Diagnostics NW04". It is

    important when using an ABAP system as UME datasource to select the same ABAP

    client that has been set as datasource to create the users



    Afterwards connect into your new Diagnostics administration functionality, with

    admin user (Administrator or J2ee_admin) by the following url +*

    http://(hostname):(http port)/smd/admin *+  (this hostname & port

    correspond to the java stack where the Diagnostics has been deployed); Now you're

    in the Diagnostics administration. You have two important steps, First at all you

    have to  fullfill the requrired data (already collected in first phase) on

    "Monitoring System Setup" tab and click "save monitoring setting"

    button



    Secondly, we must run the upgrader by clicking on "upgrade now"

    button located on Upgrader Tab and Disable the maintenance mode by clicking on

    "disable maintenance mode" button located on Agent Administration

    tab, otherwise during the agent installation you will have problems as per the

    agent will not be able to connect into Diagnostics.



    If you have any doubts about these steps, have a look in the Supportability Setup

    Guide - Solution Manager Diagnostics NW04.

    3rd  Installing the SMD Agents & CA on monitored Systems

    Well friends, this step must be run on each monitored system, and

    now you have to use the guide "Supportability Setup Guide - Component Analyzer NW04

    SPS (latest available)"

    adm,

    never as root!

    - if it runs on Windows use the Domainosuser during SAPInst definition



    Then just run SAPInst and follow the guide, the installation is so easy



    After you finish the installation you have to configure the Components with the

    CA as indicated on the guide, then go back to the Diagnostics administration and

    click over the "Agent Administration" If your system agent appears you have

    finished the installation sucessfully, otherwise you have to check the Component

    Analyzer again and restart the agent on monitored system until system agent appears

    in the Diagnostics



    If the agent appears in the Diagnostics means the agent is able to comunicate

    with the Diagnostics, Now you have to allow the Diagnostics to communicate with the

    agent, for this please type the P4port (5XX04), the J2EE administator user

    & password (for monitored system) on Diagnostics "Monitored System Setup" tab and

    run the tasks by click over "Setup All" button. These tasks not only allow

    Diagnostics to get data from SMD agent, but also to get data from the CCMS agent

    data.



    that's all !!!!

    4th  Installing the WTI & other agents

    This activity appears as (Optional) in the guide, but i recommend you to install it

    too, why ? beacuse this tool helps to SAP Support to go to the root cause of

    problem in a faster way, as a consequence in case of troubles you will get a faster

    answer from SAP.....


    In there you will find 3 components:


      a) Wily Introscope Webviewer(to be installed on Diagnostics server)

      b) Wily Introscope Enterprise Manager (+to be installed on Diagnostics

      server+)

      c) Wily Introscope Agent (+to be installed on WebAS servers for monitored

      systems+)



      the Wily Introscope guide is very good and you can follow it step by step,

      however you have to change the Enterprise Manager and webviewer port to the http

      port defined on your Diagnostics server; By default the Enterprise Manager port is

      6000 or 6001 so just adjust it to your webAS http port (normally 5XX00)



      Now is time to adjust the Monitored Systems in order to provide the required

      information into the Diagnostics, from my point of view this is the most important

      task on this process, please have a look on "Supportability Setup Guide - Solution

      Manager Diagnostics NW04 Advanced". On this guide you have to follow the section

      b and setup:+ Java Parameter Settings, HTTP Analysis, Thread

      Dump and Garbage Collector Analysis, Single Sign-On on Monitored System, the

      Software Change Reporting and Enable Session Tracing...+



      After finishing this setting you're able to use the Solution Manager Diagnostics,

      now you have to prepare the remote connection to SAP Support, please set the

      connection as SOLMANDIAG 04

      5th  Links and Documentation about "How to use it"

      Now we have the Diagnostics RFU, but where can we found information about how to do

      that ?


      Here you have the top 5 places to get the information:

        1-. SMD End User Guide, you can download it from here

        2-. SAP Tutors - go to

        http://service.sap.com/rkt
        and select +SAP Solution Manager -> SAP Solution

        Manager 4.0 -> Customer´s Support Organization +, then open the section

        "NetWeaver Supportability - SAP Solution Manager Diagnostics"

        3-. SMD page on SAP Service Marketplace http://service.sap.com/Diagnostics


        4-. HTTP trace with SMD weblog @ SDN How to perform a complete HTTP trace for SAP Enterprise Portal application? Try SAP Solution Manager...



        5-. SMD @ SAP Help Portal [ click here | http://help.sap.com/saphelp_sm40/helpdata/en/43/259ae072634e86e10000000a42203

        5/content.htm]

        +....I hope this helps!+</center></p>

        20 Comments