Remedy - Server - How to monitor plugin server with jvisualvm

Version 2
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Remedy AR System Server


    COMPONENT:

    AR System Server


    APPLIES TO:

    AR System Server



    QUESTION:

    How to monitor specifically the plugin server instead of the whole ar system server with JVisualVM


    ANSWER:

     

       
    1. Comment out the plugin server command line on your armonitor.cfg which is located in <AR Server Folder>/Conf     
           
      1. The line should look like this:  #"%BMC_JAVA_HOME%\java" -Xmx1024m -classpath "C:\Program Files\BMC Software\ARSystem\pluginsvr;C:\Program Files\BMC Software\ARSystem\pluginsvr\arpluginsvr91_build005.jar;C:\Program Files\BMC Software\ARSystem\arserver\api\lib\arcmnapp91_build005.jar" com.bmc.arsys.pluginsvr.ARPluginServerMain -x <servername> -i "C:\Program Files\BMC Software\ARSystem" -m
      2.   
    2.  
    3. Restart your AR Server and this line will NOT start as it will be commented out.
    4.  
    5. Then we are going to start the process manually via command line. But first we need to add the jmx connection parameters:      
           
      1. After this "%BMC_JAVA_HOME%\Java\jre1.8.0_71\bin\java"
      2.    
      3. Add this -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=<a new available port for the jmx connection> -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
      4.    
      5. And the rest of your line, like -Xmx1024m …. Until the end.
      6.    
      7. Run the command on the cmd and the plugin server should start with the jmx connection opened ready to be monitored 
      8.   
    6.  
    7. From your remote host, open JVisualVM      
           
      1. File -> Add JMX connection
      2.   
       User-added image
    This will start the monitoring on the plugin server with JVisualVM 
      

     


    Article Number:

    000171681


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles