Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Monitor DB2 for Linux, UNIX, and Windows databases with Data Studio Health Monitor

Dimple Bhatia (dimple@us.ibm.com), Advisory Software Engineer, IBM Silicon Valley Lab
Photo of author Dimple Bhatia
Dimple Bhatia is an Advisory Software Engineer at the IBM Silicon Valley Lab in San Jose, California. She is currently working on the Data Studio Health Monitor tool, and the common Web tooling infrastructure for all Web-based tools in the Optim umbrella. Before joining the InfoSphere Warehouse tooling team, she worked as the lead on the Federation Catalog, and on migration in WebSphere Federation Server. She holds a Master's degree in Computer Engineering from Syracuse University, New York.
Saphian S Kono (skono@us.ibm.com), QA Software Engineer, IBM
Photo of Saphian Kono
Saphian Kono joined IBM in 1998 as a developer and switched to become a QA engineer in 2005. He has worked as the QA lead for multiple projects including Data Studio Health Monitor. He has a B.S. Degree in Computer Science from the University of California, San Diego.
Pavitra Jalasutram (pjalasu@us.ibm.com), QA Software Engineer, IBM
Photo of Pavitra Jalasutram
Pavitra Jalasutram is a Software Engineer at IBM. She has been working on Quality Assurance testing for different Data Studio products including DSHM. She has a Master's degree in Software Engineering from San Jose State University.
Sriram Srinivasan (sriram@us.ibm.com), Senior Software Engineer, IBM
Photo of Sriram Srinivasan
Sriram Srinivasan is the web tooling infrastructure architect for the Optim/Data Studio products, at the IBM Silicon Valley Lab in San Jose, California. Before this he was the architect for Infosphere Warehouse tooling, and worked on various Informix and Red Brick products. He has an M.S. degree in Computer Science from the University of Cincinnati.

Summary:  This tutorial introduces the IBM® Data Studio Health Monitor tool for IBM DB2® for Linux®, UNIX®, and Windows® databases. It walks you through the steps for monitoring the health of your databases, drilling down into the alert details, and changing the out-of-the-box default thresholds. It also describes the advanced health monitoring features that are available in the Optim™ Performance Manager 4.1.0.1 release, and the seamless integration in the Data Studio and Optim Database Administrator offerings.

Date:  16 Dec 2010
Level:  Intermediate PDF:  A4 and Letter (1526 KB | 35 pages)Get Adobe® Reader®

Activity:  36220 views
Comments:  

First steps

Introduction

In October 2010, IBM extended its Data Studio offering with a new health monitor that allows you to monitor the health of your DB2 for Linux, UNIX, and Windows databases, and view alerts, application, utilities, and storage. Data Studio Health Monitor (DSHM) is a server process that you install separately. It includes a browser-based client, but you can seamlessly launch it from the Data Studio or Optim Database Administrator Eclipse client.

The health monitoring features are also available in Optim Performance Manager 4.1.0.1, and include more advanced functionality. See the Resources section for more information about Optim Performance Manager. This tutorial will take you on a tour of the free DSHM function.

DSHM can be downloaded from developerWorks at http://www.ibm.com/developerworks/downloads/im/data/.

Installation of Data Studio Health Monitor is quick and easy, and you do not have to install as a root user. No additional software needs to be installed on the machine where DSHM is installed, or on the machines where the monitored databases reside. See the Resources section for information on the installation and configuration process. You can also choose to skip any configuration steps marked "optional", until you are ready to take advantage of them.


Getting started

After you have installed Data Studio Health Monitor, you will find the scripts you need to start or stop the server in the installation /bin directory. The Config/ directory has some of the property files that are needed by the server, but you shouldn't have to manually update these files. The logs/ directory is where you will find the install logs, as well as logs created during the regular operation of the server.

Start the server. From Windows, you can start the server from the menu option under Programs->IBM Data Studio->Start Data Studio Health Monitor 2.2.1, or directly from Control Panel. From Linux/UNIX, you need to use the start.sh script from the DSHM installation /bin directory. You do not need to run the DSHM server as root. If your system administrator sets up an init.d script for DSHM to be automatically started on system startup, it is recommended that it still be started as the install user (from sudo), and not as root. If you decide to start this process as a user other than the one who installed it, just make sure you have permissions to read, write, and execute in the installation directory (including the Config and logs directories).

Connect to the DSHM server from a web browser with the Adobe FlashPlayer plug-in installed, using a URL with the following information: http://<hostwhereDSHMisinstalled>:<port>/datatools. The default port number for DSHM is 11080, but you can modify it at install time.

During the installation process, an administrator (usually 'admin', but you can change this) is created. The first time you log in, you will need to log in to the Web console as the administrator, using the password you provided during the installation. Figure 1 shows you the Welcome page after you log in.


Figure 1 - Data Studio Health Monitor web console on first login
The welcome page when first logging into Data Studio Health Monitor.

Identifying databases to monitor

From the Manage Database Connections page, as shown in Figure 2, you will identify the databases that you wish to monitor. You can enter the database information directly, or import a list of databases from comma-separated files. From the samples folder, use the DatabaseConnectionsImportCSV.txt file in the install directory as an example for imports.

Once a database is added, health monitoring is automatically enabled, and you are ready to monitor your databases!

Note that the credentials provided here are used only for periodic background monitoring of the database. Any interactive connections to the database require you to enter your credentials. For more information, see the Database Privileges section.


Figure 2 - The Manage Database Connections page
Description of the Manage Database Connections page.

1 of 10 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Information Management
ArticleID=600720
TutorialTitle=Monitor DB2 for Linux, UNIX, and Windows databases with Data Studio Health Monitor
publish-date=12162010
author1-email=dimple@us.ibm.com
author1-email-cc=
author2-email=skono@us.ibm.com
author2-email-cc=
author3-email=pjalasu@us.ibm.com
author3-email-cc=
author4-email=sriram@us.ibm.com
author4-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.