life of a dba
TRANSCRIPT
align
Total Database Management:A Week in the Life of a DBA
Craig S. MullinsDirector, Technology Planning
©2003 BMC SoftwareMay 3, 20232
Topics
The Role of the DBAManaging Databases
Dealing with Problems Monitoring Operations Dealing with day-to-day tasks
SmartDBA Performance Administration Recovery
Business Service Management Integration of SmartDBA and BSM
©2003 BMC SoftwareMay 3, 20233
What is a DBA?
0010 001010100 101011101011 101011010010101 0100100110101011100001111001010100100101000100101
©2003 BMC SoftwareMay 3, 20234
The DBA is a “Jack of all Trades”
Oracle
database schema
DNS
SQL
application code
Javaoperating system
network software
ISP
bridge/router/hub
HTTP
network cabling
hardware
CGI
connection ZPARMs
3GL
ASP
XML
HTMLgateway
Java appletDB2
Connect
DB2Sybase
SQL Server
Unix
WindowsOS/390
SQL*Net
TCP/IP
V$ Tables
COBOL
VB
C++
JCLCICS
MQ
Linux
VTAM
Z/OS
©2003 BMC SoftwareMay 3, 20235
DBA 101
The management discipline of database administration encompasses many complex, integrated tasks all centered on ensuring the availability of data, databases, and applications:
› Creating the Database Environment› Database Design› Application Design› Design Reviews› Database Change Management› Data Availability› Performance Management
System Performance Database Performance Application Performance
› Data Integrity
› Database Security› Backup and Recovery› Disaster Planning› Storage Management› Distributed Database
Management› Data Warehouse Administration› Database Utility Management› Database Connectivity› Procedural DBA› Soft Skills
©2003 BMC SoftwareMay 3, 20236
Keep Databases up to P.A.R.
A simple definition of database administration:
PERFORMANCEMonitoring
Avoiding outagesSQL tuning
Space management
Optimize Performance
ADMINISTRATIONDay-to-day workloadSchema management
Database changesHigh speed utilities
Automate Administration
RECOVERYDatabase backup/recovery
Transaction recoveryRecovery automation
Disaster recovery
Assure Recoverability
©2003 BMC SoftwareMay 3, 20237
What Happens
Object needs to be reorganized – DB2 PerfImproper file used for batch run – Log MasterNeed to add several new columns to tables for regulatory compliance purposes – DBA Test tables need to be refreshed – UNLOAD/LOADChange from above needed in production by Mon. – DBA Poorly performing system – Sys and App PerfRequest to fix data – one-off program vs. table editor in Catalog ManagerSpace failure during change on weekend – DBA add space and automatic restart where it left off
©2003 BMC SoftwareMay 3, 20238
But What Does it all Look Like from the DBA’s Point of View?
Let’s take a walk in the DBA’s shoes for a week…
©2003 BMC SoftwareMay 3, 20239
7:00 AM Monday Morning
DBA trudges into his office, coffee cup in hand, only to be greeted by a ringing telephone before he can even switch on his computer:
It’s one of the users in the claims department complaining that she can’t get any work done because the system is so slow…
©2003 BMC SoftwareMay 3, 202310
SQL Performance
©2003 BMC SoftwareMay 3, 202311
It’s Really More Like This
©2003 BMC SoftwareMay 3, 202312
SmartDBA: Heterogeneous Data Management
• SmartDBA is the foundation for intelligent data management:P-A-R for DB2, Oracle, Sybase, SQL Server, and IMS
› Single console to manage mainframe and distributed databases› Simplifies interface to similar administrative tasks› Built-in intelligence and automation
Application-centric where appropriate
DB2 & IMS UDB
©2003 BMC SoftwareMay 3, 202313
SmartDBA Value Proposition
©2003 BMC SoftwareMay 3, 202314
IT Optimization2004+
Growing Management Need
OperationsManagement2000-2003+IT
Management80s – 90s
Technology ITServices
BusinessContribution
CostSavings
Advantage &Differentiation Value Growth
©2003 BMC SoftwareMay 3, 202315
Business+DBA: The Value to You
BMC Data Management Tools & Utilities
©2003 BMC SoftwareMay 3, 202316
Business Service Management
IT Operations and Infrastructure Management› Manage your IT operations
in the context of your criticalbusiness services Management of the IT infrastructure
is BMC Software’s heritage BMC tools enable you to monitor,
diagnose, advise and resolve exceptions as well as control your IT infrastructure, including:
SystemsDatabases Applications StorageSecurityNetworks
©2003 BMC SoftwareMay 3, 202317
Business Service Management
IT Service and Applications Management› Tie service-level agreements to business
needs–not just technology metrics–and deliver the promised levels of service
› Identify and automatically respond to IT errors, without human intervention, before they impact the business
› Enforce Operational Consistency consistent with critical business needs by automatically prioritizing maintenance and operational changes consistently with critical business needs
› Align fully with ITIL’s best practice guidelines using BMC Software solutions that optimize IT efficiency through improved: Service Delivery: availability, performance,
capacity, service-level and continuity management
Service Support: help desk, asset, change and configuration, incident and problem, and release management
©2003 BMC SoftwareMay 3, 202318
Service Impact Management
Service Impact ManagementTM
› Define and automatically update critical relationships between business and IT services, and detect changes in your dynamic IT environment
› Accelerate your ability to directly connect IT operations to business services
› Understand and communicate the true impact of technology changes (such as IT component failure) on the business and vice versa
©2003 BMC SoftwareMay 3, 202319
SmartDBA and BSM
“If there is no immediate need to implement SLM/BSM technologies, companies should focus their attention during the next 12 months on centralizing and consolidating the underlying network, systems, application management technologies and implementing end-user response time measurements. This will enable them to implement fully fledged SLM/BSM projects quickly, once the vendor landscape
has become more stable and more robust best practice scenarios are available.”
Giga Information Group, Thomas Mendel Market Overview 2003: Service-Level Management and Business Services Management Technologies,
Start Implementing BSM today with SmartDBA
©2003 BMC SoftwareMay 3, 202320
The Problem BSM is Solving
› SmartDBA Detects a Problem on a Managed Object, End Users May or May Not be aware anything happened!
› Event is transmitted to DBA Enterprise View Phone Call Pager/Email Alert
› Action is taken Importance or relevance of alarm not always clear No prioritization or scheduling Other stakeholders not aware or informed of the situation
SmartDBA Detects and Alerts(PATROL, Mainview)
DBA acts on InformationManual or Automatic – Uses DBA Tools
Subjective prioritization
End Users UnhappyWhat’s wrong???
©2003 BMC SoftwareMay 3, 202321
Add BSM to the Picture
Service Impact Model
SmartDBA Detects and Alerts(PATROL, Mainview)
DBA acts on InformationManual or Automatic – Uses DM Tools
Fully informed as to business relevance and impact of actions
Remedy Trouble TicketPrioritized by Business Relevance
Productive, InformedEnd-Users
©2003 BMC SoftwareMay 3, 202322
Business Service Management Value Proposition
BMC Software’s BSM Strategy Delivers:› A dynamic methodolology for aligning IT operations and services with the needs of the business› Clear understanding of the impact of IT events, and how they support business-critical services
SmartDBA Linkages to BSM Provide:› Ability to quickly identify database issues that affect the business› Solutions for instantly preventing and resolving these issues
©2003 BMC SoftwareMay 3, 202323
Business Service› The process being managed
Service Impact Manager› Automatically relates business
services to underlying IT assetsIT Service Management› Complete service lifecycle
management of the IT environment
IT Operations and Infrastructure Management› The specific tools and automation
processes for administering specific elements of the IT stack
SmartDBA Solutions - Intelligent Data ManagementOptimize
PERFORMANCESystem Performance
SQL PerformanceDatabase Performance
SimplifyADMINISTRATION
Database AdministrationAdministrative Assistant
AssureRECOVERY
Recovery ManagementRecovery for SAP
Recovery for Siebel
Manage mainframe and distributed databases from a single console. Manage mainframe and distributed databases from a single console.
Oracle
IMS
DB2 UDB for Unix, Windows and Linux
SQL Server
Sybase
DB2 UDB for z/ OS and OS/ 390
OracleOracle
IMSIMS
DB2 UDB for Unix, Windows and LinuxDB2 UDB for Unix, Windows and Linux
SQL ServerSQL Server
SybaseSybase
DB2 UDB for z/ OS and OS/ 390
DB2 UDB for z/ OS and OS/ 390
Business Service Management - Schematic
©2003 BMC SoftwareMay 3, 202324
Applications
Databases
Network
Systems
Workstations
Storage
Security
Customer View of BSM
Customer / Partner
Business Executives
IT Operations
DB Administrators
Customer & Partner Support via Remedy
BSM Console
Patrol & MainView Console and Dispatch
SmartDBA Console
•Excellent Customer support regarding IT issues
•Proactive notification (voice response)
•Real-time business health
•High Business Availability
•Prioritization of Tasks•Timely resolution•Historic trends
supports preventative maint.
•Prioritization of Tasks
•99.999% Business
AvailabilityLif
Business Service
Management
©2003 BMC SoftwareMay 3, 202325
SmartDBA and BSM in Action – A Case Study
The Scenario: Trading Floor Application› Processing an order requires customer, quote, order_type,
and order detail information› Business must process thousands of orders a day within trading
guidelines to meet service goals… Failure to meet SLA results in lost revenue, upset customers, and damaged reputation
The Challenge› Deep in the infrastructure, a key
table in the order detail database is filling up, with the potential of halting processing during the most active trading period
› Let’s see how BSM and SmartDBA can keep the business running!
©2003 BMC SoftwareMay 3, 202326
How SmartDBA Works for Business
!
Deep in the infrastructure, a key table in the order_detail database is filling up, which could potentially halt trading!This event is automatically detected and routed to the service model and the DBA.
©2003 BMC SoftwareMay 3, 202327
Business Priorities are Pre-defined
Business relevance criteria is proactively identified in advance to ensure that issues will be resolved seamlessly, based on the priority of the business service that is affected.
!
©2003 BMC SoftwareMay 3, 202328
Business Impact is Assessed
The business service impact of the database event is assessed by the service model.
The service model ensures that the appropriate action is scheduled and prioritized, updating management systems.!
©2003 BMC SoftwareMay 3, 202329
Tasks are Assigned
A work ticket is automatically generated and tasks are assigned to the Database and Storage Administrators with HIGH priority.
!
©2003 BMC SoftwareMay 3, 202330
Action is Taken
then the Database Administrator adds more storage to the problem table.
The Storage Administrator allocates the space,
!
©2003 BMC SoftwareMay 3, 202331
The Result
Bottom-Line: The Trading Floor Application DID NOT MISS A BEAT!
› The database condition was detected before the outage occurred
› The operations team immediately recognized the potential impact to a key business service
› The help desk and support groups reacted to ensure a work ticket was generated and work scheduled and prioritized
› The database administration team had the information and tools to address the problem right away
› The ticket was closed, the system kept running, and the entire IT team was aligned on the highest priority work, ensuring the high availability of a mission critical business service
©2003 BMC SoftwareMay 3, 202332
› SmartDBA Solutions provide a source of rich, intelligent database events today (mainframe and distributed), accessible to BSM through PATROL and MAINVIEW.
› The Service Impact Manager provides a robust toolkit for building models relating IT assets to Business Services.
› Remedy provides a suite of process management tools including Help Desk, Asset Management, and Change Management.
› BMC SIM provides business oriented monitoring and alerting based on events in the infrastructure.
Business Service Management -The Complete Picture
©2003 BMC SoftwareMay 3, 202333
Business Service Management -The Complete Picture
BMC SoftwareHeritage Solutions
PATROL
RemedyHelp Desk
BusinessRelevance
SmartDBA
PATROL Express
MAINVIEW
PATROL Network
Management
RemedyChange
Management
RemedyAsset
Management
RemedyService LevelAgreements
Business
IT
PATROL EnterpriseManager
CONTROL-M
CONTROL-SA
Performance Prediction
Analysis
Performance Metrics
Business IT
Appl
icat
ions
MasterCell
Remedy
PATROL
MasterCell
RemedyHelp Desk
BusinessRelevance
SmartDBA
PATROL Express
MAINVIEW
PATROL Network
Management
RemedyAsset
ManagementBusiness
PATROL EnterpriseManager
CONTROL-M
CONTROL-SA
RemedyChange
Management
RemedyService LevelAgreements
IT
Performance Prediction
Analysis
Performance Metrics
Business IT
Appl
icat
ionsMasterCell
PATROL
RemedyHelp Desk
BusinessRelevance
SmartDBA
PATROL Express
MAINVIEW
PATROL Network
Management
RemedyAsset
ManagementBusiness
PATROL EnterpriseManager
CONTROL-M
CONTROL-SA
RemedyChange
Management
RemedyService LevelAgreements
IT
Performance Prediction
Analysis
Performance Metrics
Business IT
Appl
icat
ions
MasterCell
PATROL
RemedyHelp Desk
BusinessRelevance
SmartDBA
PATROL Express
MAINVIEW
PATROL Network
Management
RemedyChange
Management
RemedyAsset
ManagementBusiness
PATROL EnterpriseManager
CONTROL-M
CONTROL-SA
RemedyService LevelAgreements
IT
Performance Prediction
Analysis
Performance Metrics
Business IT
Appl
icat
ions
MasterCell
©2003 BMC SoftwareMay 3, 202334
Phases of Integration
All of the Components are Available Today› Customers can build and execute comprehensive BSM
processes today.› Integration and automation of the processes remain the
areas where BMC is focusing its development.Current Development Efforts› Enhanced event integration—Direct feed of SmartDBA
events and contextual information to the SIM using an API.› Database Environment Discovery—Direct feed of the
SmartDBA environment catalog to the SIM using an API.Future Plans› Automatic feed of SIM priority calculations to SmartDBA› Automatic open/close of Remedy tickets› Direct query of SIM information from SmartDBA (ex:
determine optimal time to run a maintenance task, etc.)
©2003 BMC SoftwareMay 3, 202335
BSM and SmartDBA
BSM Services Ensure› That the IT stack is managed with a clear and focused
view of its impact on the critical business services upon which the organization depends
SmartDBA Delivers› A rich set of information and automation tightly
connected to the BSM management process› A complete portfolio of products to ensure that the
DBA can respond quickly and effectively to events that impact the database
› The ability to prevent issues from occurring at all through proactive management of the environment!