Your SlideShare is downloading. ×
0
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upgrade to 2008 Best of PASS 888
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Upgrade to 2008 Best of PASS 888

346

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
346
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Migration to SQL 2008 in a Mission Critical Environment
  • 2.
    • Agenda
    • 3. About 888
    • 4. Upgrade Methodology
    • 5. Upgrade Tools
    • 6. Upgrade Process
    • 7. Demo โ€“ Real-Time Migration
    • Agenda
    • 8. About 888
    • 9. Upgrade Methodology
    • 10. Upgrade Tools
    • 11. Upgrade Process
    • 12. Demo โ€“ Real-Time Migration
  • About 888
    • 888.com is a global online gaming company.
    • 13. Our purpose is to provide quality entertainment for people who enjoy gambling.
    • 14. Giving them the opportunity to do so in a safe, fun, fair, regulated and secure environment.
  • Our products
  • 15. 888 Database Environment
  • 16. R&R Of DB Infrastructure Team
  • SQL 2008 Project Summary
    • 50 production clustered instances were upgraded
    • 26. 300 development and QA instances were upgraded
    • 27. All SQL server hosts upgraded windows 2008 R2 OS
    • 28. Cut licensing costs by more than $500,000
    • 29. Reduce load from IO subsystems by using SQL server compression
    • 30. Minimal interference to the operation
  • DB Infrastructure Team
  • 31.
  • In Place Upgrade
    Advantages
    • Simple
    • 37. No connection string changes
    • 38. No need to copy system objects โ€“ system DBs are upgraded
    • 39. No need to copy the user databases
    Disadvantages
    • No control over the process
    • 40. A standby server is mandatory for a quick rollback
  • Side by Side Upgrade
    Advantages
    • Full control over the process
    • 41. A quick rollback
    • 42. OS upgrade can be included
    Disadvantages
    • The necessity of copying the system objects
    • 43. Connection string changes pose an overhead
  • In Side Upgrade
  • 44. Copy System Objects
    By The Book:
    • Generate Export/Import Scripts
    Q: Can I copy system databases across different versions?
  • 49. Copy system databases across different versions of SQL servers
    System DBs
    System DBs
  • 50. Connection String Change
    By the book:
    • Stop application
    • 51. Change connection strings
    • 52. Start application
    ๐‘‹ย (๐‘๐‘ข๐‘šย ๐‘œ๐‘“ย ๐ด๐‘๐‘๐‘ )ย ๐‘‹ย (๐‘๐‘ข๐‘šย ๐‘‚๐‘“ย ๐ผ๐‘›๐‘ ๐‘ก๐‘Ž๐‘›๐‘๐‘’๐‘ )
    ย 
  • 53. Downtime Timeline
    Downtime ends
    Downtime starts
    Conn stringchanges
    DBs RW2008
    DBsRO2000/2005
    Backup log
    Stop allapps
    Start all apps
    Restore log
    Q: Can we do it in one step and faster?
  • 54. Server Identification
    Q: What can I change?
  • 63. Change the SERVER Identification
    2005
    2008
  • Downtime Timeline
    Downtime ends
    Downtime starts
    Conn stringchanges
    DBs RW2008
    DBsRO2000/2005
    Backup log
    Stop allapps
    Start all apps
    Restore log
  • 68. Copy User Databases
    - Works at the database level
  • 74.
  • Installation Challenge #1
    Number of installations
    SQL 2008 Basic Installation
    SP1
    CU6
  • 80. Slipstream
    Means to integrate packages of updates, patches or service-packs into one installation pack.
    Robocopy
  • 81. Slipstream Advantages
    • 66% less installations
    • 82. Less restarts & less failovers
    • 83. Saves time
  • Installation Challenge #1
    Number of installations
    SQL 2008 SP1
    CU6
    SQL 2008 Basic Installation
    SP1
    CU6
  • 84. Installation Challenge #2
    Installation Duration
    SQL 2008
    Full Installation
  • 85. Silent Installation
    Installation that does not display messages or windows during its progress
  • 86. Silent Installation Advantages
    • Easy to use โ€“ less parameters than GUI
    • 87. Saves time
    • 88. Install many instances with one script
    • 89. Coherence and uniformity in all environments
  • Silent Installation
  • 90. Installation Challenge #2
    Installation Duration
    SQL 2008 SP1
    CU6
    SQL 2008 SP1
    CU6
  • 91. Copy User Databases
    Microsoft Log Shipping
    Works at the database level
    888 AutoRestore
    Works at the instance level
  • 92. In-House Tool โ€“ Autorestore
  • 93. Auto Restore Implementation ย 
    • An in-house tool that facilitates the control and management of restores from a central location
    • 94. Uses transaction log backups from the source servers
    • 95. Supports parallel restore operations
    • 96. Works on an instance level (several databases) and not on a per-database basis (Mirroring)
  • Pre-Migration
    Preparation Stage
    • Run Windows cluster validation
    • 102. Install a new instance on a new cluster
    • 103. Perform a failover
    • 104. Network โ€“ check open ports
    • 105. Open UDP 1434 or create aliases
  • Pre-Migration
    Preparation Stage
    Restore server objects by restoring the system databases
    Windows 2008
    Windows 2003
    Restore
    Upgrade
    Restore
    Instance 2005
    Instance2008
    Instance
    20002005
    Instance
    2008
  • 106. Pre-Migration
    Preparation Stage
    Copy user databases using instance level log shipping (Auto-Restore)
    Windows 2003
    Windows 2008
    Auto-Restore
    Instance
    20002005
    Instance
    2008
  • 107. Pre-Migration
    Simulation Stage
    • Application sanity checks
    • 108. System health checks โ€“ OS ,Storage, Host, Network
    • 109. Migration Process (scripts, time)
    • 110. Compression Preparations
  • Migration Day
    On 2000/2005 Instance
    Stop SQL server agent
    2. Set all databases to read-only
    Run last log backup for all databases
  • 111. Actual Migration
    On 2008 Instance
    4. Restore last logs with no recovery
    5. Check if all the logs were restored from the old server
    6. Restore with recovery for all databases
    7. Set all databases to read-write
    8. Fix orphan logins
    9. Change compatibility to 100
  • 112. Actual Migration
    Changing Instance Identification
    10. Take offline the old instance group
    Take offline the new instance group
    Delete the old and the new virtual IP and name DNS records from the DNS server
  • 113. Actual Migration
    Changing Instance Identification
    Clear the DNS serverโ€™s cache
    Give the new server the old serverโ€™s virtual IP &
    name
    15. Flush DNS cache clients of new server, Arpcache
    16. Start the new instance group
  • 114. Post-Migration
    Perform Sanity Checks
    Check NOC Alerts
    3. Check SSIS, MSDTC and Job statuses
    4. Run a Profilerโ€™s Error Trace
    5. Check ย SQL Error Log & Event Log
    6. Check Performance Baseline
    7. Run Full Backups
  • 115. Compression
    • Compression Advisory โ€“ in-house utility
    • 116. Compression Scripts

ร—