How to enable the AR Server startup logging / trace in ARS 9.x version. AR startup log is written to whenever the AR Server is restarted. By default, arstartup log includes very little useful information for diagnosis, for example: ................ Thu Feb 07 11:03:03.569 2019 RestApiActivator:starting bundle... Thu Feb 07 11:03:03.600 2019 Restapi bundle started. ................ |
VIDEO STEPS By adding the -t flag to armonitor.cfg/armonitor.conf, the arstartup log will include debug information whenever the AR Server is restarted. 1. Navigate to the armonitor file directory: - (windows) ......BMC Software\ARSystem\Conf - (linux) /etc/arsystem/<servername>/ 2. Take back up of armonitor.cfg/armonitor.conf file. 3. Edit the armonitor.cfg/armonitor.conf 4. Go to the line where arserver.jar is mentioned. 5. Add the -t parameter just after arserver.jar, and just before -i, with spaces in between: Below are examples for both Windows and Linux. Windows Before: .............. "C:\Program Files\Java\jre1.8.0_141\bin\java" -jar "C:\Program Files\BMC Software\ARSystem\arserver.jar" -i "C:\Program Files\BMC Software\ARSystem" -l "C:\Program Files\Common Files\AR System\Licenses\<servername>" -m .............. After: .............. "C:\Program Files\Java\jre1.8.0_141\bin\java" -jar "C:\Program Files\BMC Software\ARSystem\arserver.jar" -t -i "C:\Program Files\BMC Software\ARSystem" -l "C:\Program Files\Common Files\AR System\Licenses\<servername>" -m .............. Linux Before: .............. ${BMC_JAVA_HOME}/java -jar /opt/bmc/ARSystem/bin/arserver.jar -s <servername> -i /opt/bmc/ARSystem -l /etc/arsystem/<servername> .............. After: .............. ${BMC_JAVA_HOME}/java -jar /opt/bmc/ARSystem/bin/arserver.jar -s <servername> -t -i /opt/bmc/ARSystem -l /etc/arsystem/<servername> .............. 6. Save and close armonitor.cfg/armonitor.conf. Restart the AR Server service. 7. Output will be written in the startup trace file created when the AR Server service is started- "arstartup_trace-YYYY-MM-DD-tt-mm.log", in the db folder. - (windows) C:\Program Files\BMC Software\ARSystem\Arserver\Db - (linux) /opt/bmc/ARSystem/db This Article pertains to ARServer 9.x. For 8.1 see Enabling start-up logging - Documentation for Remedy Action Request System 8.1 - BMC Documentation |