VMWARE VREALIZE OPERATIONS MANAGEMENT PACK FOR
Microsoft SQL Server
User Guide
TABLE OF CONTENTS
1. Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.  Introduction to the Management Pack. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.1  How the Management Pack Collects Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.2  Data the Management Pack Collects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.3  Inventory Tree (Traversal Spec). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3. Dashboards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.1  Microsoft SQL Server Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.2  Microsoft SQL Server Availability Group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.3  Microsoft SQL Server Availability Group Overview . . . . . . . . . . . . . . . . . . . . 7
3.4  Microsoft SQL Server Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.5  Microsoft SQL Server Environment Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.6  Microsoft SQL Server Info. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.7  Microsoft SQL Server Query Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.8  Microsoft SQL Server Top-N SQL Database Usage. . . . . . . . . . . . . . . . . 12
3.9  Microsoft SQL Server Top-N SQL Server Usage . . . . . . . . . . . . . . . . . . . . . 13
3.10  Microsoft SQL Server Virtualization Disk Overview . . . . . . . . . . . . . . . . 14
3.11  Microsoft SQL Server VM Relationship. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4. Views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5. Reports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6. Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7. Alerts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
8.  Analysis Badges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
9.  Troubleshooting the Management Pack. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
9.1  Troubleshooting an Adapter Instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
9.2  Testing Connection Failures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
9.3  Viewing System Log Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
10.  Appendix I: Metrics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
11.  Appendix II: Alerts, Symptoms, and Recommendations . . . . . . . . . . . . . . . . . 32
12.  Appendix III: Capacity Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
13.  Appendix IV: Revision Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
NOTE: This document supports the version of each product listed, as well as all subsequent
versions, until a new edition replaces it.
You can find the most up-to-date technical documentation on the Blue Medora support site at:
http://support.bluemedora.com
The Blue Medora website also provides the latest product updates. If you have comments about
this documentation, submit your feedback to: support@bluemedora.com.
2
vRealize Operations Management Pack for Microsoft SQL Server User Guide
1.  Purpose
The Blue Medora VMware vRealize Operations Management Pack for Microsoft SQL Server User Guide describes
the primary features of Blue Medora’s vRealize Operations Management Pack for Microsoft SQL Server, including
dashboards, views, metrics, and alerts that allow users to optimize the monitoring and management of their SQL
Server resources.
2.  Introduction to the Management Pack
The Management Pack for Microsoft SQL Server is an embedded adapter for VMware vRealize Operations. It
retrieves data from Microsoft SQL Server to monitor, manage, and collect key performance metrics regarding SQL
Server resources.
This section includes the following topics:
• How the Management Pack Collects Data
• Data the Management Pack Collects
• Inventory Tree (Traversal Spec)
2.1  How the Management Pack Collects Data
During each data collection cycle, the Management Pack queries the Microsoft SQL Server using JDBC to
obtain data regarding server resources.
The collection interval for the adapter instance resource determines how often the Management Pack collects
data. The default collection interval is five minutes, but can be modified within vROps, if desired.
The Management Pack supports either Autodiscovery or manual discovery of resources. When you enable
Autodiscovery for an adapter instance, the Management Pack creates resources in vRealize Operations and
collects data after the main collection query runs. If a new resource belongs to a resource kind that does not
exist in vRealize Operations, the Management Pack creates the resource kind.
2.2  Data the Management Pack Collects
The Management Pack for Microsoft SQL Server can collect performance, health, availability, and capacity data
for a Microsoft SQL Server and its related resources. The following resource kinds are recognized within the
Microsoft SQL Server Management Pack:
1. Microsoft SQL Server Adapter Instance
2. Microsoft SQL Server Always On Availability Group
3. Microsoft SQL Server Database
4. Microsoft SQL Server Instance
5. Microsoft SQL Server Query
6. Microsoft SQL Server Tag
3
vRealize Operations Management Pack for Microsoft SQL Server User Guide
2.3  Inventory Tree (Traversal Spec)
The Inventory Tree (Traversal Spec) feature within vROps allows you to easily navigate your Microsoft SQL
Server environment. The hierarchical structure implicitly shows relationships among resource kinds and enables
quick drill-downs to root-cause issues.
Figure 1: Example Traversal Spec
4
vRealize Operations Management Pack for Microsoft SQL Server User Guide
3.  Dashboards
Dashboards are the primary user interface that allow the user to monitor and troubleshoot Microsoft SQL Server
data problems in vRealize Operations.
The following dashboards are available in the Microsoft SQL Server Management Pack:
• Microsoft SQL Server Overview
• Microsoft SQL Server Availability Group
• Microsoft SQL Server Availability Group Overview
• Microsoft SQL Server Database
• Microsoft SQL Server Environment Overview
• Microsoft SQL Server Info
• Microsoft SQL Server Query Analysis
• Microsoft SQL Server Top-N SQL Database Usage
• Microsoft SQL Server Top-N SQL Server Usage
• Microsoft SQL Server Virtualization Disk Overview
• Microsoft SQL Server VM Relationship
3.1  Microsoft SQL Server Overview
This dashboard displays heatmaps for each resource kind in your Microsoft SQL Server environment. It enables
admins to view key performance metrics that help dictate the health of SQL Servers, Always On Availability
Groups, and Databases.
Figure 2: Microsoft SQL Server Overview Dashboard
5
vRealize Operations Management Pack for Microsoft SQL Server User Guide
3.2  Microsoft SQL Server Availability Group
This dashboard provides details about the Availability Group resources within your Microsoft SQL Server
environment. Select an Availability Group, related Databases, and Virtual Machine Hosts to view Health, Stress,
and Disk Performance metrics.
Figure 3: Microsoft SQL Server Availability Group Dashboard
6
vRealize Operations Management Pack for Microsoft SQL Server User Guide
3.3  Microsoft SQL Server Availability Group Overview
This dashboard provides an overview of your Availability Group resource objects through health-related
heatmaps.
Figure 4: Microsoft SQL Server Availability Group Overview Dashboard
7
vRealize Operations Management Pack for Microsoft SQL Server User Guide
3.4  Microsoft SQL Server Database
This dashboard provides details about your Microsoft SQL Server Database resources. Select a specific SQL
Server and related Databases to view Health, Status, Alerts, and Database Size Breakdown.
Figure 5: Microsoft SQL Server Database Dashboard
8
vRealize Operations Management Pack for Microsoft SQL Server User Guide
3.5  Microsoft SQL Server Environment Overview
This dashboard provides details about your Microsoft SQL Server environment. Select a Microsoft SQL Server
to quickly view Top Alerts, Key Performance Indicators, Disk Metrics, Server Health, and more.
Figure 6: Microsoft SQL Server Environment Overview Dashboard
9
vRealize Operations Management Pack for Microsoft SQL Server User Guide
3.6  Microsoft SQL Server Info
This dashboard provides details about each Microsoft SQL Server in your environment. Select a specific SQL
Server to view Platform Versions, Cluster Status, Alerts, and Health information.
Figure 7: Microsoft SQL Server Info Dashboard
10
vRealize Operations Management Pack for Microsoft SQL Server User Guide
3.7  Microsoft SQL Server Query Analysis
This dashboard provides details about Queries in your Microsoft SQL Server environment. Select a Server
Instance from the widget on the left to populate the related top slowest Queries on the right. Select one of the
Queries from the list to view its text and performance metrics.
Figure 8: Microsoft SQL Server Query Analysis Dashboard
11
vRealize Operations Management Pack for Microsoft SQL Server User Guide
3.8  Microsoft SQL Server Top-N SQL Database Usage
This dashboard displays the Top 5 Highest Utilization Databases in your Microsoft SQL Server environment
for metrics such as Highest Write Operations (per second), Highest Read Operations (per second), Most Disk
Reads, and Most Space Available.
Figure 9: Microsoft SQL Server Top-N SQL Database Usage Dashboard
12
vRealize Operations Management Pack for Microsoft SQL Server User Guide
3.9  Microsoft SQL Server Top-N SQL Server Usage
This dashboard displays the Top 5 Highest Utilization SQL Servers in your Microsoft SQL Server environment
for metrics such as Connections, Active Connections, Highest Lock Waits (per second), Highest Deadlocks (per
second), and Highest Average Query Execution (ms).
Figure 10: Microsoft SQL Server Top-N SQL Server Usage Dashboard
13
vRealize Operations Management Pack for Microsoft SQL Server User Guide
3.10  Microsoft SQL Server Virtualization Disk Overview
This dashboard provides an overview of your Microsoft SQL Server virtualized environment. Select a specific
SQL Server and related Virtual Machines and Datastores to view Stress, Health, and Disk Throughput metrics.
Figure 11: Microsoft SQL Server Virtualization Disk Overview Dashboard
14
vRealize Operations Management Pack for Microsoft SQL Server User Guide
3.11  Microsoft SQL Server VM Relationship
This dashboard provides details about Virtual Machines in your Microsoft SQL Server environment at-a-glance.
Select a specific SQL Server and related Virtual Host to view their relationships, alerts, health, and performance
metrics side-by-side.
Figure 12: Microsoft SQL Server VM Relationship Dashboard
15
vRealize Operations Management Pack for Microsoft SQL Server User Guide
4.  Views
The Management Pack for Microsoft SQL Server creates views that allow the user to view statistics of metrics
across an entire Microsoft SQL Server environment. The views help give a broad picture of the entire system, as
opposed to a more in depth view.
Table 1: Management Pack Views
VIEW
TYPE
DESCRIPTION
MS SQL Queries
List
Lists all metrics on SQL Query resources
MS SQL Query Text
Text
SQL Query Text used for Query Analysis dashboard
MS SQL Server Database Disk Access
List
Lists Microsoft SQL Server Disk Access Activity
MS SQL Server Database Locks
List
Lists Disk Delays for Microsoft SQL Server
Databases
MS SQL Server Database Overview
List
Lists performance and activity for Microsoft SQL
Server Databases
MS SQL Server Database Size
List
Lists space usage breakdowns for Microsoft SQL
Server Databases
MS SQL Server Disk Access
List
Lists Disk Activity information for Microsoft SQL
Servers
MS SQL Server Locks
List
Lists lock and wait time information for Microsoft
SQL Servers
MS SQL Server Memory Breakdown
List
Lists breakdown of Microsoft SQL Server Memory
MS SQL Server Overview
List
Provides overview list of Microsoft SQL Servers
MS SQL Server Size Distribution
Distribution
Provides distribution view of database sizes
MS SQL Server Stress
List
Lists stress breakdown of Microsoft SQL Servers
To access the Management Pack views, go to Environment > All Objects > Microsoft SQL Server Adapter and
double-click on the desired Object (resource). Select the Details tab, then Views. The available views for that
resource are listed and can be selected.
Figure 13: Accessing Management Pack Views
16
vRealize Operations Management Pack for Microsoft SQL Server User Guide
5.  Reports
The Management Pack for Microsoft SQL Server contains seven out-of-the-box reports, as listed below. Most
reports contain one or more of the views listed in section “4. Views”. These reports can be exported and easily
shared with key stakeholders in either .pdf or .csv formats.
Table 2: Microsoft SQL Server Management Pack Reports
REPORT
DESCRIPTION
MS SQL Query Analysis
Provides a breakdown of query executions, as well as unique
query plans and query text
MS SQL Server Database Size Distribution
Provides a size distribution breakdown of databases on a
server, along with a size distribution list for each database
MS SQL Server Environment Disk Access
Provides a look at server and database disk access operations
MS SQL Server Environment Locks
Provides a breakdown of server level lock requests and wait
times, as well as database delays
MS SQL Server Environment Overview
Provides server and database overview and database size
distribution
MS SQL Server Memory Breakdown
Provides a breakdown of physical memory used,
recommended, stolen, as well as maximum and total physical
memory
MS SQL Server Stress
Provides a server level stress assessment and resource usage
To access the Management Pack reports, go to Environment > All Objects > Microsoft SQL Server Adapter and
double-click on the desired Object (resource). Select the Reports tab, then Report Templates.
To run the selected report, click the Run Template icon (
your preferred format.
), then click Generated Reports, to select the report in
Figure 14: Accessing Management Pack Reports
17
vRealize Operations Management Pack for Microsoft SQL Server User Guide
6.  Tags
To further customize your views within the Management Pack, three tags are currently available for filtering by:
• SQL Clusters - All Microsoft SQL Servers being monitored that are Failover clusters
• SQL Server Environment - All Microsoft SQL Servers being monitored
• VMware Virtual Machines hosting SQL Server - All Virtual Machines on which Microsoft SQL Servers are
running
To select a tag, perform the following steps:
NOTE: Depending on the dashboard, the steps for selecting a tag may vary slightly.
1. Click on the Content navigation shortcut (
).
2. Click on the Dashboards view in the navigation pane.
3. Select Edit (
) on the widget.
4. Select Edit Widget (
) for the widget you want to edit.
5. Expand the Microsoft SQL Server Tag option.
6. Select the desired tag and click Save.
7.  Alerts
The Management Pack for Microsoft SQL Server identifies problems with the Microsoft SQL Server and displays
them in vROps as alerts. The critical levels of each alert are closely mapped from the SQL Server to vROps. Refer to
section “11. Appendix II: Alerts, Symptoms, & Recommendations” for the full list of alerts.
Figure 15: Alert Example
18
vRealize Operations Management Pack for Microsoft SQL Server User Guide
8.  Analysis Badges
Using the predictive analytics capabilities of the vROps Analysis Badges through capacity definitions, the
Management Pack for Microsoft SQL Server populates capacity and utilization breakdowns for Server and Database
resource kinds. Refer to section “12. Appendix III: Capacity Definitions” for the full list of capacity definitions.
Figure 16: Analysis Badge Example
19
vRealize Operations Management Pack for Microsoft SQL Server User Guide
9.  Troubleshooting the Management Pack
Known troubleshooting information can help you diagnose and correct common problems with the Management
Pack. This section includes the following topics:
• Troubleshooting an Adapter Instance
• Testing Connection Failures
• Viewing System Log Files
9.1  Troubleshooting an Adapter Instance
Perform these general troubleshooting steps to diagnose and correct problems with an adapter instance:
• Edit the adapter instance and click Test Connection to verify the connection to vROps. Refer to
section “9.2 Testing Connection Failures”.
• View the collection status and collection state for the adapter instance resource on the Environment
Overview page in vROps.
• Check the adapter and collector logs for errors. Refer to section “9.3 Viewing System Log Files”, for
details.
9.2  Testing Connection Failures
When clicking on Test Connection, the following connection errors are possible.
9.2.1  Bad Microsoft SQL Server host name
Unable to establish a valid connection to the target system. Unknown server Host name ‘<hostname>’. Check
connection settings.
9.2.2  Bad Microsoft SQL Server user name/password
Unable to establish a valid connection to the target system. Login failed for user ‘<username>’. Check
connection settings.
9.2.3  Instance/Port Mismatch
Unable to establish a valid connection to the target system. Instance on Default Port 1433 is MSSQLSERVER,
does not match supplied Instance of NAMEDINSTANCE.
9.3  Viewing System Log Files
You can check for Management Pack errors in the adapter and collector log files. You can view the adapter and
collector log files in the vROps user interface or in an external log viewer.
The adapter log files are in the $VCOPS_BASE/user/log/adapters/SqlServerAdapter/ folder. The
collector log files are in the $VCOPS_BASE/user/log/ folder.
The logging level is set to WARNING by default. To troubleshoot issues, set the logging level to INFO. To view
detailed messages, including micro steps, queries, and returned results, set the logging level to DEBUG.
You can set the base log level for the collector via Administrator > Support > Logs > Select COLLECTOR folder
> Select Edit Properties icon > Edit Root logger level.
NOTE: If you set the logging level to DEBUG, log files can become large very quickly. Set the logging level to
DEBUG only for short periods of time.
For complete information about viewing log files and modifying log levels, refer to the VMware vRealize
Operations online help.
20
vRealize Operations Management Pack for Microsoft SQL Server User Guide
10.  Appendix I: Metrics
The Management Pack collects the following metrics by Microsoft SQL Server Resource Kinds.
NOTE: Certain features and metrics are only available in Microsoft SQL Server 2008 R2 SP1 and Microsoft
SQL Server 2012 and above. Additionally, in order to provide the SQL CPU Usage metric on the MS SQL Server
resource, a default instance must be present and functional on the monitored server. For details, refer to section
“6. Known Issues/Limitations”, in the accompanying vRealize Operations Management Pack for Microsoft SQL
Server Release Notes.
Table 3: Microsoft SQL Server Metrics
RESOURCE KIND
RESOURCE
GROUP
RESOURCE
ATTRIBUTE
ATTRIBUTE
TYPE
ATTRIBUTE DESCRIPTION
Microsoft SQL
Server Always On
Availability Group
General
Automated Backup
Preference
string
Automated backup preference
for availability group.
Microsoft SQL
Server Always On
Availability Group
General
Group ID
string
Group ID of availability group.
Microsoft SQL
Server Always On
Availability Group
General
Name
string
Name of availability group.
Microsoft SQL
Server Always On
Availability Group
General
Replica ID
string
Replica ID of availability group.
Microsoft SQL
Server Always On
Availability Group
General
Replicas
string
List of replicas being used by
availability group.
Microsoft SQL
Server Always On
Availability Group
Status
Primary Recovery
Health
string
Description of recovery health
of the primary replica.
Microsoft SQL
Server Always On
Availability Group
Status
Primary Replica
string
Primary replica on availability
group.
Microsoft SQL
Server Always On
Availability Group
Status
Secondary Recovery
Health
string
Description of recovery health
of the secondary replica.
Microsoft SQL
Server Always On
Availability Group
Status
Synchronization
Health
float
Number representation of
rollup of synchronization health
of all availability replicas in the
availability group.
Microsoft SQL
Server Always On
Availability Group
Status
Synchronization
Health Property
string
Description of rollup of
synchronization health of
all availability replicas in the
availability group.
Microsoft SQL
Server Always On
Availability Group
Relationships
Microsoft SQL
Server Database
Children
string
List of child Microsoft SQL
Server Database resources
Microsoft SQL
Server Always On
Availability Group
Relationships
Microsoft SQL
Server HADR
Database Children
string
List of child Microsoft SQL
Server HADR Database
resources
21
vRealize Operations Management Pack for Microsoft SQL Server User Guide
RESOURCE KIND
RESOURCE
GROUP
RESOURCE
ATTRIBUTE
Microsoft SQL
Server Always On
Availability Group
Relationships
Microsoft SQL
Server HADR Replica string
Server Children
List of child Microsoft SQL
Server HADR Replica Server
resources
Microsoft SQL
Server Always On
Availability Group
Relationships
Virtual Machine
Parents
string
List of parent Virtual Machine
resources
Microsoft SQL
Server Always On
Availability Group
HADR Replica
Servers
Availability Mode
string
Description of HADR replica
server availability mode.
Microsoft SQL
Server Always On
Availability Group
HADR Replica
Servers
Failover Mode
string
Failover mode for HADR replica
server.
Microsoft SQL
Server Database
Active Processes
Active Connections
float
Number of active connections
to database.
Microsoft SQL
Server Database
Active Processes
Active Transactions
float
Number of active transactions
on database.
Microsoft SQL
Server Database
Availability States
Suspended Reason
string
If the database is suspended,
the reason for the suspended
state.
Microsoft SQL
Server Database
Availability States
Synchronization
Health
string
Description of the
synchronization_health of the
availability database.
Microsoft SQL
Server Database
Availability States
Synchronization
State
string
Description of the datamovement state.
Microsoft SQL
Server Database
Capacity
Data Space
float
Database data space.
Microsoft SQL
Server Database
Capacity
Disk Space Available
float
Amount of space available on
database.
Microsoft SQL
Server Database
Capacity
Index Space
float
Database index space
Microsoft SQL
Server Database
Capacity
Log Size
float
Size of the log area in memory
for database.
Microsoft SQL
Server Database
Capacity
Reserved Space
float
Database reserved space.
Microsoft SQL
Server Database
Capacity
Reserved Space
Unused
float
Database unused reserved
space.
Microsoft SQL
Server Database
Capacity
Size Used
float
Database size.
Microsoft SQL
Server Database
Capacity
Space Available
float
Percentage of space available
on disk used by database.
Microsoft SQL
Server Database
Capacity
Space Used
float
Percentage of space used on
disk used by database.
Microsoft SQL
Server Database
Capacity
Total Space
float
Total space of disk used by
database.
Microsoft SQL
Server Database
Capacity
Unallocated Space
Available
float
Unallocated space available on
database.
22
vRealize Operations Management Pack for Microsoft SQL Server User Guide
ATTRIBUTE
TYPE
ATTRIBUTE DESCRIPTION
RESOURCE KIND
RESOURCE
GROUP
RESOURCE
ATTRIBUTE
ATTRIBUTE
TYPE
ATTRIBUTE DESCRIPTION
Microsoft SQL
Server Database
Capacity
Usable Disk Space
float
The amount of space on disk
that is usable by a database,
this includes the free space of
the entire disk, and any space
being used by the database.
Microsoft SQL
Server Database
Config
Auto Close
string
Shows whether auto close is
enabled
Microsoft SQL
Server Database
Config
Auto Close Enabled
string
Shows whether auto close is
enabled.
Microsoft SQL
Server Database
Config
Auto Create
Statistics
string
Shows whether auto create
statistics is enabled.
Microsoft SQL
Server Database
Config
Auto Shrink
string
Shows whether auto shrink is
enabled.
Microsoft SQL
Server Database
Config
Auto Shrink Enabled
string
Shows whether auto shrink is
enabled.
Microsoft SQL
Server Database
Config
Auto Update
Statistics
string
Shows whether auto update
statistics is enabled.
Microsoft SQL
Server Database
Config
Read Only
string
Shows whether read only mode
is enabled.
Microsoft SQL
Server Database
Config
Single User Mode
string
Shows whether single user
mode is enabled.
Microsoft SQL
Server Database
Disk Access
Bytes Read
float
Microsoft SQL
Server Database
Disk Access
Bytes Written
float
Microsoft SQL
Server Database
Disk Access
IOPS
float
Microsoft SQL
Server Database
Disk Access
Read Delay
float
Microsoft SQL
Server Database
Disk Access
Read Operations
float
Microsoft SQL
Server Database
Disk Access
Total bytes
float
Microsoft SQL
Server Database
Disk Access
Write Delay
float
Microsoft SQL
Server Database
Disk Access
Write Operations
float
Microsoft SQL
Server Database
General
Availability Group
Name
string
Name of availability group.
Microsoft SQL
Server Database
General
Creation Date
string
The database creation date.
Microsoft SQL
Server Database
General
Recovery Model
string
The recovery model of the
database.
Microsoft SQL
Server Database
General
Status
string
The current status of the
database.
23
vRealize Operations Management Pack for Microsoft SQL Server User Guide
RESOURCE KIND
RESOURCE
GROUP
RESOURCE
ATTRIBUTE
ATTRIBUTE
TYPE
ATTRIBUTE DESCRIPTION
Microsoft SQL
Server Database
General
Time Since Creation
float
Days since database was
created.
Microsoft SQL
Server Database
General
Resource Name
string
Microsoft SQL
Server Database
Growth
Smallest Fixed
Size File Growth
Increment
float
Microsoft SQL
Server Database
Growth
Smallest Percentbased File Growth
Increment
float
Microsoft SQL
Server Database
Index Performance
User Lookups
integer
Microsoft SQL
Server Database
Index Performance
User Scans
integer
Microsoft SQL
Server Database
Index Performance
User Seeks
integer
Microsoft SQL
Server Database
Index Performance
User Updates
integer
Microsoft SQL
Server Database
Memory
Buffer Pool Size
float
Microsoft SQL
Server Database
Memory
Effective Server Total
float
Total effective memory
available to the SQL server.
Microsoft SQL
Server Database
Memory
Effective Used
float
The amount of effective server
memory in MB used by the
database.
Microsoft SQL
Server Database
Memory
Effective Used
float
The number of effective server
memory pages used by the
database.
Microsoft SQL
Server Database
Performance
Data File Size
float
Size of the data file on a
database.
Microsoft SQL
Server Database
Performance
Log Cache Hit Ratio
float
Database log cache hit ratio.
Microsoft SQL
Server Database
Performance
Log Cache Hit Ratio
Base
float
Database base log cache hit
ratio.
Microsoft SQL
Server Database
Performance
Log Cache Reads
float
Database log cache reads over
time.
Microsoft SQL
Server Database
Performance
Log File Size
float
Size of log file on database.
Microsoft SQL
Server Database
Performance
Log File Used
float
Percentage of log file used on
database.
Microsoft SQL
Server Database
Performance
Log File Used Size
float
Log file size used on database.
Microsoft SQL
Server Database
Performance
Log Pool Cache
Misses
float
Database log cache misses
over time.
24
vRealize Operations Management Pack for Microsoft SQL Server User Guide
RESOURCE KIND
RESOURCE
GROUP
RESOURCE
ATTRIBUTE
ATTRIBUTE
TYPE
ATTRIBUTE DESCRIPTION
Microsoft SQL
Server Database
Performance
Log Pool Disk Reads
float
Number of disk reads due
to log cache misses for a
database.
Microsoft SQL
Server Database
Performance
Log Pool Requests
float
Database log cache requests
over time.
Microsoft SQL
Server Database
Performance
Tracked Transactions float
Database tracked transactions
over time.
Microsoft SQL
Server Database
Performance
Transactions
float
Database transactions over
time.
Microsoft SQL
Server Database
Performance
Write Transactions
float
Database write transactions
over time.
Microsoft SQL
Server Database
Size
Log Size
float
Database log size.
Microsoft SQL
Server Database
Size
Row Size
float
Database row size.
Microsoft SQL
Server Database
Size
Total Used Disk Size
float
Total database file size on disk,
this includes allocated but
unused.
Microsoft SQL
Server Database
Relationships
Microsoft SQL
Server Always On
Availability Group
Parents
string
List of parent Microsoft SQL
Server Always On Availability
Group resources
Microsoft SQL
Server Database
Relationships
Microsoft SQL
Server Instance
Parents
string
List of parent Microsoft SQL
Server Instance resources
Microsoft SQL
Server Database
Relationships
Microsoft SQL
Server Object
Children
string
List of child Microsoft SQL
Server Object resources
Microsoft SQL
Server Database
Object
Average Page Lock
Wait Duration
float
Average page log wait time on
database.
Microsoft SQL
Server Database
Object
Average Row Lock
Wait Duration
float
Average row lock wait time on
database.
Microsoft SQL
Server Database
Object
Page Locks
float
Number of page locks used by
database.
Microsoft SQL
Server Database
Object
Page Lock Waits
float
Number of page locks currently
in waiting state on database.
Microsoft SQL
Server Database
Object
Row Locks
float
Number of row locks on
database.
Microsoft SQL
Server Database
Object
Row Lock Waits
float
Number of row locks currently
in waiting state on database.
Microsoft SQL
Server Instance
Buffer
Buffer Cache Hit
Ratio
float
Microsoft SQL
Server Instance
Buffer
Buffer Ideal Page
Life Expectancy
float
Microsoft SQL
Server Instance
Buffer
Buffer Page Life
Expectancy
integer
25
vRealize Operations Management Pack for Microsoft SQL Server User Guide
RESOURCE KIND
RESOURCE
GROUP
RESOURCE
ATTRIBUTE
ATTRIBUTE
TYPE
Microsoft SQL
Server Instance
Buffer
Buffer Pool Hit Ratio
float
Microsoft SQL
Server Instance
Buffer
Buffer Pool Size
float
Microsoft SQL
Server Instance
Buffer
Checkpoint Pages
float
Microsoft SQL
Server Instance
Buffer
Database Pages
float
Microsoft SQL
Server Instance
Buffer
Free List Stalls
float
Microsoft SQL
Server Instance
Buffer
Lazy Writes
float
Microsoft SQL
Server Instance
Buffer
Page Lookups
float
Microsoft SQL
Server Instance
Buffer
Page Reads
float
Microsoft SQL
Server Instance
Buffer
Page Splits
float
Microsoft SQL
Server Instance
Buffer
Page Writes
float
Microsoft SQL
Server Instance
Buffer
Procedure Cached
Pages
integer
Microsoft SQL
Server Instance
Buffer
Read Aheads
float
Microsoft SQL
Server Instance
Buffer
Target Pages
integer
Microsoft SQL
Server Instance
CPU
CPU Usage
float
Microsoft SQL
Server Instance
CPU
Max CPU Percent
float
This is a hard limit of 100%
used for capacity calculations.
Microsoft SQL
Server Instance
Cluster State
Cluster Owner
Status
string
The status of the owner cluster
node.
Microsoft SQL
Server Instance
Cluster State
Cluster Status
string
The worst status across all
nodes in the cluster.
Microsoft SQL
Server Instance
Cluster State
Number of Healthy
Cluster Nodes
integer
The number of nodes in a
cluster in the up state.
Microsoft SQL
Server Instance
Cluster State
Number of Unhealthy
integer
Cluster Nodes
The number of nodes in a
cluster in a down, paused, or
unknown state.
Microsoft SQL
Server Instance
Cluster State
Is Current Owner
string
This metric signals whether the
current node is the owner of
the cluster.
Microsoft SQL
Server Instance
Cluster State
Status Text
string
This metric is the text
representation of a node's
status.
26
vRealize Operations Management Pack for Microsoft SQL Server User Guide
ATTRIBUTE DESCRIPTION
RESOURCE KIND
RESOURCE
GROUP
RESOURCE
ATTRIBUTE
ATTRIBUTE
TYPE
ATTRIBUTE DESCRIPTION
Microsoft SQL
Server Instance
Cluster State
Status Value
integer
This metric is the integer value
that represents a node's status.
Microsoft SQL
Server Instance
Connection Capacity
Active Connections
integer
Microsoft SQL
Server Instance
Connection Capacity
Connections
integer
Microsoft SQL
Server Instance
Connection Capacity
Possible
Connections
integer
Microsoft SQL
Server Instance
Connections
Connections Reset
float
Microsoft SQL
Server Instance
Connections
Logins
float
Microsoft SQL
Server Instance
Connections
Logouts
float
Microsoft SQL
Server Instance
Connections
User Connections
integer
Microsoft SQL
Server Instance
Database
Performance
Data File Size
integer
Microsoft SQL
Server Instance
Database
Performance
Log Cache Hit Ratio
float
Microsoft SQL
Server Instance
Database
Performance
Log Cache Hit Ratio
Base
integer
Microsoft SQL
Server Instance
Database
Performance
Log Cache Misses
integer
Microsoft SQL
Server Instance
Database
Performance
Log Cache Reads
integer
Microsoft SQL
Server Instance
Database
Performance
Log Cache Requests
integer
Microsoft SQL
Server Instance
Database
Performance
Log File Size
integer
Microsoft SQL
Server Instance
Database
Performance
Log File Usage
integer
Microsoft SQL
Server Instance
Database
Performance
Log File Used Size
integer
Microsoft SQL
Server Instance
Database
Performance
Log Pool Disk Reads
integer
Microsoft SQL
Server Instance
Database
Performance
Track Transactions
integer
Microsoft SQL
Server Instance
Database
Performance
Transactions
integer
Microsoft SQL
Server Instance
Database
Performance
Write Transactions
integer
Microsoft SQL
Server Instance
General
Current Cluster
Owner
string
27
vRealize Operations Management Pack for Microsoft SQL Server User Guide
The name of the node in the
cluster that is the current
owner.
RESOURCE KIND
RESOURCE
GROUP
RESOURCE
ATTRIBUTE
ATTRIBUTE
TYPE
Microsoft SQL
Server Instance
General
Resource Name
string
Microsoft SQL
Server Instance
General
SQL Version
string
Microsoft SQL
Server Instance
General
Server Name
string
Microsoft SQL
Server Instance
General
Service Name
string
Microsoft SQL
Server Instance
General
Type
string
Microsoft SQL
Server Instance
General
Windows Version
string
Microsoft SQL
Server Instance
Disk
Total Disk Space
integer
Microsoft SQL
Server Instance
Disk
Used Disk Space
integer
Microsoft SQL
Server Instance
Disk
Disk Size
integer
Microsoft SQL
Server Instance
Disk
Available Disk Space
integer
Microsoft SQL
Server Instance
Disk
Resource Name
string
Microsoft SQL
Server Instance
Disk Access
Read Operations
float
This metric represents the
amount of disk read operations
over time.
Microsoft SQL
Server Instance
Disk Access
Read Rate
float
Disk read rate of MS SQL
Server.
Microsoft SQL
Server Instance
Disk Access
Write Operations
float
This metric represents the
amount of disk write operations
over time.
Microsoft SQL
Server Instance
Disk Access
Write Rate
float
Microsoft SQL
Server Instance
Disk Access
IOPS
float
Total amount of disk write and
read operations.
Microsoft SQL
Server Instance
Disk Access
Total Throughput
float
Total throughput on disk.
Microsoft SQL
Server Instance
History
Creation Date
string
Microsoft SQL
Server Instance
History
Days Since Last
Start
integer
Microsoft SQL
Server Instance
History
Most Recent Start
Date
string
Microsoft SQL
Server Instance
History
Time Since Creation
integer
28
vRealize Operations Management Pack for Microsoft SQL Server User Guide
ATTRIBUTE DESCRIPTION
RESOURCE KIND
RESOURCE
GROUP
RESOURCE
ATTRIBUTE
ATTRIBUTE
TYPE
Microsoft SQL
Server Instance
Jobs
Failed Jobs
integer
Microsoft SQL
Server Instance
Jobs
Successful Jobs
integer
Microsoft SQL
Server Instance
Locks
Average Wait Time
integer
Microsoft SQL
Server Instance
Locks
Average Wait Time
Base
integer
Microsoft SQL
Server Instance
Locks
Deadlocks
float
Microsoft SQL
Server Instance
Locks
Lock Requests
float
Microsoft SQL
Server Instance
Locks
Lock Timeouts
float
Microsoft SQL
Server Instance
Locks
Lock Wait Time
integer
Microsoft SQL
Server Instance
Locks
Lock Waits
float
Microsoft SQL
Server Instance
Locks
Instance Wait Time
float
Microsoft SQL
Server Instance
MAC Addresses
Agent Running
string
Indicates whether or not the
agent is running. Agent must
run to retrieve MAC Address.
Microsoft SQL
Server Instance
MAC Addresses
MAC Address
string
Connected MAC Address
Microsoft SQL
Server Instance
Memory
Available Physical
Memory
float
Microsoft SQL
Server Instance
Memory
Effective Total
Memory
float
The total amount of memory
available between SQL Server
and unused memory on the
host.
Microsoft SQL
Server Instance
Memory
Memory Usage
float
The percentage of memory that
is being utilized by SQL Server.
Microsoft SQL
Server Instance
Memory
Physical Memory
Max
float
Microsoft SQL
Server Instance
Memory
Physical Memory
Recommended
float
Microsoft SQL
Server Instance
Memory
Physical Memory
Used
float
Microsoft SQL
Server Instance
Memory
Stolen Server
Memory
float
Microsoft SQL
Server Instance
Memory
Total Physical
Memory
float
Microsoft SQL
Server Instance
Process States
Background
Processes
integer
29
vRealize Operations Management Pack for Microsoft SQL Server User Guide
ATTRIBUTE DESCRIPTION
RESOURCE KIND
RESOURCE
GROUP
RESOURCE
ATTRIBUTE
ATTRIBUTE
TYPE
Microsoft SQL
Server Instance
Process States
Blocked Processes
integer
Microsoft SQL
Server Instance
Process States
Dormant Processes
integer
Microsoft SQL
Server Instance
Process States
Preconnect
Processes
integer
Microsoft SQL
Server Instance
Process States
Runnable Processes
integer
Microsoft SQL
Server Instance
Process States
Running Processes
integer
Microsoft SQL
Server Instance
Process States
Sleeping Processes
integer
Microsoft SQL
Server Instance
Process States
Suspended
Processes
integer
Microsoft SQL
Server Instance
Queries
Average Query CPU
integer
Microsoft SQL
Server Instance
Queries
Average Query
Executions
integer
Microsoft SQL
Server Instance
Queries
Dead Locked
Queries
integer
Microsoft SQL
Server Instance
Queries
High Query CPU
integer
Microsoft SQL
Server Instance
Queries
High Query
Executions
integer
Microsoft SQL
Server Instance
Queries
Total Query CPU
integer
Microsoft SQL
Server Instance
Queries
Total Query
Executions
integer
Microsoft SQL
Server Instance
Statements
Batch Compilation
Ratio
float
Microsoft SQL
Server Instance
Statements
Batch Requests
float
Microsoft SQL
Server Instance
Statements
Forced
Parameterizations
float
Microsoft SQL
Server Instance
Statements
SQL Compilations
float
Microsoft SQL
Server Instance
Statements
SQL Recompilation
Ratio
float
Microsoft SQL
Server Instance
Statements
SQL Recompilations
float
Microsoft SQL
Server Instance
Tasks
Runnable Tasks
Count
integer
Microsoft SQL
Server Instance
Threads
Threads
integer
30
vRealize Operations Management Pack for Microsoft SQL Server User Guide
ATTRIBUTE DESCRIPTION
RESOURCE KIND
RESOURCE
GROUP
RESOURCE
ATTRIBUTE
ATTRIBUTE
TYPE
ATTRIBUTE DESCRIPTION
Microsoft SQL
Server Instance
Relationships
Microsoft SQL
Server Cluster
Children
string
List of child Microsoft SQL
Server Cluster resources
Microsoft SQL
Server Instance
Relationships
Microsoft SQL
Server Database
Children
string
List of child Microsoft SQL
Server Database resources
Microsoft SQL
Server Instance
Relationships
Microsoft SQL
Server Disk Children
string
List of child Microsoft SQL
Server Disk resources
Microsoft SQL
Server Instance
Relationships
Microsoft SQL
Server Query
Children
string
List of child Microsoft SQL
Server Query resources
Microsoft SQL
Server Instance
Relationships
Virtual Machine
Parents
string
List of parent Virtual Machine
resources
Microsoft SQL
Server Query
General
Average Execution
Time
float
Microsoft SQL
Server Query
General
Execution Count
float
Microsoft SQL
Server Query
General
Execution Time
float
Microsoft SQL
Server Query
General
Last Execution
float
Microsoft SQL
Server Query
General
Last Update
double
Microsoft SQL
Server Query
General
Query Name
string
Microsoft SQL
Server Query
General
Query Text
string
Microsoft SQL
Server Query
General
Unique Query Plans
integer
Microsoft SQL
Server Query
Relationships
Microsoft SQL
Server Instance
Parents
string
31
vRealize Operations Management Pack for Microsoft SQL Server User Guide
List of parent Microsoft SQL
Server Instance resources
11.  Appendix II: Alerts, Symptoms, and Recommendations
The Management Pack for Microsoft SQL Server creates alerts and gives recommended actions based on various
symptoms that it detects in the environment. See the table below for details regarding each alert.
NOTE: Certain alerts (indicated with an asterisk (*)) will not come through when the exclude_event_queries
setting in the microsoftsqlserver.properties file is set to true.
Table 4: Alerts, Symptoms, and Recommendations
NAME AND SYMPTOM
RECOMMENDATION
MS SQL Server Deprecated Feature*
To avoid failures due to this feature in future updates it is recommended
to update the feature to the current implementation.
MS SQL Server Low Page Life
Expectancy*
Increase the memory on the SQL Server to allow for a greater page life
expectancy.
MS SQL Server Average Query CPU
Time is High
MS SQL Server Number of Queries
That End In Deadlock has Risen
MS SQL Server Cluster Owner Is
Down
MS SQL Server Cluster Owner Is
Paused
MS SQL Database Index: Never
Accessed Indexes*
Unused indexes can consume disk space through index storage, and
consume processing power during index maintenance. Determine if the
index is necessary and if not consider removing.
MS SQL Database file close to max
capacity limit*
MS SQL Database Index: Unused
Maintained Indexes*
Unused indexes can consume disk space through index storage, and
consume processing power during index maintenance. Determine if the
index is necessary and if not consider removing.
MS SQL Database Index: Potentially
Inefficient Indexes*
Inefficient indexes have a maintenance cost in terms of space and
processing power. Determine if the benefit of the index is greater than the
cost of maintaining it. If not consider removing the index.
MS SQL Database Index: Missing
Beneficial Index*
Performing queries without indexes can be time consuming and cause
poor query performance, consider adding the recommended index.
MS SQL Database Index: Highly
Fragmented Indexes*
Performing queries with fragmented indexes can be time consuming
and cause poor query performance. Fragmentation can also cause more
disk space to be consumed than is needed. Recommend rebuilding the
fragmented index.
MS SQL Database Index: Mildly
Fragmented Indexes*
Performing queries with fragmented indexes can be time consuming and
cause poor query performance. Fragmentation can also cause more disk
space to be consumed than is needed. Recommend reorganizing the
fragmented index.
MS SQL Database Is In Emergency
State
MS SQL Database Is In Offline State
MS SQL Database Is In Non-Critical
Non-Online State
32
vRealize Operations Management Pack for Microsoft SQL Server User Guide
NAME AND SYMPTOM
RECOMMENDATION
MS SQL Always On Group Database
Is In a Not Healthy State
MS SQL Always On Group Database
Is In a Partially Healthy State
MS SQL Always On Group Database
Is In a Suspended State
MS SQL Always on Availability Group
in Non Healthy State
MS SQL Always on Availability Group
in Partially Healthy State
12.  Appendix III: Capacity Definitions
The Management Pack uses the following capacity definitions, which help determine the value of Analysis Badges
within vRealize Operations. For more information on using Analysis Badges, refer to the VMware vRealize Operations
online help. An example of an Analysis Badge is shown in section “8. Analysis Badges”.
Table 5: Capacity Definitions
CONTAINER
DESCRIPTION
USE IN WORKLOAD
Database Disk Capacity
Database disk space usage (included allocated but
unused) measured against free disk space on drives
database resides on
yes
Database Memory Capacity
Database memory usage measured against total
memory of the server
yes
Connection Limit
Connection usage as reported by MS SQL Server
includes active and idle
yes
CPU Demand
Usage percent of Hosts CPU used by MS SQL Server
application measured by MS SQL Server
yes
Memory Usage
Host RAM in use by MS SQL Server application
measured by MS SQL Server
yes
Disk Capacity
Aggregate Disk usage on all disks the MS SQL Server
uses reported by MS SQL Server
yes
SQL Database
SQL Server
33
vRealize Operations Management Pack for Microsoft SQL Server User Guide
13.  Appendix IV: Revision Notes
This user guide is updated with each release of the product, or when necessary. The following table provides its
revision history.
REVISION
DATE
DESCRIPTION
•
•
•
•
Added section “2.3 Inventory Tree (Traversal Spec)”
Added Microsoft SQL Server Query Analysis dashboard
Updated section “4. Views” to include new Queries and Query Text views
Updated section “5. Reports” to include new Query Analysis and Memory
Breakdown reports
Added section “8. Analysis Badges”
Removed “Performing Actions” section
Removed “Issues with Running Microsoft SQL Actions in vROps 6.1” section
Updated screenshots throughout the document
REV-04
09-DEC-2016
REV-03
30-SEP-2016
• Added required default instance information to the note in section “10.
Appendix I: Metrics”
REV-02
23-MAR-2016
• Added “Issues with Running Microsoft SQL Actions in vROps 6.1” section
• Added “Performing Actions” section
REV-01
30-JUN-2015
Initial release
34
•
•
•
•
vRealize Operations Management Pack for Microsoft SQL Server User Guide
You can find the most up-to-date technical documentation on the Blue Medora
support site at: http://support.bluemedora.com.
The Blue Medora website also provides the latest product updates. If you
have comments about this documentation, submit your feedback to:
support@bluemedora.com.
Copyright © 2016 Blue Medora Inc. All rights reserved. U.S. and international copyright and
intellectual property laws protect this product. Blue Medora is a registered trademark or trademark
of Blue Medora in the United States and/or other jurisdictions.
The Microsoft name (including Microsoft SQL Server) and logo are trademarks or registered
trademarks of Microsoft Corporation in the United States and/or other jurisdictions. All other marks
and names mentioned herein may be trademarks of their respective companies.
Blue Medora
3225 N Evergreen Dr. NE Suite 103
Grand Rapids, MI 49525
bluemedora.com