DX Application Performance Management

Expand all | Collapse all

Tuesday Tip - CA MAA: How to Script MAA Server Start, Stop, and Status

  • 1.  Tuesday Tip - CA MAA: How to Script MAA Server Start, Stop, and Status

     
    Posted 10-27-2015 07:32 PM
      |   view attached

    CA Mobile Application Analytics (MAA) Tuesday Tip by Bryan Whitmarsh, Sr Principal Technical Consultant for Tuesday, October 27th, 2015.

     

    How many times have you entered the following into the command prompt?

     

    cd $CA_EMM_HOME/apache-tomee-plus-1.6.0/bin

    sudo ./startup.sh

    cd $CA_EMM_HOME/dse-4.5.1/bin/

    sudo ./dse cassandra –s

    cd $CA_EMM_HOME/java/mdo-aggregator/bin/

    sudo ./startAgg.sh

    cd $CA_EMM_HOME/maa-apache-tomee-plus-1.6.0/bin

    sudo ./startup.sh

    ps -aef | grep java

     

    Well Janne Koponen on the CA MAA SWAT team has built an great little script for the community. Just download and unzip this script file (maa.sh) and copy it into the $CA_EMM_HOME directory of your MAA Server.

     

    To start all MAA Java Services just enter: sh maa.sh start

    To stop all MAA Java Services just enter: sh maa.sh stop

    And to check the status of the MAA Java Services just enter: sh maa.sh status

     

    Soooo Cooool!

    Attachment(s)

    zip
    maa.sh.zip   1K 1 version


  • 2.  Re: Tuesday Tip - CA MAA: How to Script MAA Server Start, Stop, and Status

    Posted 11-12-2015 05:18 AM

    now this is awesome!!



  • 3.  Re: Tuesday Tip - CA MAA: How to Script MAA Server Start, Stop, and Status

    Posted 11-12-2015 07:25 AM

    Can I suggest an enhancement though

     

    currently it is hardcoded to /opt/ca/maa which is not the default install path and failed on my server

     

    I edited mine and changed all instances of

     

    /opt/ca/maa

    to

    $CA_EMM_HOME

     

    and now it works for me

    Rich