Upload
tim-mckay
View
160
Download
0
Embed Size (px)
Citation preview
Microsoft Data Platform Day
SQL 2005 End of Life:Challenges with Legacy AppsTim McKay, MBA, GDM, BSc
AnyKey Solutions Ltd.
Microsoft Data Platform Day
About AnyKey Solutions Ltd.
• Partnership mindset | Clients and Vendors. We work with you, not for you.• Established in Calgary in 1997, rich 18 year history.• In-house and virtual team of 90+ IT staff based in 3 countries.
Quality Foundation
• 24x7 managed and co-managed back office systems management.
• 24x7 end user Tier 1-4 technical support offerings.
• Business process analysis and consulting.
• Technical solution consulting and design.• Mobile, web and desktop application
development.
• Today• Rich SQL assessment, operational
support and architectural capability.
• In-house and virtual DBA bench strength.
• Strategy• Be at the forefront of solving SQL
Server challenges for businesses.
Service Background SQL Server Specialty
Microsoft Data Platform Day
What makes a Legacy SQL App upgrade a success?• SQL versions are tied to
applications and are limited to the support they have from the vendor, and internally.
• You also are probably thinking of those few apps that just can’t migrate.
• In one or more of these layers, you probably see risks that you need to eliminate or manage before you could even consider making the jump.
SQL Server Software (SQLServer.exe/SPs/Hotfixes)
Core Data Services (Full Text, Query Optimization)
Protocols(TCPIP, Named Pipes, etc)
Windows (KB/Hotfix/SPs, .NET)
Infrastructure (Hypervisor, Disk subsystems, Network)
Secu
rity
(AD
, AC
Ls, S
QL
user
s)
SSIS, SSAS, SSRS
Client Connection Layer(Native Client, ADO.NET, ODBC)
Server-Side App Logic (Stored Functions/Procedures, Triggers, ETL Packaging)
Client Application Queries
Microsoft Data Platform Day
• Attempted backend upgrade and technical analysis.
• Tried new procedures and security for end-users.
• In the end: moved to 3rd party hosting.• Key benefits:
• I.T. “made the app work” for the Business.
• Mitigating controls satisfied auditors.• SQL versions standardized.
SQL 2005 Legacy App Example
• Legacy application was used very infrequently (2-3 times/year by select group of geologists); but was critical for asset evaluation in data room.
• Each “project” in the tool had it’s own SQL 2005 database; path selected by end-users – some on user profiles on Citrix app server; some to network shares. Many of these files no longer existed but were still attached to the server.
• I.T. given mandate to ‘make the app work’.
Challenge
• No directly viable upgrade path – EOL + acquisition.
• Alternate solution was hundreds of thousands.
• The only interface to this system was via Excel.
• Audit not happy with uncontrolled data at rest.
Decision Factors
Strategies
• What if a Legacy App can’t be upgraded?
Dealing with the stragglers
Microsoft Data Platform Day
Next Steps
• Tim McKay, President & CEO• Phone: (403) 516-4161 x 10• Email: [email protected]
• www.AnyKey.com
• #202, 90 Freeport Blvd. NE Calgary, AB T3J 5J9
AnyKey Solutions Ltd.
1. Choose a Free SQL 2005 or 2008/R2 Server Upgrade Assessment• 1 day complimentary engagement • Our consultants review your server
and outline a plan on options to migrate an entire to SQL 2014 or SQL Azure.
2. Choose a Free SQL 2005-based Legacy App Focus Study• 1-2 day complimentary engagement• Our consultants review the entire
stack with your team at a high-level to identify actionable strategies to migrate to SQL 2014 or SQL Azure.
Offer for Attendees
Microsoft Data Platform Day
Microsoft Data Platform Day
Microsoft Data Platform Day
Tim McKayAnyKey Solutions Ltd. Microsoft Partner
Microsoft Assessment & Planning Tool (MAP)
Microsoft Data Platform Day
What makes a Legacy SQL App upgrade a success?• SQL versions are tied to
applications and are limited to the support they have from the vendor, and internally.
• You also are probably thinking of those few apps that just can’t migrate.
• In one or more of these layers, you probably see risks that you need to eliminate or manage before you could even consider making the jump.
SQL Server Software (SQLServer.exe/SPs/Hotfixes)
Core Data Services (Full Text, Query Optimization)
Protocols(TCPIP, Named Pipes, etc)
Windows (KB/Hotfix/SPs, .NET)
Infrastructure (Hypervisor, Disk subsystems, Network)
Secu
rity
(AD
, AC
Ls, S
QL
user
s)
SSIS, SSAS, SSRS
Client Connection Layer(Native Client, ADO.NET, ODBC)
Server-Side App Logic (Stored Functions/Procedures, Triggers, ETL Packaging)
Client Application Queries
Microsoft Data Platform Day
MAP Tool Features• Hardware and software inventory data collectors• Performance and utilization data collectors• Discovery methods:
• Active Directory Domain• IP address range• System Center Configuration Manager (SCCM)• Manually entered systems & creds • Imported list (ie from RMM or Inventory Tools)
• Analysis wizards on performance and usage• Cloud readiness
• Windows 8.1 & Windows 10 readiness analysis• Office 2010, 2013 readiness• Windows Server 2008 R2, 2012, 2012 R2 readiness• Web applications• Desktop virtualization• Server virtualization• DATABASE DISCOVERY !! (Finally.)
Microsoft Data Platform Day
MAP Tool Benefits• Find systems you didn’t know you had• Plan for Azure readiness• VMs running Windows and SQL Server• Azure SQL Database• Hosted Oracle
• Identify needed capacity for Azure VM for IaaS consideration
Microsoft Data Platform Day
MAP Tool for SQL 2005 Migration• A great tool to find instances of SQL Server 2000, 2005, 2008
or 2008 R2 you may want to upgrade to SQL 2014.
• Kill many birds with one stone :• Leverage the cloud and migration tools for analysis. • Find issues, resolve them.• Destroy test environments when done.• Try Azure services if you haven’t before.• Sample the power of SQL 2014 OLTP with your apps first hand.
Microsoft Data Platform Day
Start Collection – Scenarios & Methods
Microsoft Data Platform Day
Credentials – Windows + SQL (sa)
Depending on Degree of Admin Access Segregation, may need to enter multiple IDs.
Microsoft Data Platform Day
Running Collection – 298 in ~10 min
Microsoft Data Platform Day
Overview + Cloud
Microsoft Data Platform Day
Desktop + Server
Microsoft Data Platform Day
Sweet, Sweet Databases• Counts by version level• Azure VM readiness analysis
• SQL 2000 through 2014• Oracle 9 through 11
Microsoft Data Platform Day
Drilldowns + Assessment Excel Reports
Microsoft Data Platform Day
Microsoft Data Platform Day
Tim McKayAnyKey Solutions Ltd. Microsoft Partner
SQL Azure Migration Wizard
Microsoft Data Platform Day
What makes a Legacy SQL App upgrade a success?• SQL versions are tied to
applications and are limited to the support they have from the vendor, and internally.
• You also are probably thinking of those few apps that just can’t migrate.
• In one or more of these layers, you probably see risks that you need to eliminate or manage before you could even consider making the jump.
SQL Server Software (SQLServer.exe/SPs/Hotfixes)
Core Data Services (Full Text, Query Optimization)
Protocols(TCPIP, Named Pipes, etc)
Windows (KB/Hotfix/SPs, .NET)
Infrastructure (Hypervisor, Disk subsystems, Network)
Secu
rity
(AD
, AC
Ls, S
QL
user
s)
SSIS, SSAS, SSRS
Client Connection Layer(Native Client, ADO.NET, ODBC)
Server-Side App Logic (Stored Functions/Procedures, Triggers, ETL Packaging)
Client Application Queries
Microsoft Data Platform Day
SQL AzureMW Tool Features• Main function of the AzureMW tool is to migrate databases to
Azure hosted SQL Database services or Azure hosted VMs running SQL 2014.
• Since Azure SQL is based on SQL 2014 (ish), we can leverage this tool for analysis purposes even if Azure isn’t the final destination. Remember we’re trying to discover blind spots to reduce risks.
• Analyze previously created SQL Profile Trace files• Analyze TSQL scripts for compatibility• Analyze + (optional) Migrate Database • Analyze TSQL File (useful for iterative testing)
Microsoft Data Platform Day
SQL AzureMW Tool Benefits• General benefits• Identify potential issues with code-level execution (trace files)• Identify potential issues with standard script libraries• Identify potential issues in DDE and stored user code (procs & funcs)
• Azure Migration benefits• Identify Azure SQL-specific issues
• From my perspective, the chief benefit is :• Remember, most software vendors are developers, not DBAs with
your expertise. Help them help you.• Provides specific, actionable fixes your vendors can implement
quickly without wasted cycles on analysis.
Microsoft Data Platform Day
Profiler Trace file analysis
Microsoft Data Platform Day
Database Analysis Scenario• ERP Database – SQL 2008 R2• ~ 1000 tables• ~ 100 stored procedures• 1.6gb data file• 0.7gb log file
Microsoft Data Platform Day
Select Source DB + Objects
Microsoft Data Platform Day
Start Analysis• Wizard will generate a SQL script
with DDE• BCP data extract to C:\
SQLAzureMW\BCPData folder
• Recommend manually purging prior to successive runs.
Microsoft Data Platform Day
Sample Error Outputs
Microsoft Data Platform Day
Sample Error Outputs
Microsoft Data Platform Day
Sample Error Outputs
Microsoft Data Platform Day
Performance• Target : SQL Database V12• 8 min 43 sec• Most tables had issues
• Target : Azure SQL• 5 min 0 sec• Half to ¾ tables had issues
• Target : SQL Server • 5 min 35 sec• No issues
Microsoft Data Platform Day
Microsoft Data Platform Day
Tim McKayAnyKey Solutions Ltd. Microsoft Partner
SQL 2014 Upgrade Advisor
Microsoft Data Platform Day
What makes a Legacy SQL App upgrade a success?• SQL versions are tied to
applications and are limited to the support they have from the vendor, and internally.
• You also are probably thinking of those few apps that just can’t migrate.
• In one or more of these layers, you probably see risks that you need to eliminate or manage before you could even consider making the jump.
SQL Server Software (SQLServer.exe/SPs/Hotfixes)
Core Data Services (Full Text, Query Optimization)
Protocols(TCPIP, Named Pipes, etc)
Windows (KB/Hotfix/SPs, .NET)
Infrastructure (Hypervisor, Disk subsystems, Network)
Secu
rity
(AD
, AC
Ls, S
QL
user
s)
SSIS, SSAS, SSRS
Client Connection Layer(Native Client, ADO.NET, ODBC)
Server-Side App Logic (Stored Functions/Procedures, Triggers, ETL Packaging)
Client Application Queries
Microsoft Data Platform Day
Select Host & Services, Connection
Reporting Services must be performed local on host;Recommend running all on localhost
Microsoft Data Platform Day
Select Databases for Analysis
Microsoft Data Platform Day
Confirmation and a Gotcha
Compatibility SQL 2005 mode 90 and higher only
Microsoft Data Platform Day
Performance• Virtualized Server• 6 vCPU• 24 GB RAM• SQL 2012 R2, latest SP
• ~ 4-5 minutes execution time