Tag Archives: arplugin

7.6.04

7.5 Plugin config and log files

Problem:

  • How to determine which plugin is which
    How to determine which config file goes with which plugin
    How to determine which file to edit to enable plugin logging for a given plugin
    BMC Remedy AR System Server
     

Solution:

  • Your paths and server names will differ. These are all the defaults except we used /data1 instead of /opt for the install; the server name is rhel4-rs-vm1. Also see KB KM-000010023751 for an explanation of what the ITSM plugins do.

 

NOTES:

The configuration for the arplugin daemon is in the ar.conf file. “Plugin:”, “Plugin-Path:” and “Plugin-Port:” only apply to the C arplugin daemon. The configuration for the Java plugins are done via separate .xml files. The port the Java plugin server runs on and which plugins are loaded by that Java plugin server are in the pluginsvr_config.xml file. Logging for each Java plugin server and the individual plugins loaded by that Java plugin server are configured in the log4j_pluginsvr.xml file for each. The actual log file name is listed in each log4j_pluginsvr.xml file.
 

C plugins (loaded by arplugin daemon):
Plugin: ardbcconf.so
Plugin: reportplugin.so
Plugin: ServerAdmin.so
Plugin: FlashboardObject.so
Plugin: /data1/bmc/ARSystem/arealdap/arealdap.so
Plugin: /data1/bmc/ARSystem/ardbcldap/ardbcldap.so
Plugin: /data1/bmc/ARSystem/approval/bin/arapprove.so
Plugin: /data1/bmc/AtriumCore/rhel4-rs-vm1/cmdb/server/bin/libcmdbconsolefilterapi75.so
Plugin: /data1/bmc/BMCRemedyITSMSuite/rhel4-rs-vm1/Shared_Components/bin/libardbcQuery.so
Plugin: /data1/bmc/BMCRemedyITSMSuite/rhel4-rs-vm1/Shared_Components/bin/libarfcbdata.so
Plugin: /data1/bmc/BMCRemedyITSMSuite/rhel4-rs-vm1/Shared_Components/bin/libcaieventcmd.so
Plugin: /data1/bmc/BMCRemedyITSMSuite/rhel4-rs-vm1/Shared_Components/bin/libNextId.so
 

 Java plugins (loaded by 3 separate Java plugin servers, all of which call the same Java plugin server class from the ARServer directory).
Because these don’t run on the C arplugin daemon specified by Plugin-Port: they must be aliased to point to the individual Java plugin server port so that arserverd knows where to call them at.
Server-Plugin-Alias: RMDY.ITSM.RLE RMDY.ITSM.RLE rhel4-rs-vm1:9999
Server-Plugin-Alias: ARSYS.ARF.REGISTRY ARSYS.ARF.REGISTRY rhel4-rs-vm1.labs.bmc.com:9999
Server-Plugin-Alias: ARSYS.ARF.WEBSERVICE ARSYS.ARF.WEBSERVICE rhel4-rs-vm1:9999
Server-Plugin-Alias: BMC.FILTERAPI.NORM.ENGINE BMC.FILTERAPI.NORM.ENGINE rhel4-rs-vm1:9555
Server-Plugin-Alias: AIS.FILTERAPI AIS.FILTERAPI rhel4-rs-vm1:9556
Server-Plugin-Alias: BMC.ARDBC.ATRIUM.API BMC.ARDBC.ATRIUM.API rhel4-rs-vm1:9556
Server-Plugin-Alias: DSM.FILTER DSM.FILTER rhel4-rs-vm1:9556
 

From armonitor.conf
            C plugin daemon:
            /data1/bmc/ARSystem/bin/arplugin -s rhel4-rs-vm1 -i /data1/bmc/ARSystem

             ARSystem Java plugin (port 9999 by default):
            /usr/java/jdk1.6.0_06/jre/bin/java -Xmx512m -classpath /data1/bmc/ARSystem/pluginsvr:/data1/bmc/ARSystem/pluginsvr/arpluginsvr75.jar com.bmc.arsys.pluginsvr.ARPluginServerMain -x rhel4-rs-vm1 -i /data1/bmc/ARSystem
 
            Atrium Java plugin (port 9556 by default):
            /data1/bmc/AtriumCore/rhel4-rs-vm1/cmdb/server/bin/atriumplugin.sh
 
            Normalization Engine – which is a plugin loaded by a Java plugin server (port 9555 by default):
            /data1/bmc/AtriumCore/rhel4-rs-vm1/cmdb/server/bin/normeng.sh
 
ARSystem Java Plugin config file and log4j (logging config file):
            /data1/bmc/ARSystem/pluginsvr
            Filenames:
            Config: pluginsvr_config.xml
            Logging: log4j_pluginsvr.xml
            Plugin logfile: /data1/bmc/ARSystem/db/arjavaplugin.log
 
Atrium Java Plugin config file and log4j (logging config file):
            /data1/bmc/AtriumCore/rhel4-rs-vm1/cmdb/plugins/shared
            Filenames:
            Config: pluginsvr_config.xml
            Logging: log4j_pluginsvr.xml
            Plugin logfile: /data1/bmc/AtriumCore/rhel4-rs-vm1/Logs/AtriumPluginSvr.log
 
Normalization Engine config file and log4j (logging config file):
            /data1/bmc/AtriumCore/rhel4-rs-vm1/cmdb/plugins/ne
            Filenames:
            Config: pluginsvr_config.xml
            Logging: log4j_pluginsvr.xml
            Plugin logfile: /data1/bmc/AtriumCore/rhel4-rs-vm1/Logs/AtriumPlugin.log