DX Application Performance Management

Expand all | Collapse all

About Wily Introscope for SAP(RTV version) - Custom Metric Host

  • 1.  About Wily Introscope for SAP(RTV version) - Custom Metric Host

    Posted Aug 03, 2017 08:46 PM

    Dear Graves

    Thank you so much for your kind explanation!

     

    1. What I am confused about "Custom Metric Host" is that, as you said if i drill deep I see connected systems. But besides under the "Custom Metric Host", there are other connected systems can be seen as well. And I do not understand why its separate.

    Introscope WebView

    Introscope WebView



  • 2.  Re: About Wily Introscope for SAP(RTV version)
    Best Answer

    Posted Aug 04, 2017 01:29 AM

    The Custom Metric Host is a placeholder for information related to an agent, but not actually generated by the agent.

    For example - "Connected Status" - If the agent is disconnected, I can't possibly expect to get this status from the agent - it's disconnected!  But it is important to know when an agent becomes disconnected.  So this kind of virtual information lives under the Customer Metric Host.

    Similarly, if you had a Calculator running, maybe adding together some key response times in order to calculate a Quality of Service metric - this calculated value needs to live somewhere.  And the Custom Metric Host is where it ends up.

    Here is a view of what you may find underneath that icon (from an earlier release):

    All of these metrics are unique to a given agent - but do not come from a physical agent.  They are generated by the Enterprise Manager component.

    Another point - don't ever use IP addresses as server names as you see in this example.  This is a "bad practice" but this is the example I had 'at hand'.  You are better off naming the server with a short code and the operating system type.  This gives you some information to help organize your agents so that it is easier to build metric groups, as part of building dashboards.

    However, your SAP-RTV may not actually allow you to create and modify dashboards - you need a full license to do that, last time I checked.

    Attributes like the "Metric Count" , "Is Clamped" and "Historical Metric Count" are very helpful in identifying poorly configured agents - if your SAP-RTV license lets you look at those virtual metrics...



  • 3.  Re: About Wily Introscope for SAP(RTV version)

    Posted Aug 04, 2017 01:51 AM

    Dear Michael

     

    Thank you so much for great explanation!!!

    From your explanation, coult it be said that agents that are shown under "Custom Metric Host" wont be counted for this?

     

    ." In a guide 「Introscope version 9 Installation Guide for SAP 」,it goes saying to manually adapt heap size, "Typically, for up to ten agents, the default configuration using 512MB Java heap (about 1GB main memory) will suffice. ".

     

    Why I am so desperate about agents is because of this heap size. I need to find how to estimate the heap size, but i am bit lost still. My boss wants to know how much of heap size is needed for our Wily. And the installation guide says above...

     

    And i am not sure if all the agents under "Custom Metric Host" are applicaple for the above...

     



  • 4.  Re: About Wily Introscope for SAP(RTV version)

    Posted Aug 04, 2017 02:12 AM

    The estimate, based on number of physical agents, takes into account the 'virtual agents' that you see under the Custom Metric Host.  In extreme situations, such as with a very large number of Calculators - there are some adjustments to make.

     

    The recommendations in the docs are historically oriented to running CA APM on a laptop.  For a production configuration, you should be thinking about 100-300 agents, over the next couple of years - unless you know that you will never reach that amount.  This is the capacity of an Enterprise Manger Collector, in general.   Just an aside, an Enterprise Manager has (3) possible personalities - MOM, Collector and Stand-alone.  You are certainly in the 'stand-alone' configuration but just bear in mind that CA APM scales to hundreds and thousands of agents and monitoring components - when the opportunity presents.

     

    However, the world view - from the SAP perspective (what they allow you to monitor, under the license terms), may actually be only 10-20 agents.  So having a heap of 1GB for Introscope, with 2GB of total memory - should give you plenty to work with.  It would probably be hard to configure a server with less memory than this!

     

    Using the full capacity/potential of Introscope would require a 'full' license - which is something more than the SAP-RTV allows.  So I don't see any reason to go beyond that because you are limited to the SAP-RTV.

     

    As you get more operational experience with Introscope, you may certainly want to deploy it against your other application server flavors, or to take advantage of other CA-APM components.  This requires a 'full' license, and you will need to contact a CA Account Executive to work out the details, in partnership with you SAP Account Executive.



  • 5.  Re: About Wily Introscope for SAP(RTV version)

    Broadcom Employee
    Posted Aug 04, 2017 02:17 AM

    Hi Mike,

    In relation to EM heap sizing Zaya also had this previous thread: Introscope Heap Size Calculation (regarding Wily Host Agent) , so please feel to comment based on that.

     

    Thanks & Regards,

     

    Lynn



  • 6.  Re: About Wily Introscope for SAP(RTV version)

    Posted Aug 04, 2017 02:48 AM

    Thank you again for detailed infromation!

    1. I do have 80 physical agent and 170something " virtual agent" under "Custom Metric Host"

     

    2. Firstly we had max heap set for 3GB and changed it few times, because we encountered OutOfMemory error.

     

    3. My boss is not that he wants to use full access for Inroscope. His concern is to reduce heap size, as the currrent heap size set to 13 GB is quite big.

    If I see on OS level, with ps aux | grep <PID of Wily>

    the VSS is 15218952KB, and the RSS is 10424268KB

     

    4. I have understanding of heap,that it will use as much as it is allowed in -Xmx and -Xms. If I reduce -Xmx and -Xms, the above VSS and RSS size will also change (decrease). And the only concern is just how much heap to set.....

     

    I am deeply sorry for unsummarized continuous questions...



  • 7.  Re: About Wily Introscope for SAP(RTV version)

    Broadcom Employee
    Posted Aug 04, 2017 12:47 PM

    To determine what the correct amount of memory you should import the Perflog.txt into Excel.  These 3 columns will tell you the story about your memory,(JVM.TotalMemory,Performance.JVM.FreeMemory,Performance.JVM.GCTimePercent).  My rule of thumb it not allow the FreeMemory to dip below the 1g amount.  If it does then I would recommend more memory.   

     

    This should be reviewed for your MOM and Collectors.

     

    There are lots of pieces that effect the amount of memory... number agents, number of metrics, number Management Modules etc.

     

    In Support if a customer has memory questions the perflog.txt is were we would start.

     

    I hope this helps.  If not let us know.

     

    Norris Graves



  • 8.  Re:  About Wily Introscope for SAP(RTV version) - Custom Metric Host

    Posted Aug 07, 2017 02:24 AM

    Hello, Graves!

    I did what you told me with perflog.txt.

     

    1. Performance.JVM.TotalMemory is constantly 12757

    2. Performance.JVM.FreeMemory is between 554 to 1946

    3. Performance.JVM.GCTimePercent is between 0 to 830

     

    I have further questions.

    1. Here , "Perfromance.JVM.GCTimePercent -- An estimate of what percentage of time the JVM is spending doing garbage collection (GC) since the last instance. " , what does "last instance" mean?

     

    2. Does the column for "Performance. AgentNumberOfAgents" indicate the total number for "physical" and "virtual" agents all together?

     

    3. In which log, I can find acquision time of heap?

     

    4. I was looking at perflog.txt and noticed that our

    ・Performance.Harvest.HarvestDuration is btw 39 to 193921 miliseconds

    ・Performance.Smartstor.Duration is btw 0 to 389949

    I guess this indicates the overload of our EM, does this will impact heap size??

     

    Sorry for continious questions...



  • 9.  Re:  About Wily Introscope for SAP(RTV version) - Custom Metric Host

    Broadcom Employee
    Posted Aug 07, 2017 09:34 AM

    Dear Munkhzaya:

    What do the fields in Perflog.txt mean?  is an excellent explanation on Perflog metrics, It may help with your present and future questions.

        Other APM Admins, Partners, and CA Staff . Could you provide your insights on these follow-up questions?

     

    Thanks

    Hal German



  • 10.  Re:  About Wily Introscope for SAP(RTV version) - Custom Metric Host

    Posted Aug 07, 2017 10:15 PM

    Hello, Hallett!

    Thank you for an reply!

     

    Yes, I have taken look into link you have sent me. Thank you so much.

     

    I am confused. Is it correct that the value for Performance.JVM.FreeMemory and Total set heap size minus committed heap size (in the GC log) does not match??



  • 11.  Re:  About Wily Introscope for SAP(RTV version) - Custom Metric Host

    Posted Aug 08, 2017 03:07 AM

    One more question!

     

    Does the overload of EM that are seen from Performance.Harvest.HarvestDuration and  Performance.Smartstor.Duration cause an infamous OutOfMemory Error in java heap size??



  • 12.  Re:  About Wily Introscope for SAP(RTV version) - Custom Metric Host

    Broadcom Employee
    Posted Aug 08, 2017 08:26 AM

    Dear Munkhzaya:

       In the other thread, Norris recommended working with SAP Support on any issues that you may have. This may be a good way to proceed

       I am glad the link provided was helpful. 

     

    Here are some others 

    https://communities.ca.com/message/16546906#16546906 CA Tuesday Tip: Top 10 common causes for EM performance issues

    https://communities.ca.com/message/100045562#100045562 CA Tuesday Tip: APM Health Check Tips Good overview

    https://communities.ca.com/message/100642256#100642256 CA Tuesday Tip:MARCH 2013 - Top 20 common causes for EM performance issues

     

    Thanks and Good Luck

    Hal German