kbmmw and Windows Performance Monitor



Similar documents
Load balancing and failover For kbmmw v ProPlus and Enterprise Editions

Exchange 2013 mailbox setup guide

Installation of IR under Windows Server 2008

Professional Mailbox Software Setup Guide

Professional Mailbox Software Setup Guide

How to install and use the File Sharing Outlook Plugin

RAID Utility User Guide. Instructions for setting up RAID volumes on a computer with a Mac Pro RAID Card or Xserve RAID Card

Installing Autodesk Vault Server 2012 on Small Business Server 2008

Active Directory Integration for Greentree

Single Sign On via Qlikview IIS Server

ODBC Driver Guide. Installation and Configuration. Freezerworks Unlimited Version 6.0

EZManage V4.0 Release Notes. Document revision 1.08 ( )

HP LeftHand SAN Solutions

DOCOsoft SharePoint Components

Auditing manual. Archive Manager. Publication Date: November, 2015

4D v1x ODBC Driver INSTALLATION GUIDE

Installing S500 Power Monitor Software and LabVIEW Run-time Engine

Using IIS and UltraDev Locally page 1

The web server administrator needs to set certain properties to insure that logging is activated.

DVBLink For IPTV. Installation and configuration manual

WHITE PAPER. Best Practices for Configuring PATROL for Microsoft Exchange Servers

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

BestSync Tutorial. Synchronize with a FTP Server. This tutorial demonstrates how to setup a task to synchronize with a folder in FTP server.

REMOTE DESKTOP SETUP INSTRUCTIONS

LAB: Enterprise Single Sign-On Services. Last Saved: 7/17/ :48:00 PM

REBRANDING THE KBMMW REMOTE DESKTOP PAGE 1/4

Remote Administration

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

Windows XP Exchange Client Installation Instructions

How to connect to the diamonds wireless network with Vista.

DataFlex Connectivity Kit For ODBC User's Guide. Version 2.2

SARANGSoft WinBackup Business v2.5 Client Installation Guide

TIBCO Spotfire Metrics Modeler User s Guide. Software Release 6.0 November 2013

Case Closed Installation and Setup

User Manual. Version connmove GmbH Version: Seite 1 von 33

Firewall Load Balancing

Administrator s Guide

educ Office Remove & create new Outlook profile

Configuring FTP Availability Monitoring With Sentry-go Quick & Plus! monitors

RAID Utility User s Guide Instructions for setting up RAID volumes on a computer with a MacPro RAID Card or Xserve RAID Card.

SQL Server Automated Administration

Plug-In for Informatica Guide

Section 1 Using the Support Center

You must have at least Editor access to your own mail database to run archiving.

Live Maps. for System Center Operations Manager 2007 R2 v Installation Guide

DiskBoss. File & Disk Manager. Version 2.0. Dec Flexense Ltd. info@flexense.com. File Integrity Monitor

QuadraMed Enterprise Scheduling Combined Service Installation Guide. Version 11.0

BUILDER 3.0 Installation Guide with Microsoft SQL Server 2005 Express Edition January 2008

Changing Passwords in Cisco Unity 8.x

Windows 7 Hula POS Server Installation Guide

GlobalSCAPE DMZ Gateway, v1. User Guide

HOW TO SILENTLY INSTALL CLOUD LINK REMOTELY WITHOUT SUPERVISION

SourceAnywhere Service Configurator can be launched from Start -> All Programs -> Dynamsoft SourceAnywhere Server.

You can find the installer for the +Cloud Application on your SanDisk flash drive.

Secret Server Installation Windows 8 / 8.1 and Windows Server 2012 / R2

CELLTRAQ Battery Monitoring Software

Windows Offline Files

HGC SUPERHUB HOSTED EXCHANGE

Bulk Downloader. Call Recording: Bulk Downloader

HP LeftHand SAN Solutions

The safer, easier way to help you pass any IT exams. Exam : 9L OS X Server Essentials 10.8 Exam. Title : Version : Demo 1 / 6

Outlook Web App (Online)... 3 Outlook 2013 (Desktop) Apple Mail Mobile Devices Android iphone... 40

Quote to Cloud Connecting QuoteWerks and Xero

1 of 10 1/31/2014 4:08 PM

NovaBACKUP Storage Server User Manual NovaStor / April 2013

SAS 9.3 Foundation for Microsoft Windows

DVBLink TVSource. Installation and configuration manual

ReadyTalk for Salesforce User Guide

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

Practice Fusion API Client Installation Guide for Windows

1. Application Overview System Requirements Installation Splash Screen Registration Screen...

Training Guide: Customers CRM. Version 001. Training Prerequisite: Basic System Knowledge

12 NETWORK MANAGEMENT

How to Remotely View Security Cameras Using the Internet

MS SQL Express installation and usage with PHMI projects

Strategic Asset Tracking System User Guide

Printer Connection Manager

WebSphere Performance Monitoring & Tuning For Webtop Version 5.3 on WebSphere 5.1.x

Installation and configuration of Real-Time Monitoring Tool (RTMT)

client configuration guide. Business

Deploying Microsoft Operations Manager with the BIG-IP system and icontrol

Export Server Object Extension and Export Task Install guide. (V1.1) Author: Domenico Ciavarella ( )

SNMPc Release 7.0 Disaster Recovery Support. Castle Rock Computing March, 2004

How to configure the DBxtra Report Web Service on IIS (Internet Information Server)

NODE4 SERVICE DESK SYSTEM

OfficeSuite CRM Connector Quick Start-Up Guide Version 1.0 May 2013

Security Development Tool for Microsoft Dynamics AX 2012 WHITEPAPER

How to Configure Outlook Client for Exchange

How to Add a Server/Disksafe/Volume

USER GUIDE WEB-BASED SYSTEM CONTROL APPLICATION. August 2014 Phone: Publication: , Rev. C

ProCAP Transfer with Omneon Interface

USER GUIDE SHORETEL NETSUITE CLIENT. ShoreTel Professional Services

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

NovaBACKUP. Storage Server. NovaStor / May 2011

Using Intel C++ Compiler in Eclipse* for Embedded Linux* targets

Instructions for Configuring Your Browser Settings and Online Security FAQ s. ios8 Settings for iphone and ipad app

DBMoto 6.5 Setup Guide for SQL Server Transactional Replications

Sophos SafeGuard Native Device Encryption for Mac quick startup guide. Product version: 7

Administrator s Guide

Transcription:

kbmmw and Windows Performance Monitor kbmmw Enterprise Edition contains support for being monitored using Windows Performance Monitor (WPM). WPM offers facilities to keep track of the wellbeing of applications who are compatible with it, and the option to automatically trigger an external program, sending an email etc. when some threshold has been reached. Active monitoring combined with the failover and load-balancing facilities described in another whitepaper will, correctly applied, provide any company with a server side setup with 100% uptime. A simplified overview of how kbmmw application servers and WPM interacts is given in the following diagram. kbmmw application kbmmw server application kbmmw server application server Windows Performance Monitor kbmmw WPM DLL As can be seen, a special kbmmw WPM DLL is used as an intermediate between kbmmw app. servers and WPM. In the following sections, it will be described how to WPM enable kbmmw application servers, how to make the DLL and install it and how to use WPM to monitor. 1

Adding WPM support to a kbmmw application server In the kbmmw Server component tab, you will find a couple of statistical components, one named TkbmMWLocalStat and another named TkbmMWWinPerfMonStats. Add the TkbmMWWinPerfMonStats to the mainform/datamodule on which TkbmMWServer resides. 2

Set the property Statistics on the TkbmMWServer component to point on the performance statistics component. Also remember to set the UniqueIdentifier property to something unique. It s the name/value that this server is identifier. You can set this at runtime too, before setting the TkbmMWServer component active. Now the application server application supports WPM for server, services and all the transports that are on the same form/module as the TkbmMWServer itself. If you would also like to prepare WPM for connection pools, remember to set the connection pools Statistics property too. 3

Next step is to configure the properties of the TkbmMWWinPerfMonStats component. If Enabled is set to false, statistics collection is disabled completely. Groups should be set to the type of statistics that will be collected. Although statistics collection is relatively fast, it is an overhead. On very busy systems you have the option to only enable collection of selected types of statistics. That is all you need to do in your application server, so now compile it. 4

Building the kbmmw WPM DLL and registration helper You may not need to build the DLL, as kbmmw distributions may include it. However its source is fully bundled with kbmmw Enterprise Edition, and the following are the steps to build it. 1) Open the kbmmwwinperfmon.dpr project in Delphi. 2) Compile Similarly kbmmw Enterprise Edition bundles a WPM DLL registering helper application which we may also need to build (if not bundled with the kbmmw installation). 1) Open the kbmmwwinperfmonregistration.dpr project in Delphi. 2) Compile Isn t that easy? You now have a dll named kbmmwwinperfmon.dll and an executable named kbmmwwinperfmonregistration.exe somewhere in the kbmmw source directory. Registering the kbmmw WPM DLL You can copy the dll to any directory you like, just make sure that the registration helper is copied to the same directory. To register the dll with WPM, open a DOS prompt and type: kbmmwwinperfmonregistration <server unique identifier> /register To unregister the dll (in case you need to provide a new version of it) type: kbmmwwinperfmonregistration <server unique identifier> /unregister The server unique identifier is the name that has been given in the TkbmMWServer.UniqueIdentifier property at the time the server is activated. A confirmation of success should be the result of these commands. 5

Using WPM Now start your application server, and let a client access its services. The performance counters are not available in WPM until they have been triggered first time by a call from a client. Then open Windows Performance Monitor (Start/Control panel/administrative tools/performance). 6

In the bottom pane, right click and select Add counters in the popup menu. Locate your application server in the Performance object combobox. Notice that its entry is named kbmmw followed by the UniqueIdentifier value of your server. This way you can monitor multiple application servers within the same WPM monitor. 7

The following is a bit different to standard WPM way of operation, but is due to fact that kbmmw allow for the developer dynamically adding previously undefined statistical measurement points for own custom statistics. WPM actually doesn t support that. However as we are now going to explain, we found a way around that limitation. In the Counters list you will always only see 4 different counters when you have selected a kbmmw application server: Count, Per sec, Turnaround(%) and Value. The instances section is where we select the measurement point that you want to watch. The selection of Counter must match the selection of the Instance section. That means that if you select KBMMW_INVENTORY.Recvsize, which is a value showing the amount of bytes the application server have received for the inventory service, you must select the Counter to be Value. If there is a mismatch, the reading will always be 0. In the next table a list cross reference of which Instances match which Counter types is shown. When the correct pair (Instance and Counter) has been selected, click Add. More measurements can be added if needed. Otherwise close the dialog. 8

The following tables show which measurement points are built into kbmmw and default available. Application server level measurement points: Instance Counter Description Server Recvsize Value Provides live info about number of bytes received by server. Server Sendsize Value Provides live info about number of bytes sent as a response from server. Server Response Turnaround(%) Provides live info about how big percentage of a sec. it took from a request came in to a response was sent back. Server Recvsize bytes per Per sec Provides live info about how many bytes are sec Server Sendsize bytes per sec Per sec received per sec. by server. Provides live info about how many bytes are sent per sec. by server. Service level measurement points: Instance Counter Description xxx Recvsize Value Provides live info about number of bytes received by a service. xxx Sendsize Value Provides live info about number of bytes sent as a response from a service. xxx Response Turnaround(%) Provides live info about how big percentage of a sec. it took from a request came in to the service to a response was generated. xxx Recvsize bytes per sec Per sec Provides live info about how many bytes are received per sec. by a service. xxx Sendsize bytes per sec Per sec Provides live info about how many bytes are sent per sec. by a service. xxx is the combined registered name and version of the service. 9

Connection pool measurement points: Instance Counter Description xxx Connections Count Current number of connections open towards the backend database. xxx Locks Count Current number of outstanding requests for the backend database. xxx Locks per sec Per sec Number of new outstanding requests for the backend database, per sec. xxx Tx Count Current number of transactions started towards the backend database. xxx Tx per sec Per sec Number of new transactions started towards the backend database, per sec. xxx is the component name of the connection pool. Dataset caching measurement points: Instance Counter Description xxx Cache hits Count Total accumulated number of result set and metadata cache hits via this connection pool. xxx Cache hits per sec Per sec Number of cache result set and metadata cache hits per sec. xxx Cache misses Count Total accumulated number of result set and metadata cache misses via this connection pool. xxx Cache misses per sec Per sec Number of cache result set and metadata cache misses per sec. xxx is the component name of the transport. 10

Transport level measurement points: Instance Counter Description xxx Connections Count Current number of clients connected to the transport. xxx Connections per sec Per sec Number of new client connections towards this transport per sec. xxx Requests Count Total accumulated number of packets/requests coming in thru this transport since startup. xxx Requests per sec Per sec Number of packets/requests per second coming in thru this transport. xxx is the component name of the transport. 11

Custom measurements kbmmw supports that you can add application specific statistical measurement points which also will show up via WPM. For this purpose, the kbmmw stats components have 2 methods: procedure AddCounter(const GroupType:TkbmMWStatGroupType; const CounterName:string; const CounterType:TkbmMWStatCounterType; const BufSize:integer); and procedure AddPoint(const GroupType:TkbmMWStatGroupType; const CounterName:string; const User,Info:string; const Value:double; const Base:double); AddCounter is used to prepare a new counter/measurement identified by the CounterName. GroupType controls what statistical group this counter belongs to. If the statistics component s Groups property do not include this group, AddCounter simply do nothing. CounterName is the unique identifier for the counter/measurement. If a counter with the same name already exists, AddCounter exits quietly. CounterType is one of mwscturnaround, mwsccount, mwscvalue, mwsccountprsec or mwscvalueprsec and controls how the measurement is used later on. BufSize is a parameter that controls how many log entries (points with detailed info) that are supposed to be kept for this counter. Windows Performance Monitor do not support this, and thus BufSize is ignored. Usually keep below 100. After AddCounter has been called, the counter will be available to watch in WPM. 12

AddPoint is a method that is used for incrementing/decrementing a specific counter by a certain value. GroupType controls what statistical group this counter belongs to. If the statistics component s Groups property do not include this group, AddPoint simply do nothing. CounterName is the name of an existing counter created by AddCounter. User is an optional string identifying the user who are the reason for this measurement point being triggered. Not used by WPM. Info is an optional string identifying any additional information that is interesting regarding the measurement point. Not used by WPM. Value is the value you want to add or subtract to/from the counter. Use negative values for subtracting. If the counter is of type mwscturnaround, then Value should be the difference of two TDateTime values. Base determines the base for the measurement. It should normally always be one, except if the counter type is mwscvalueprsec, in which case the Base value should contain a TDateTime delta value over how long time the measurement was made. Default there is a maximum of 200 counters for each application server. If more are needed, open kbmmwwinperfmonmodule.pas, locate the constant KBMMW_PERFMON_MAX_MONITORED_GROUPS_PER_SERVER and alter its value as needed. Then un-register, recompile and register the WPM DLL and build the kbmmw runtime packages. Happy monitoring Best regards Kim Madsen Components4Developers 13