SQLH2 The Free Health, History and Performance Monitoring Tool

Kathi Kellenberger Bryan Cave LLP Sponsored by SQLServerCentral.com

You know you’re spending too much time at the computer when…
•You wake up at 4 A.M. to go to the bathroom and stop to check your email on the way back to bed. •You decide to stay in college for an additional year or two, just for the free Internet access. •You find yourself typing "com" after every period when using a word processor.com •You can't correspond with your mother because she doesn't have a computer. •You don't know the gender of your three closest friends because they have nondescript screen names and you never bothered to ask. Borrowed from Steve Jones, SQLServerCentral.com

 What

can SQLH2 do for you?  Requirements  Download and installation  Configuration  Scheduling  Reports  Resources

What can SQLH2 do for you?
 Records
– – – –

configuration and changes on server.

Hardware OS Installed Products Updates

 Outages

and Events  OS and SQL  SQL Server
– Settings – Database growth – More details with SQL 2005

What can SQLH2 do for you?
 Record

performance counters

– SQL Server – Server without SQL Server installed

 Monitor

multiple servers  Pulls data – no agents to install  Pre-defined reports  Very low impact < 1% CPU

What it doesn’t do
 Not

real time  No alerts  Can’t monitor SQL 7 or SQL 6.*  Doesn’t work with clusters

 Runs

from a server or workstation  SQL2000 or SQL2005  Internet Information Server  ASP.Net  Reporting Services  Domain account

Download and Installation
 Search

for “SQLH2” on www.microsoft.com.  Base collector: H2Setup.msi  Performance collector: H2PerfSetup.msi  Reports: ReportV2.cab

 Base


– Read the documentation before configuring – No spaces in install folder

 Performance


– Install on same or different server – If different server, must set up shares

 Reports
– Run a script – Create a data source

data source=<servername>;initial catalog=<databasename>
– Install (upload) reports

 Base


– Configure repository database – Servers to monitor – Define performance collectors  \\server\SQLH2\PerfCollectorData$ – Schedule  Wizard – Win 2003 only  Scheduled task  SQL Server Agent

 Performance


– Runs as a service – Manually edit configuration file  Servers  Counters  VerboseLogging  RetryIntervalSeconds  MaxFileSizeMB  CollectionIntervalSeconds

 Schedule

with “Wizard” if Windows 2003.  Create a scheduled job if Windows 2000.  MS recommends 2 X per week.  Performance Collector runs as a service.  Data imported from closed files only.  File is closed when services is restarted or file reaches a maximum size.

 Pre-defined

reports provided.  Create you own.

 Deployment

guides  www.microsoft.com -- Search for SQLH2  sqlh2@microsoft.com  SQLServerCentral.com  kjkellenberger@bryancave.com