Smarter Technologyfor Better BusinessCan you Restore Back to Yesterday?Always Answer YES!John AbramsPresident and COOAspect Consulting, Inc.
Remote Monitoring Best Practices:AgendaIntroductionsThe Goals of MonitoringThe Traditional MethodNew Centralized MethodThe ApproachAspect Solution
Introductions and Qualifications:Introducing John Abrams…• President and Founder of Aspect Consulting, Inc.• Over 20 years of solid project leadership and technical experience inData Management, Data Integration, Database Administration.• Certified Oracle DBA with extensive expertise with logical andphysical DBA activities with both Oracle and SQL Server.• Currently providing remote database administration and monitoringservices for multiple clients across industries.
Introductions and Qualifications:About Aspect Consulting Founded in 1994; specializing in helpingclients increase revenue and decreaseexpenses in through: Database Administration: Both onsite andremote. Qualified consultants experienced inimproving database performance and stability. Data Management: Data WarehouseDevelopment; BI Reporting. RDBMS Software Installation andConfiguration: Oracle, SQL Server, etc. Application Design and Architecture:Full life cycle development of custom applications,logical and physical design, coordination ofresources, custom application development.
Introductions and Qualifications:Current Remote DBA Clients
Remote Monitoring Best Practices:The Goals of MonitoringDatabases Always UpNo Missed BackupsNever Run out of Disk SpaceNo Performance ProblemsAnd… achieve all this in the mostefficient way possible
Remote Monitoring Best Practices:Traditional Monitoring MethodsUtilize Maintenance PlansSend Both Success and Failure NotificationsOr….no monitoring at all
Remote Monitoring Best Practices:Issues with the Traditional Method:Missed Backups:• Maintenance Plans are modified from All User to selected databases, potentiallyleaving new databases without backup.Stopped SQL Agent:• Agent does not restart and no jobs run—without your knowledge.Missed Alerts:• Too many emails. Multiple success and failure notifications get buried in inboxes.Time Consuming to Set Up and Maintain:• Monitoring not centralized: difficult to set up, maintain and update.
Centralized Monitoring Solution:Gather Data and Alert Process FlowSQL StatementGathers InfoResults DataStored in MetaDatabaseStoredProcedureReviewsData andSends Alert
Centralized Monitoring Solution:Analytical Reporting Process FlowSQL StatementGathers InfoResults DataStored in MetaDatabaseStoredProcedureReviewsData andAnalyzesGenerateTrendingReports
Centralized Monitoring Solution:A Better Method:WhyCentralizedMonitoring isBetter Nothing Slips Through the Cracks: you do notmiss when jobs do not run. One Single Email: email displays results acrossentire environment-rather than multiple emails lostin your inbox. Easily Scalable: Single set of jobs, rather thandeploying the same set of jobs across 100 servers. Historical Data Readily Available: data can beused for trending and alerting. Flexible Framework: the sky is the limit—youcan easily expand and extend monitoring jobs.
Centralized Monitoring Solution:Two Different ApproachesSingle TierApproach• Components running onsingle, centralizedDatabase Server:• Meta Data to holdserver, connection strings, jobs tosend alerts, results tables, etc.• Linked servers to connect to alldestination databases.• Dynamic SQL GeneratingProcedure to run jobs, storeresults, and send alerts.Multi TierApproach• Adds App Server andadditional components:• Same Data Model: addsadditional tables for schedulingjobs to run on instances.• Utilizes Windows ServiceAgent to connect, executeSQL, and send alerts.• Adds Front End to manage jobmaintenance, view alerts, andgenerate reports
Key Syntax:Detect and Alert SP: Failed Backups/Jobs SELECT Last Set of Records from Data ResultsTable. Use MAX(LASTMOD) value to selectrecords. IF detects SOME records (i.e., where backupdate is older than 24 hours/where job statusindicates failure) THEN Generate alert email. Write records to an Alert table.StoredProcedureDetects failures,sends alert, andstores alert history
Key Syntax:Detect and Alert SP: Disk Space/File Size SELECT Current Set of Records from DataResults Table AND Set of Records inserted Xhours (e.g. 24 hours) ago. Use MAX(LASTMOD) value to select bothsets of records. COMPARE file size/disk space. IF detects SOME records where size increasedby X%... THEN Generate alert email. Write records to alert table.StoredProcedureDetects out of rangeconditions, sends alert,and stores alert history
The Aspect Monitoring Solution:Introducing Prodative® WatchDog EMSWatchDogEMSCentralizesthe Right Info& Alerts AcrossPlatformsCapture KeyData forTrending &ForecastingEasy toConfigureand UseDisplays info and alerts (e.g.availability, backup, and file size)viaa web portal; no need to go to theserver for info.Solution is simple to configure anduse for immediate impact; no needfor full-time staff for support.Enables you to analyze, predict,prepare, and address issues beforeusers are impacted.
Introducing Prodative® WatchDog EMSFeaturesMonitor Critical Information and Alerts: Database Availability Missed Backups Critical Disk Space & File System Usage(at both the device and subdirectory level) Problematic Indexing and QueriesMonitorInfo & Alerts
View Trending Data, Analyze andGenerate Reports Track Server and Job Statistics Track Disk Space and DatabaseGrowth Over TimeAnalyze &ReportIntroducing Prodative® WatchDog EMSFeatures
Maintain and Extend Monitoringusing Flexible Controls:Extend and Add Monitoring JobsSet Alerting ParametersAdd ReportsMaintain UsersMaintain &ExtendIntroducing Prodative® WatchDog EMSFeatures