17
Migrating To SQL Server 2005 Just Like A Trip To The Beach Michael Townshend & Dennis Murphy DNREC

Migrating To Sql Server 2005

Embed Size (px)

DESCRIPTION

Migrating To Sql Server 2005

Citation preview

Page 1: Migrating To Sql Server 2005

Migrating To SQL Server 2005Migrating To SQL Server 2005

Just Like A Trip To The Beach

Michael Townshend & Dennis Murphy DNREC

Just Like A Trip To The Beach

Michael Townshend & Dennis Murphy DNREC

Page 2: Migrating To Sql Server 2005

Step 1 – Assess Your Readiness

• Swim Suit Still Fit?– Time to upgrade hardware?

• Sun Screen Out of Date?– Inventory User Accounts,

Databases & Delete Unneeded

• Make a To Do List– Run SQL Server Upgrade

Advisor

Page 3: Migrating To Sql Server 2005

Step 1 – Assess Your Readiness

• DNREC Hardware– Pre-Upgrade

• 2 quad Processor Servers in Active/Passive Configuration with 1 TB SAN

– Post Upgrade• 2 Dual Core Hyper-threaded 64

bit Quad Processor Servers in Active/Passive Configuration with 3 TB SAN

Page 4: Migrating To Sql Server 2005

Make A PlanMake A Plan

• Pick Vehicle

• Make Load Plan

• Set Date

• Pick Vehicle

• Make Load Plan

• Set Date

Page 5: Migrating To Sql Server 2005

Pick A VehiclePick A Vehicle• Bicycle (Express)

–Max CPU: 1 Max RAM: 1GB–Max DB Size: 4GB–Failover Clustering: No–Report Server: No–Management Studio: No–SSIS: No–Free

• Bicycle (Express)–Max CPU: 1 Max RAM: 1GB–Max DB Size: 4GB–Failover Clustering: No–Report Server: No–Management Studio: No–SSIS: No–Free

Page 6: Migrating To Sql Server 2005

Pick A VehiclePick A Vehicle• Compact (Workgroup)

–Max CPU: 2 Max RAM: 3 GB–Max DB Size: No Limit–Failover Clustering: No–Report Server: No–Management Studio: Yes–SSIS: No–$

• Compact (Workgroup)–Max CPU: 2 Max RAM: 3 GB–Max DB Size: No Limit–Failover Clustering: No–Report Server: No–Management Studio: Yes–SSIS: No–$

Page 7: Migrating To Sql Server 2005

Pick A VehiclePick A Vehicle• Sedan (Standard)

–Max CPU: 4* Max RAM: No Limit–Max DB Size: No Limit–Failover Clustering: Yes–Report Server: Yes–Management Studio: Yes–SSIS: Yes (Simple Transforms)–$$

• Sedan (Standard)–Max CPU: 4* Max RAM: No Limit–Max DB Size: No Limit–Failover Clustering: Yes–Report Server: Yes–Management Studio: Yes–SSIS: Yes (Simple Transforms)–$$

Page 8: Migrating To Sql Server 2005

Pick A VehiclePick A Vehicle• Luxury Sedan (Enterprise)

– Max CPU: None Max RAM: No Limit– Max DB Size: No Limit– Failover Clustering: Yes– Report Server: Yes– Management Studio: Yes– SSIS: Yes (Advanced Transforms)– $$$$

• Luxury Sedan (Enterprise)– Max CPU: None Max RAM: No Limit– Max DB Size: No Limit– Failover Clustering: Yes– Report Server: Yes– Management Studio: Yes– SSIS: Yes (Advanced Transforms)– $$$$

Page 9: Migrating To Sql Server 2005

Make Load PlanMake Load Plan• Coolers>Chairs>Towels

– Install SS 2005 on staging server with same name as new server

– Migrate DBs Individually to Staging Server• Use Backup & Restore • Point Apps to New Location

– Over Weekend• Move DBs to new cluster• Rename cluster to name of staging server

• Coolers>Chairs>Towels– Install SS 2005 on staging server with

same name as new server– Migrate DBs Individually to Staging

Server• Use Backup & Restore • Point Apps to New Location

– Over Weekend• Move DBs to new cluster• Rename cluster to name of staging server

Page 10: Migrating To Sql Server 2005

Fix Your ToolsFix Your Tools

• Migrate DTS Packages To SSIS• Migrate DTS Packages To SSIS

• There are problems directly migrating DTS packages from the server to SSIS

• Online resources indicate problems lie in Package names.

• Upgrade advisor does not check this.

• We chose to export from 2K5 to Structured Text Files then upgraded each separately.

• There are problems directly migrating DTS packages from the server to SSIS

• Online resources indicate problems lie in Package names.

• Upgrade advisor does not check this.

• We chose to export from 2K5 to Structured Text Files then upgraded each separately.

Page 11: Migrating To Sql Server 2005

Fix Your Tools

• Migrate DTS Packages To SSIS

• Upgrade wizard will not convert all tasks.

• Tasks not converted will remain DTS tasks within a SSIS rapper.

• This causes confusion with connection strings as they are changed in the DTS package, not the SSIS rapper.

Page 12: Migrating To Sql Server 2005

Fix Your Tools

• Migrate DTS Packages To SSIS

• Packages not upgraded will need to be redeveloped in SSIS.

• Packages not upgraded will need to be redeveloped in SSIS.

Page 13: Migrating To Sql Server 2005

Fix Your ToolsFix Your Tools

• Migrate DTS Packages To SSIS• Migrate DTS Packages To SSIS

• SSIS Development– Be careful of the 64 bit environment– SSIS will not use 32 bit drivers event

if installed on the server.– This has implications when

accessing data with Jet drivers as no 64 bit versions do not exist.

– Explicit data type conversions are expected especially between Unicode and non-Unicode.

• SSIS Development– Be careful of the 64 bit environment– SSIS will not use 32 bit drivers event

if installed on the server.– This has implications when

accessing data with Jet drivers as no 64 bit versions do not exist.

– Explicit data type conversions are expected especially between Unicode and non-Unicode.

Page 14: Migrating To Sql Server 2005

Fix Your Tools

• Migrate DTS Packages To SSIS

• SSIS development environment validates on the fly.– While this is a nice feature it can take

some time when validating large packages.

• SSIS will not retain passwords within the connection strings.– Workaround is to use configuration

files.

• SSIS development environment validates on the fly.– While this is a nice feature it can take

some time when validating large packages.

• SSIS will not retain passwords within the connection strings.– Workaround is to use configuration

files.

Page 15: Migrating To Sql Server 2005

Meet Your Neighbors

• Set Up Linked Servers & Distributed Queries

Page 16: Migrating To Sql Server 2005

64-bit 2K5 to 32-bit 2k• Install SP3 or SP4 on 2K boxes

• Manually run Instcal.sql

• Reference: http://

support.microsoft.com/default.aspx?scid=kb;en-us;906954

Page 17: Migrating To Sql Server 2005

Enjoy!

• Sit Back

• Relax

• Chill Out