SQLDM Quick Start Guide
SQLDM Quick Start Guide
Idera a division of BBS Technologies, Inc. IntelliCompress, DTx, SQLcheck, SQLconfig, SQL compliance manager, SQLcompliance, SQL defrag manager, SQL diagnostic manager, SQLdm, SQL mobile manager, SQLpermissions, SQLsafe, SQLsafe Freeware Edition, SQLscaler, SQLschedule, SQLsecure, SQLsmarts, SQLstats, SQLtool, Idera, BBS Technologies and the Idera logo are trademarks or registered trademarks of BBS Technologies, Inc., or its subsidiaries in the United States and other jurisdictions. All other company and SQLdms may be trademarks or registered trademarks of their respective companies. 2007 BBS Technologies, Inc., all rights reserved. THIS DOCUMENT AND THE SOFTWARE DESCRIBED IN THIS DOCUMENT ARE FURNISHED UNDER AND ARE SUBJECT TO THE TERMS OF A LICENSE AGREEMENT. EXCEPT AS EXPRESSLY SET FORTH IN SUCH LICENSE AGREEMENT, BBS TECHNOLOGIES, INC., PROVIDES THIS DOCUMENT AND THE SOFTWARE DESCRIBED IN THIS DOCUMENT AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SOME STATES DO NOT ALLOW DISCLAIMERS OF EXPRESS OR IMPLIED WARRANTIES IN CERTAIN TRANSACTIONS; THEREFORE, THIS STATEMENT MAY NOT APPLY TO YOU. YOU ARE ENCOURAGED TO READ THE LICENSE AGREEMENT BEFORE INSTALLING OR USING THIS DOCUMENTATION OR SOFTWARE. Some companies, names, and data in this document are used for illustration purposes and may not represent real companies, individuals, or data. This document could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein. These changes may be incorporated in new editions of this document. BBS Technologies, Inc., may make improvements in or changes to the software described in this document at any time. 2003-2007 BBS Technologies, Inc., all rights reserved. U.S. Government Restricted Rights: The software and the documentation are commercial computer software and documentation developed at private expense. Use, duplication, or disclosure by the Government is subject to the terms of the BBS Technologies, Inc., standard commercial license for the software, and where applicable, the restrictions set forth in the Rights in Technical Data and Computer Software clauses and any successor rules or regulations.
About Idera
At Idera, we have engineered a new generation of tools for managing and administering the worlds fastest growing database management system Microsoft SQL Server. Headquartered in Houston, Texas, Idera boasts numerous systems and database management industry veterans devoted to bringing proven solutions to you, the database professional. We provide products that install in minutes, configure in hours and deploy worldwide in days to dramatically increase the performance, availability and efficiency of SQL Server operations, and the productivity of database administrators.
Idera Products
Our about are engineered to scale from managing a single server to enterprise deployments with thousands of servers. Idera products combine ease of use with a design to install in minutes, configure in hours, and deploy worldwide in days. To learn more about Idera products, visit www.idera.com/products.
Contacting Idera
Please contact us with your questions and comments. We look forward to hearing from you. For support around the world, please contact us or your local partner. For a complete list of our partners, please see our Website. Sales 713.523.4433 1.877.GO.IDERA (464.3372) (only in the United States and Canada) [email protected] 713.533.5144 1.877.GO.IDERA (464.3372) (only in the United States and Canada) www.idera.com/support [email protected] www.idera.com
Contents
Welcome to SQL diagnostic manager...................................... 3 SQLdm Architecture ................................................................. 4 Deployment Scenarios.............................................................. 4 SQLdm Components ................................................................ 5 Authentication in SQLdm ......................................................... 5 General Requirements .............................................................. 6 Trial Requirements.................................................................... 6 Production Requirements ......................................................... 6 Trial Install................................................................................. 7 Add a SQL Server Instance to Monitor..................................... 9 Use SQLdm to Resolve Specific Issues ................................... 10 Detect Potential SQL Server Problems................................... 12 Diagnose SQL Server Problems.............................................. 13 Improve Database Performance ............................................. 14 Use Reports to Track Performance......................................... 15
With clear, easy-to-understand charts and reports, you can track standard SQL Server performance metrics, trend historical performance data over time, and proactively identify potential performance problems.
S QL
mana ge r
Qu ick
Sta rt
SQLdm Architecture
SQLdm has a 3-tier system that includes a centralized database for historical data collection and reporting. You can install multiple SQLdm Consoles to communicate with the SQLdm Collection and Management Services and the central Repository. The following diagram displays the interaction between each SQLdm component.
Deployment Scenarios
Before you begin installing SQLdm, it is important to consider your deployment choices. The following deployment strategies are recommended.
Trial Deployment
A trial deployment installs all SQLdm components on the same computer. A trial deployment can monitor SQL Server instances anywhere on your network. This document assumes that you performing a trial deployment.
Production Deployment
A production deployment installs each SQLdm component on a separate, dedicated computer. This deployment ensures stable performance and availability as your environment grows and your monitoring needs change.
SQL
diagnostic
manager
Quick
Start
SQLdm Components
SQLdm consists of a light, unobtrusive architecture that easily runs in your SQL Server environment with minimal configuration. All SQLdm components run outside and separate from SQL Server processes.
Authentication in SQLdm
SQLdm uses the same types of authentication available in the SQL Server security model. When specifying account credentials for the SQLdm services, you can use Windows Authentication or SQL Server Authentication. When considering which authentication to use, keep in mind that SQL Server Authentication is required when no domain trust exists between the SQLdm Services computer and the computers hosting the monitored SQL Server instances. For example, if the monitored SQL Server instances are located in an untrusted domain or behind a firewall, you must use SQL Server Authentication to successfully deploy SQLdm. In this case, you must use the sa account or a SQL Server login that has System Administrator permissions. For more information about these authentication types and the SQL Server security model, see the Microsoft SQL Server Books Online.
SQLdm Console
Use the SQLdm Console to: View real-time status Configure alert notifications on specific metric thresholds at the server and database levels View historical reports and manage your To Do list Perform administrative functions
The SQLdm Console retrieves historical information directly from the SQLdm Repository. All real-time requests use the SQLdm services to poll the monitored SQL Server.
SQLdm Services
SQLdm has two centralized services, the Management Service and the Collection Service. These two services reside on the same computer. The Management Service performs the following primary functions: Provides real-time data to the SQLdm Console Receives historical data from the Collection Service for storage in the Repository Raises alerts and sends alert notifications
The Collection Service performs on-demand and scheduled collection from the monitored SQL Servers.
SQLdm Repository
The SQLdm Repository is a centralized SQL Server database that stores collected metrics on a scheduled basis, historical data, and alerts information. The SQLdm Repository also stores configuration information, such as the credentials used to monitor a registered SQL Server instance.
S QL
mana ge r
Qu ick
Sta rt
General Requirements
The following requirements apply for all SQLdm components. Type CPU Memory 32-bit Operating System Requirement 2.0 GHz or higher 1 GB Windows 2000 SP4 or later Windows Server 2003 SP2 or later Windows XP SP2 or later Windows Vista Business and Enterprise (SQLdm Repository does not support Vista) .Net 2.0 and MDAC 2.8 Windows Server 2003 SP1 (X64) Windows Server 2003 SP1 (Itanium 2) Windows XP Professional X64 .Net 2.0 and MDAC 2.8 5166, 5167
Production Requirements
Consider the following requirements when installing SQLdm in an environment where the product components can reside on separate computers.
SQLdm Console
Type Disk Space SQL Server Permissions Requirement 40 MB Your Windows logon account has Read access to the SQLdm Repository. You can specify a SQL Server login instead.
SQLdm Services
Type Disk Space Collection Service Permissions Management Service Permissions Requirement 50 MB System Administrator privileges on the monitored SQL Server instances Read and Write privileges on the SQLdm Repository database
Port Access
Trial Requirements
Consider the following requirements when installing all SQLdm components on one computer. Type SQL Server Standard or Enterprise Edition Hard Disk Space Windows Permissions SQL Server Privileges Requirement SQL Server 2000 SP4 or later SQL Server 2005 SP1 or later 200 MB for all SQLdm components Your Windows Logon account has local Administrator permissions Either a Windows user account or SQL Server login that has System Administrator privileges on the monitored SQL Server instance
SQLdm Repository
Type Disk Space SQL Server Standard or Enterprise Edition Requirement 1GB to 3GB for one year of data per monitored SQL Server instance SQL Server 2000 SP4 or later SQL Server 2005 SP1 or later
SQL
diagnostic
manager
Quick
Start
Trial Install
This procedure guides you through a trial install of SQLdm. A trial install sets up all SQLdm components on the same computer. Use this procedure for first time installs and evaluation installs.
Where do you want to install SQLdm and who will use the product on this computer?
You can use the default install location or specify a different path. For your first install, we recommend using the default location. Choose whether you want any user or only the current user to access this application, and then click Next.
S QL
mana ge r
Qu ick
Sta rt
Which SQL Server instance do you want to use for the Repository databases?
The SQLdm Repository is where the collected data, alert information, and alert configuration settings are stored. To specify the SQL Server instance to install the SQLdm Repository on: 1. Click Browse. 2. Select the SQL Server instance you want to use. The SQL Server window lists SQL Server instances provided by your domain controller. If you do not see your SQL Server instance in the list, enter the host name and instance in the space provided. 3. If your SQL Server environment uses SQL Server Authentication, select the checkbox and click Change to enter SQL Server credentials. By default, SQLdm uses your Windows credentials when connecting to the Repository. 4. Click Next.
Which Windows user account do you want to use for the service account?
SQLdm uses the service account to communicate between the SQL Server instance and the SQLdm Repository. To specify a service account: 1. Enter credentials and passwords in the appropriate fields. 2. Click Next. SQLdm will verify the connection before continuing.
SQL
diagnostic
manager
Quick
Start
Click Finish to add your SQL Server instance to SQLdm for monitoring.
S QL
mana ge r
Qu ick
Sta rt
10
SQL
diagnostic
manager
Quick
Start
S QL
mana ge r
Qu ick
Sta rt
1 1
The Server Summary view contains a graphical representation of the activity on your SQL Server instance. The Server Summary view is structured to not only display the status of your SQL Server instance, but allows you to diagnose where problems originate. The Server Overview allows you to: Monitored Blocked and Blocking Sessions Capture Long Running Queries Diagnose Resource Bottlenecks
To open the Server Summary view, select a monitored SQL Server instance from the Servers Tree.
12
SQL
diagnostic
manager
Quick
Start
S QL
mana ge r
Qu ick
Sta rt
1 3
14
SQL
diagnostic
manager
Quick
Start
S QL
mana ge r
Qu ick
Sta rt
1 5