Spotlight on SQL Server Enterprise Deployment Guide Updated - December 2016 Version - 11.7.1 Contents
Total Page:16
File Type:pdf, Size:1020Kb
Spotlight® on SQL Server Enterprise 11.7.1 Deployment Guide Copyright 2016 Quest Software Inc. ALL RIGHTS RESERVED. This guide contains proprietary information protected by copyright. The software described in this guide is furnished under a software license or nondisclosure agreement. This software may be used or copied only in accordance with the terms of the applicable agreement. No part of this guide may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording for any purpose other than the purchaser’s personal use without the written permission of Quest Software Inc. The information in this document is provided in connection with Quest Software products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Quest Software products. EXCEPT AS SET FORTH IN THE TERMS AND CONDITIONS AS SPECIFIED IN THE LICENSE AGREEMENT FOR THIS PRODUCT, QUEST SOFTWARE ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL QUEST SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF QUEST SOFTWARE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Quest Software makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Quest Software does not make any commitment to update the information contained in this document. If you have any questions regarding your potential use of this material, contact: Quest Software Inc. Attn: LEGAL Dept 4 Polaris Way Aliso Viejo, CA 92656 Refer to our Web site (www.quest.com) for regional and international office information. Patents Quest Software is proud of our advanced technology. Patents and pending patents may apply to this product. For the most current information about applicable patents for this product, please visit our website at www.quest.com/legal. Trademarks Quest, Toad, Toad World, Spotlight and the Quest logo are trademarks and registered trademarks of Quest Software Inc. For a complete list of Quest marks, visit www.quest.com/legal. All other trademarks and registered trademarks are property of their respective owners. Legend WARNING: A WARNING icon indicates a potential for property damage, personal injury, or death. CAUTION: A CAUTION icon indicates potential damage to hardware or loss of data if instructions are not followed. An information icon indicates supporting information. Spotlight on SQL Server Enterprise Deployment Guide Updated - December 2016 Version - 11.7.1 Contents Welcome to Spotlight on SQL Server 6 The size and shape of your deployment 7 Install / Upgrade 9 Permissions required during installation 9 Install 9 Upgrade 11 Uninstall 13 Data collection and storage 14 Spotlight Diagnostic Server 14 Installation 14 Deployment 15 Maintenance 15 Spotlight services requiring Internet access 16 Start and stop the Spotlight Diagnostic Server 18 Java KeyStore 18 Deployment of federated Spotlight Diagnostic Server 18 Playback Database 19 Deployment 19 Configuration 19 Maintenance 19 Spotlight Statistics Repository 19 Deployment 20 Configuration 20 Maintenance 20 Spotlight Cloud 20 Configuration 21 Configure uploading to Spotlight Cloud 21 Maintenance plan for Spotlight Statistics Repository and Playback Database 22 Database configuration 22 Fragmentation and index performance 23 Database backup 23 Backup Spotlight data 23 Log of user actions 23 View data and configure Spotlight 27 Spotlight on SQL Server Enterprise 11.7.1 Deployment Guide 3 Spotlight Client 27 Installation 28 Deployment 28 Troubleshooting 28 Permissions for the Spotlight Client 29 Spotlight web site 31 Configuration 32 Deployment 32 Spotlight Mobile 32 Configuration 33 Deployment 33 Monitored connections in the deployment 34 Configure Spotlight 35 Configure | Connections 36 Deployment over the Windows network 38 Network ports 38 Checks to verify ports are open 39 Spotlight diagnostic user groups 39 Add members, increase / decrease your level of membership 40 Using Spotlight 40 Troubleshooting WMI 41 WMI Test 1 41 WMI Test 2 41 WMI Test 3 41 Additional testing 42 WMI errors 42 How to limit the number of ports used by WMI 47 Monitoring SQL Servers 48 SQL Server | Connection Details 48 Monitoring SQL Servers 50 How to grant SQL Server account permissions to a trusted user 51 Data display and collection problems - SQL Server connection 54 SQL Server performance counters 54 Monitoring Windows Servers and hosts of database connections 56 Windows Server | Connection Details 56 Monitoring Windows Servers and hosts of database connections 57 How to configure WMI with minimum required user permissions 59 1. Setup permission to read data 59 Spotlight on SQL Server Enterprise 11.7.1 Deployment Guide 4 2. Grant permissions to get information about services 60 3. Provide access to the Registry keys used by Spotlight 61 4. Run Windows Component Services 61 Configure COM security 61 Configure DCOM security 62 5. Configure WMI permissions 62 Data display and collection problems - Windows Server connection 63 About us 64 Contacting Quest 64 Technical support resources 64 Spotlight on SQL Server Enterprise 11.7.1 Deployment Guide 5 1 Welcome to Spotlight on SQL Server Spotlight on SQL Server monitors the activity of SQL Server instances. Spotlight displays a visual representation of the status of the databases in your enterprise, enabling you to drill down to graphical flows that illustrate the rate at which data is moving between server components. Icons display the value of key statistics and measurements. A range of visual graphs and tabular grids provide you with detailed information about your SQL Server instance. The components and dataflows change color to show you the source of any problem. When Spotlight on SQL Server detects a condition that it considers is a potential problem, it not only informs you about it, but advises you what you could look at to diagnose the problem further and suggests corrective actions. Spotlight on SQL Server seamlessly combines data from several disparate sources into a single user interface. It collects and combines data from Windows performance counters, SQL Server system tables, SQL Server commands and the Windows registry, and presents them in logically related screens. Note: There are two editions of Spotlight on SQL Server: Enterprise and Standard. This document is only appropriate for Spotlight on SQL Server Enterprise. Spotlight on SQL Server Enterprise is deploy-able with separate Spotlight Diagnostic Server and multiple Spotlight Clients. Spotlight on SQL Server Enterprise 11.7.1 Deployment Guide 6 Welcome to Spotlight on SQL Server 2 The size and shape of your deployment A minimal Spotlight on SQL Server deployment consists of l a Spotlight Diagnostic Server (to collect Spotlight data), l a Spotlight Client (to view Spotlight data) and l a Playback Database (to store recent history). These components are installed by the Spotlight on SQL Server installer. In a small deployment all these components can all be installed on the same host, however they don't have to be. Many Spotlight Clients can connect to one Spotlight Diagnostic Server. Where there are a large number of connections to be monitored or those connections are geographically widespread it may be appropriate to deploy multiple Spotlight Diagnostic Server where many Spotlight Clients monitor many connections through many Spotlight Diagnostic Server (a federation of Spotlight Diagnostic Server). Where a Spotlight Diagnostic Server has access to the Internet, connections can additionally be monitored from a web browser or a mobile device. Each Spotlight Diagnostic Server requires access to a Playback Database. One Playback Database is deployed per Spotlight Diagnostic Server. The Playback Database can be installed on the same host as the Spotlight Diagnostic Server, dependent on the number of SQL Server instances to be monitored. The Playback Database stores recent history. Once Spotlight is installed you may choose to collect and store data for reporting and trending. This data is stored in a Spotlight Statistics Repository. Many Spotlight Diagnostic Server can write to the same Spotlight Statistics Repository. Spotlight Clients, Spotlight Diagnostic Server, Playback Database, Spotlight Statistics Repository and monitored connections communicate over a Windows network. Appropriate permissions need to be in place to ensure communications flow. For more information, see Deployment over the Windows network on page 38. Spotlight on SQL Server Enterprise 11.7.1 Deployment Guide 7 The size and shape of your deployment Table 1: Factor in how many SQL Server instances you intend to monitor SQL Description Server instances 1 - 25 The Spotlight Diagnostic Server, Playback Database and Spotlight Statistics Repository can all be installed on the same host, as long as that host meets the minimum hardware requirements listed in the release notes. More than It is recommended that the Playback Database