DX Application Performance Management

  • 1.  Smartstor DB merge

    Posted Oct 02, 2017 03:26 PM

    I need to merge the smartstor DBs belonging to 10 collector into 1 smartstor.

    This is a migrated environment, that is not collecting data anymore.

    The total amount of data for all the smartstor DBs is about 300 GB that I want to consolidate into only 1 smartstor.

    Is there any limit which I must take into account?

    Another question is about to disable the data aging on EM to preserve all the data.

    Any other suggestion is appreciate.

    Thanks and Regards

    Antonello



  • 2.  Re: Smartstor DB merge

    Broadcom Employee
    Posted Oct 03, 2017 08:59 AM

    Dear Antonello:

        I am changing this to a discussion since is getting more into best practices. You didn't mention what release you migrated from and to. Please share. If this is APM 10.5.x, then you may wish to review Knowledge Docs on the merge tool/remove metric. 

     

    Use of the SmartStor merge tool on APM 10.5.x data can potentially corrupt SmartStor data. TEC1767931
    https://support.ca.com/us/knowledge-base-articles.tec1767931.html 

     

     Does the Smartstor Tool remove_metric command behave differently in APM 10.5.x and later? TEC1663998

    https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec1663998.html 

     

    Seeing an Out of Memory Error when running the SmartStor Tool TEC1012622
    http://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec1012622.html 

     

    Question and Answers about SmartStor Maintenance Using SmartStorTools TEC1651685
    http://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.tec1651685.html 

     

     

    Thanks

    Hal German



  • 3.  Re: Smartstor DB merge

    Posted Oct 03, 2017 02:40 PM

    Hi Hal

    Thanks for the information provided, I currently have APM 10.5.1.

     

    Regards

    Antonello



  • 4.  Re: Smartstor DB merge

    Broadcom Employee
    Posted Oct 03, 2017 09:06 AM

    Dear APM Admins/Partners

     

       Here is a chance to share your experience and provide guidance in this area. Do you have any suggestions for Antonello?

    Thanks

    Hal German



  • 5.  Re: Smartstor DB merge

    Broadcom Employee
    Posted Oct 04, 2017 11:38 AM

    Hello Antonello,

    I believe you are trying to configure an offline EM standalone to be used for query historical data only.
    Here are my recommendations:

     

    1) Your metadata are more probably huge, make sure you allocate enough memory, open the EM_HOME/tools/SmartStorTools.bat/sh and adjust -Xmx, otherwise, you will run in OOM issues.

     

    2) Open the EM_HOME/config/IntroscopeEnterpriseManager.properties, change tiers age to 999999 days (max limit limit of 1,000,000 days for any tier). If you don't do this step the EM will most probably delete the "old" data or reperiodize data you don't want.

     

    3) After merging the data directories you will not be able to see the data in the investigator, don't forget to mount the Agents

     

    4) I strongly suggest you also to delete any unnecessary metrics, even when this EM will be for query purposes only, you are expecting queries result to be fast and this might not be the case because the EM will be using a lot of resources just to through the huge metadata file, see also: 10.5.2 Missing Metrics with Data 

     

    5) Whenever possible try to use webview instead of workstation.

     

    I hope this helps,
    Regards,

    Sergio