Enterprise Content Management System Monitor. Server Debugging Guide. 20.09.2013 CENIT AG Bettighofer, Stefan



Similar documents
Enterprise Content Management System Monitor 5.1 Agent Debugging Guide Revision CENIT AG Author: Stefan Bettighofer

Installation Notes for Outpost Network Security (ONS) version 3.2

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

McAfee epolicy Orchestrator Software

Configuring MailArchiva with Insight Server

IBM WebSphere Partner Gateway V6.2.1 Advanced and Enterprise Editions

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

epolicy Orchestrator Log Files

Avira Update Manager User Manual

mypro Installation and Handling Manual Version: 7

Troubleshooting for Yamaha router

Ensim WEBppliance 3.0 for Windows (ServerXchange) Release Notes

Health Monitor. Setup and Configuration

AV Management Dashboard

Using RADIUS Agent for Transparent User Identification

Intelligent Power Protector User manual extension for Microsoft Virtual architectures: Hyper-V 6.0 Manager Hyper-V Server (R1&R2)

CostsMaster. CostsMaster Dongle Server User Guide

F-SECURE MESSAGING SECURITY GATEWAY

HarePoint Password Change Manual

Novell ZENworks Asset Management

JORAM 3.7 Administration & Monitoring Tool

DS License Server. Installation and Configuration Guide. 3DEXPERIENCE R2014x

NetIQ Advanced Authentication Framework - MacOS Client

HowTo: Logging, reporting, log-analysis and log server setup Version 2007nx Release 3. Log server version 2.0

OnCommand Performance Manager 1.1

DS License Server V6R2013x

Rational Application Developer Performance Tips Introduction

Syslog Monitoring Feature Pack

Web Security Log Server Error Reference

Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

Lucid Key Server v2 Installation Documentation.

Table of Contents MONITORING SOFTWARE USER MANUAL

Installing a Symantec Backup Exec Agent on a SnapScale Cluster X2 Node or SnapServer DX1 or DX2. Summary

F-Secure Messaging Security Gateway. Deployment Guide

Event Based Interface

POLICY PATROL MFT. Manual

VERITAS Backup Exec TM 10.0 for Windows Servers

Other documents in this series are available at: servernotes.wazmac.com

BusinessObjects Enterprise XI Release 2

Unicenter Workload Control Center r1 SP4. Server Status Troubleshooting Guide

ITG Software Engineering

How To Enable A Websphere To Communicate With Ssl On An Ipad From Aaya One X Portal On A Pc Or Macbook Or Ipad (For Acedo) On A Network With A Password Protected (

UPS Monitoring Software. User manual Borri Power Guardian

Troubleshooting This document outlines some of the potential issues which you may encouter while administering an atech Telecoms installation.

Web Dashboard User Guide

How to FTP (How to upload files on a web-server)

DESLock+ Basic Setup Guide Version 1.20, rev: June 9th 2014

IBM. Implementing SMTP and POP3 Scenarios with WebSphere Business Integration Connect. Author: Ronan Dalton

Basic Exchange Setup Guide

IRF2000 IWL3000 SRC1000 Application Note - Develop your own Apps with OSGi - getting started

Deploying Physical Solutions to InfoSphere Master Data Management Server Advanced Edition v11

How To Sync Quickbooks With Qvinci.Com On A Pc Or Macbook Or Mac Book (For A Webbook) With A Flashbook (For An Ubuntu Account) With An Ipo (For Macbook) On A Mac

Installing and Trouble-Shooting SmartSystems

Worry-Free TM Remote Manager

Using Debug Commands

Upgrade Guide BES12. Version 12.1

CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities

Securing Windows Remote Desktop with CopSSH

FileMaker Server 11. FileMaker Server Help

Installation Guide. IDA Indoor Climate and Energy. EQUA Simulation AB January Copyright 2014 EQUA Simulation AB.

QuickDNS 4.6 Installation Instructions

Wakanda Studio Features

Release Date May 10, Adeptia Inc. 443 North Clark Ave, Suite 350 Chicago, IL 60654, USA

Deploying Intellicus Portal on IBM WebSphere

753 Broad Street Phone: Suite 200 Fax: Augusta, GA Copyrights

TIBCO Hawk SNMP Adapter Installation

FaxCore 2007 Database Migration Guide :: Microsoft SQL 2008 Edition

System Area Manager. Remote Management

High Availability for Internet Information Server Using Double-Take 4.x

2010 Ing. Punzenberger COPA-DATA GmbH. All rights reserved.

VMware Software Manager - Download Service User's Guide

2X ApplicationServer & LoadBalancer Manual

Basic Exchange Setup Guide

Click Studios. Passwordstate. Password Discovery, Reset and Validation. Requirements

WebSphere Application Server V6: Diagnostic Data. It includes information about the following: JVM logs (SystemOut and SystemErr)


Outcall User Manual Bicom Systems

Setting Up the Site Licenses

AXIOM 4 AXIOM SERVER GUIDE

Configuring Situation Events in Action Manager for WebSphere Business Monitor Version 6.0

Workshop for WebLogic introduces new tools in support of Java EE 5.0 standards. The support for Java EE5 includes the following technologies:

FileMaker Server 14. FileMaker Server Help

EventTracker: Configuring DLA Extension for AWStats Report AWStats Reports

Darstellung Unterschied ZyNOS Firmware Version 4.02 => 4.03

How To Set Up A Backupassist For An Raspberry Netbook With A Data Host On A Nsync Server On A Usb 2 (Qnap) On A Netbook (Qnet) On An Usb 2 On A Cdnap (

System Administration Training Guide. S100 Installation and Site Management

If you prefer to use your own SSH client, configure NG Admin with the path to the executable:

Enterprise Content Management System Monitor. How to deploy the JMX monitor application in WebSphere ND clustered environments. Revision 1.

HelpSystems Web Server User Guide

Cloud Server powered by Mac OS X. Getting Started Guide. Cloud Server. powered by Mac OS X. AKJZNAzsqknsxxkjnsjx Getting Started Guide Page 1

DS License Server. Installation and Configuration Guide. 3DEXPERIENCE R2016x

Dell KACE K1000 System Management Appliance Version 5.4. Service Desk Administrator Guide

How to simulate network devices using the Verax SNMP Simulator (Linux/Windows)

Remote Access to Unix Machines

How to deploy console cable to connect WIAS-3200N and PC, to reset setting or check status via console

Transcription:

Enterprise Content Management System Monitor Server Debugging Guide 20.09.2013 CENIT AG Bettighofer, Stefan

1 Table of Contents 1 Table of Contents... 2 2 Overview... 3 3 The Server Status View... 3 4 The Logfiles... 4 4.1 Location... 4 4.2 Logfile Description... 4 4.2.1 ECM SM Server Logs... 4 4.2.2 ECM SM GUI Logs... 5 4.3 Changing the default logfile parameters... 5 4.4 How to enable the OSGi Console after the initial Installation... 7 4.5 Log levels... 7 4.6 Changing the default log level for the ECM SM Server and GUI... 8 4.6.1 via file (service restart required)... 8 4.6.2 via OSGi Console... 9 4.7 Changing the bundle specific logging of the ECM SM Server and GUI... 11 4.7.1 via file (service restart required)... 11 4.7.2 via OSGi Console... 13 2

2 Overview This guide will give an overview on how to debug failures on the ECM SM Server. There are several ways how the health of the system can be checked or where failures are logged. 3 The Server Status View If the default layout of the Event Management Console is used the ECM SM Server Status View is displayed at the bottom left part of the Workspace. The status icon will show the health of the ECM SM Server and GUI. If a bundle of the ECM SM Server is not working, the status will change to a red X and the bundle that is not working is shown in the details view. In case the user has not opened the Event Management Console the ECM SM Server Status view will pop beneath the current activated view. Theses setting can be changed in the User Preferences Editor. 3

4 The Logfiles 4.1 Location All server related logfiles are located in the <install directory>\var\log. Windows e.g.: C:\Program Files(x86)\IBM\ECMSM\var\log Unix e.g.: /opt/ibm/ecmsm/var/log 4.2 Logfile Description 4.2.1 ECM SM Server Logs 4.2.1.1 Server.*.log This is the primary logfile for all server related log entries. Everything related to the event processing and internal server/client communication is logged into this file. The most recent logfile will have the 0 at the end of the name. 4.2.1.2 Server_serviceinst.log.YEAR-MONTH-DAY.log This logfile records all the startup and runtime messages of the ECM SM Server JVM. 4.2.1.3 Server.stdout.log This logfile shows all the messages that the ECM SM Server process would print out to standard out if it would be started on command line. 4.2.1.4 Server.stderr.log This logfile shows all the messages that the ECM SM Server process would print out to standard error if it would be started on command line. 4

4.2.2 ECM SM GUI Logs 4.2.2.1 Gui.*.log This is the primary logfile for all graphical user interface log entries. Everything related to user interactions in the ECM SM GUIs is logged into this file. The most recent logfile will have the 0 at the end of the name. 4.2.2.2 Gui_serviceinst.log.YEAR-MONTH-DAY.log This logfile records all the startup and runtime messages of the ECM SM GUI JVM. 4.2.2.3 Gui.stdout.log This logfile shows all the messages that the ECM SM GUI Process would print out on to standard out if it would be started on command line. 4.2.2.4 Gui.stderr.log This logfile shows all the messages that the ECM SM GUI Process would print out on to standard error if it would be started on command line. 4.3 Changing the default logfile parameters The default parameters for all logfiles are set in the logging.conf configuration file that is located in the <install directory>\server\cfg directory. e.g. Windows: C:\Program Files (x86)\ibm\ecmsm\server\cfg e.g. Unix: /opt/ibm/ecmsm/server/cfg 5

DO NOT CHANGE ANY PARAMETER SHOWN IN THE RED AREA By default the logfiles grow until they reach 10 MB, then a new logfile will be created. If five logfiles are created, the oldest one (for example server.5.log) will be deleted. If the logfiles should reach 15 MB and 10 logfiles should be kept the settings would look like this. Note: A restart of the services is required 6

4.4 How to enable the OSGi Console after the initial Installation If the OSGi ssh based console was not enabled during the initial installation, the config.ini file of component has to be adjusted For the ECM SM Server edit: $INSTALL_ROOT\server\cfg\config.ini For the ECM SM GUI edit: $INSTALL_ROOT\gui\cfg\config.ini At the bottom of these two files, we have to change/\add the following parameters If these parameters are used, the SSH OSGi console binds itself to the port 23960 and is only available from the ECM Server Machine itself. If it is necessary to connect remotely to the OSGi console, insert the IP Address or the FQDN instead of 127.0.0.1. The default Port for the OSGi console of the ECM SM Server is 23960, the default port for the OSGi console of the ECM SM GUI is 23980. IMPORTANT: To avoid an accidental termination of the affected JVM, always close the OSGi console with the disconnect command. 4.5 Log levels The default log level of the ECM SM Server and GUI is ERROR. In case of a troubleshooting it s often required to change this log level. Valid log levels are: ERROR: this log entry indicates the bundle or service may not be functional 7

WARNING: this log entry indicates a bundle or service is still functioning but may experience problems in the future because of the warning condition INFO: this log entry may be the result of any change in the bundle or service and does not indicate a problem DEBUG: this log entry is used for problem determination and may be irrelevant to anyone but the bundle developer 4.6 Changing the default log level for the ECM SM Server and GUI ECM SM offers two different ways to change the default log level. 4.6.1 via file (service restart required) Open the file finca-cfg.xml located in the <install directory>\server\cfg directory. Windows e.g.: C:\Program Files (x86)\ibm\ecmsm\server\cfg\finca-cfg.xml Unix e.g.: /opt/ibm/ecmsm/server/cfg/finca-cfg.xml 8

Navigate to the <functional.logserver> section of the file. Change the value of the default log level to the desired severity. Restart the ECM SM Server or GUI service. Note: This method changes the default log level for both components of the ECM SM. 4.6.2 via OSGi Console Open a SSH connection to the port specified in chapter 4.3 of this document. For this example, we will use putty as SSH client. 9

Log in with the internal admin user. Use the command setdefaultloglevel to change the default log level of the connected ECM SM component (compared to the file method described in chapter 4.5.1) 10

Note: no restart required 4.7 Changing the bundle specific logging of the ECM SM Server and GUI Changing the default log level often causes a high amount of log entries and a rapid growth of the logfile size, it is helpful for situations where the source of the problem is unknown. For more experienced users or if the IBM support identified the affected bundle, it is recommended to increase the log level for the individual bundle only. Like for the default log level ECM SM offers two options for changing the bundle specific log level. 4.7.1 via file (service restart required) Open the file finca-cfg.xml located in the <install directory>\server\cfg directory. Windows e.g.: C:\Program Files (x86)\ibm\ecmsm\server\cfg\finca-cfg.xml Unix e.g.: /opt/ibm/ecmsm/server/cfg/finca-cfg.xml 11

Navigate to the <functional.logserver> section of the file. In this example, the debugging level for both SMTP related bundles will be changed. If there is any problem with the email notification, this would be the first approach to identify the cause. The best ways to edit the file is simply copy and paste the example line called <bundle name="finca.base" level="error" />. Change the bundle names (finca.base) to the ones that need to be debugged and set the log level to DEBUG. 12

Restart the ECM SM Server or GUI 4.7.2 via OSGi Console Open a SSH connection to the port specified in chapter 4.3 of this document. For this example we will use putty as SSH client. 13

Log in with the internal admin user. With the ss command (show status) all bundles will be shown in the OSGi console. It is possible to limit the output of the ss command by adding parts of the bundle names that has to be changed. In this example, there is a problem with the email notification. The bundles we have to change might have the word smtp in its name. 14

The setloglevel <log level> <bundleid> command will change the bundle specific logging to the chosen log level. Note: No restart is required, the changed log level is activated instantly. 15