Multi-Instance Management <br />TzahiHakikat <br />Adi Cohen <br />
Introduction<br />Multi-Instance Management Challenges<br />Multi-Instance Core Infrastructure<br />Automation of Infrastr...
About<br />*The 1st online casino<br />**The 1st database consulting company ORDER BY create_date DESC<br />***1.5 clients...
888 Database Environment<br />
Introduction<br />Multi-Instance Management Challenges<br />Multi-Instance Core Infrastructure<br />Automation of Infrastr...
Infrastructure DBA Roles and Responsibilities<br /><ul><li>Installations & upgrades
High availability
Maintenance
Data retention
Monitoring
Performance tuning
Version uploads
Security
Troubleshooting</li></li></ul><li>Infrastructure DBA Interfaces<br /><ul><li>Developers
Application DBAs
System
OS
Storage
Networking
NOC</li></li></ul><li>What makes an environment a a multi-instance environment?<br />?<br />
MS Multi-Instance Management Tools Before 2008<br />
MS Multi-Instance Management Tools Since 2008<br /><ul><li>Multiple Server Queries
CMS -  Central Management Server
Data Collector - Management Data Warehouse
Utility Control Point
DAC
Policy-Based Management
Power Shell</li></li></ul><li>Introduction <br />Multi-Instance Management Challenges <br />Multi-Instance Core Infrastruc...
888 Multi-Instance Management Architecture<br /><ul><li>On each instance
Local repository
Local management tools
On Central instance
Upcoming SlideShare
Loading in...5
×

5 multi-instance management

820

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
820
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "5 multi-instance management "

  1. 1. Multi-Instance Management <br />TzahiHakikat <br />Adi Cohen <br />
  2. 2. Introduction<br />Multi-Instance Management Challenges<br />Multi-Instance Core Infrastructure<br />Automation of Infrastructure Tasks<br />Summary<br />
  3. 3. About<br />*The 1st online casino<br />**The 1st database consulting company ORDER BY create_date DESC<br />***1.5 clients on busy days<br />
  4. 4. 888 Database Environment<br />
  5. 5. Introduction<br />Multi-Instance Management Challenges<br />Multi-Instance Core Infrastructure<br />Automation of Infrastructure Tasks<br />Summary<br />
  6. 6. Infrastructure DBA Roles and Responsibilities<br /><ul><li>Installations & upgrades
  7. 7. High availability
  8. 8. Maintenance
  9. 9. Data retention
  10. 10. Monitoring
  11. 11. Performance tuning
  12. 12. Version uploads
  13. 13. Security
  14. 14. Troubleshooting</li></li></ul><li>Infrastructure DBA Interfaces<br /><ul><li>Developers
  15. 15. Application DBAs
  16. 16. System
  17. 17. OS
  18. 18. Storage
  19. 19. Networking
  20. 20. NOC</li></li></ul><li>What makes an environment a a multi-instance environment?<br />?<br />
  21. 21. MS Multi-Instance Management Tools Before 2008<br />
  22. 22. MS Multi-Instance Management Tools Since 2008<br /><ul><li>Multiple Server Queries
  23. 23. CMS - Central Management Server
  24. 24. Data Collector - Management Data Warehouse
  25. 25. Utility Control Point
  26. 26. DAC
  27. 27. Policy-Based Management
  28. 28. Power Shell</li></li></ul><li>Introduction <br />Multi-Instance Management Challenges <br />Multi-Instance Core Infrastructure <br />Automation of Infrastructure Tasks<br />Summary<br />
  29. 29. 888 Multi-Instance Management Architecture<br /><ul><li>On each instance
  30. 30. Local repository
  31. 31. Local management tools
  32. 32. On Central instance
  33. 33. Central repository
  34. 34. Central management tools
  35. 35. Collectors
  36. 36. Alerts
  37. 37. Reporting
  38. 38. Policy store</li></li></ul><li>Inventory<br /><ul><li>Server list
  39. 39. Instance information
  40. 40. Storage mapping
  41. 41. Cluster configuration
  42. 42. Physical/virtual machines </li></ul> Tools<br /><ul><li>Power Shell (with SQLPSX)
  43. 43. Quest Discovery Wizard for SQL Server
  44. 44. Microsoft Assessment and Planning Toolkit</li></li></ul><li>What to Collect?<br />Instance Level <br /><ul><li>Locks
  45. 45. Wait stat
  46. 46. Query stat
  47. 47. Index usage
  48. 48. IO file stats
  49. 49. Error log / dumps
  50. 50. Policy violations </li></ul>OS <br /><ul><li>Performance monitor
  51. 51. Disk
  52. 52. CPU
  53. 53. Memory
  54. 54. Event Log </li></li></ul><li>How to collect<br /><ul><li>Multiple Server Queries
  55. 55. SSIS
  56. 56. Linked Servers
  57. 57. Performance Monitor
  58. 58. Log Parser
  59. 59. Power Shell
  60. 60. CLR impementation</li></li></ul><li>Demo of Data collection<br />
  61. 61. Introduction <br />Multi-Instance Management Challenges <br />Multi-Instance Core Infrastructure <br />Automation of Infrastructure Tasks<br />Summary<br />
  62. 62. Installations & Upgrades<br /><ul><li>Unified SQL version
  63. 63. OS template
  64. 64. Storage layout and presentation
  65. 65. Cluster configuration
  66. 66. Local management objects
  67. 67. Instance-level procedures
  68. 68. Startup procedure
  69. 69. DDL trigger
  70. 70. Error log retention and rolling
  71. 71. Dump file detector</li></ul>Tools<br /><ul><li>Silent installation
  72. 72. Slipstream installation
  73. 73. Object Builder</li></li></ul><li>Demo of Object Builder <br />
  74. 74. High Availability<br /><ul><li>Cluster
  75. 75. Mirroring
  76. 76. Log Shipping
  77. 77. Database Snapshot
  78. 78. Log Shipping
  79. 79. Replication
  80. 80. HADR in Denali</li></ul>Tools<br /><ul><li>Recover point
  81. 81. Auto restore</li></li></ul><li>Demo of High Availability <br />
  82. 82. Data Retention<br /><ul><li>Purging
  83. 83. Archiving
  84. 84. Local instance
  85. 85. Remote instance
  86. 86. Offsite
  87. 87. Storage-tier management</li></ul>Tools <br /><ul><li>FAMS
  88. 88. Partition Manager</li></li></ul><li>Demo of Data Retention<br />
  89. 89. Maintenance<br />Backup<br /><ul><li>Sync between backup types and tape backup
  90. 90. Use backup password
  91. 91. Ease of use when not all DBs are the same</li></ul>Index Rebuild<br /><ul><li>Consider index fragmentation before rebuilding
  92. 92. Learning system – fill factor
  93. 93. Smart decision regarding online/offline rebuild</li></ul>Statistics Update<br /><ul><li>Consider statistics age
  94. 94. Dynamic scan percentage (by table name or number of rows)
  95. 95. No (friendly) T-SQL interface!</li></li></ul><li>Monitoring<br /><ul><li>System health
  96. 96. SQL health
  97. 97. Performance
  98. 98. Abnormal behavior</li></ul>Tools<br />Proactive<br /><ul><li>Morning report
  99. 99. Precise i3
  100. 100. Central Policy-Based Management</li></ul>Active<br /><ul><li>Central Alert System</li></li></ul><li>Demo of Proactive Monitoring <br />
  101. 101. Version Uploads<br />Standards<br /><ul><li>Mass updates
  102. 102. Schema changes
  103. 103. Code review verification</li></ul>Auditing<br /><ul><li>DDL changes
  104. 104. Non-application DML changes
  105. 105. Configuration changes</li></ul>Tools<br /><ul><li>Helpdesk application
  106. 106. Red Gate Multi Scripter
  107. 107. Performance report</li></li></ul><li>Demo of Version Upload Tools<br />
  108. 108. Troubleshooting<br />Where is the source of the problem?<br /><ul><li>Code
  109. 109. Instance
  110. 110. OS
  111. 111. Physicalvirtual machine
  112. 112. Storage
  113. 113. Network</li></ul>Tools <br /><ul><li>Keyboard shortcuts (What’s running)
  114. 114. Central what was running
  115. 115. One minute trace & perfmon
  116. 116. Precise i3</li></li></ul><li>Know your servers intimately<br />Know your enemies just as well<br />Set and enforce a policy<br />Use a proactive approach<br />Automate your tasks<br />
  117. 117. Questions anybody?<br />

×