tfs 2015 upgrade tips and tricks

26
North American Leader in ALM Services Services

Upload: incyclesoftware

Post on 13-Feb-2017

581 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Tfs 2015 Upgrade Tips and Tricks

North American Leader in ALM ServicesServices

Page 2: Tfs 2015 Upgrade Tips and Tricks

TFS 2015Upgrade Scenarios and

How to Avoid Surprises

David Jung, Sr. ALM Consultant

InCycle Software

New York ▪ Seattle ▪ Montreal

Page 3: Tfs 2015 Upgrade Tips and Tricks

Agenda

• Upgrade Path Considerations

• How to prepare for the Upgrade

• Post Upgrade Gotchas

• Q & A

Page 4: Tfs 2015 Upgrade Tips and Tricks

Upgrade Path Considerations:In-Place versus Migrate• What version of TFS are you currently using?

• What is the hardware and underlying software is TFS on?

• Do you want to stop hosting it yourself?

Page 5: Tfs 2015 Upgrade Tips and Tricks

Upgrade Path Considerations:In-Place versus Migrate

Current TFS

>=

TFS

2010

SP1

Meet

2015

SW

Req

Migrate to

2015 or VSTS

Migrate to

2015 or VSTS

Candidate for

In-Place

No

No

Yes

Yes

Page 6: Tfs 2015 Upgrade Tips and Tricks

TFS RequirementsTFS 2010 TFS 2012 TFS 2013 TFS 2013 Update 2 TFS 2015

WS 2003 SP2

WS 2003 R2

WS 2008 SP2

WS 2008 R2

WS 2008 SP2

WS 2008 R2

WS 2012

WS 2012 R2

WS 2008 R2 SP1

WS 2012

WS 2012 R2

WS 2008 R2 SP1

WS 2012

WS 2012 R2

WS 2008 R2 SP1

WS 2012

WS 2012 R2

SQL 2008

SQL 2008 R2 SQL 2008 R2

SQL 2012 SQL 2012 SP1 SQL 2012 SP1

SQL 2014

SQL 2012 SP1

SQL 2014

Win SP Svcs 3.0

SPS 2007

Win SP Svcs 3.0

SPS 2007

SharePoint 2010

SharePoint 2013

SharePoint 2010

SharePoint 2013

SharePoint 2010

SharePoint 2013

SharePoint 2010

SharePoint 2013

Reference: TFS 2015 Requirements and Compatibility

Page 7: Tfs 2015 Upgrade Tips and Tricks

Upgrade Paths

TFS 2008 orTFS 2010

TFS 2012 TFS 2015

TFS 2010 SP1,TFS 2012, or

TFS 2013

Page 8: Tfs 2015 Upgrade Tips and Tricks

Preparation for Upgrade

• Prepare your environment

• Expect the unexpected (Plan the work and do a dry run)

• Do the upgrade (Work the plan)

• Post Upgrade Tasks

Page 9: Tfs 2015 Upgrade Tips and Tricks
Page 10: Tfs 2015 Upgrade Tips and Tricks

Prepare your environment

• How Big is your Collection Size(s)?

• Do you want to separate App Tier from Data Tier?

• Is it time to clean up your databases?

Page 11: Tfs 2015 Upgrade Tips and Tricks

Using SQL Server Enterprise Edition

• Use TfsPreUpgrade utility

• Especially helpful if your Collections are 1TB or greater

• It performs the database feature upgrades that would normally be done during the upgrade process. • It creates and modifies a number of indexes to the system while

still online.

• Creates new tables and triggers, updates sprocs, etc.

• It could potentially require a lot of disk space so the tool tries to pre-allocate space it needs.

• Cannot be used on non-Enterprise Editions of SQL Server. Therefore, non-Enterprise SQL deployments will do standard offline upgrades.

Page 12: Tfs 2015 Upgrade Tips and Tricks
Page 13: Tfs 2015 Upgrade Tips and Tricks

Workflow of In-Place versus Migration

In-Place

• Backup collections

• Put TFS in single user mode

• Install TFS 2015

• Run Upgrade against collections

• Take TFS out of single user mode

Migration• Build new environment and

test

• Backup collections

• Detach and Move Collections (Dry Run)

• Run Upgrade against collections (Test upgrade)*

• (Optional)Schedule actual• Final Detach, Move, and Upgrade

• Tell everyone what the new environment is

• Put everyone is Read-Only mode in old environment

Page 14: Tfs 2015 Upgrade Tips and Tricks

Where my Stand-Alone Team Explorer?

• Starting with Visual Studio 2015, Microsoft will no longer ship a stand alone version of Team Explorer

• Team Explorer is included in all versions of Visual Studio 2015, including the Community Edition

• Or continue to use Team Explorer 2013

• For Office Integration, there is a separate installer available.

Page 15: Tfs 2015 Upgrade Tips and Tricks

Build System – XAML versus Build 2015

• TFS 2015 comes with a new scriptable cross-platform build system

• Old version now referred to XAML Controller

• TFS 2015 support the following Build Servers:

• TFS 2015 Build Agent

• TFS 2015 XAML Controller

• TFS 2013 XAML Controller

• TFS 2012 XAML Controller

• TFS 2010 XAML Controller

Page 16: Tfs 2015 Upgrade Tips and Tricks
Page 17: Tfs 2015 Upgrade Tips and Tricks

Post Upgrade Tasks

• Clear TFS server and client cache

• Rare instance: Might have to update your process template (multiple “Complete” states)

• Configure new features for every team project

Page 18: Tfs 2015 Upgrade Tips and Tricks
Page 19: Tfs 2015 Upgrade Tips and Tricks
Page 20: Tfs 2015 Upgrade Tips and Tricks

Want to Migrate to VSTS?

• Are you currently using customized process templates?

• Are you currently relying on SharePoint with your TFS install?

• Are you currently relying on SSRS with your TFS install?

Page 21: Tfs 2015 Upgrade Tips and Tricks

Migration options from TFS to VSTS

• Simple migration

• Currently using OOTB Process Templates

• Keeping current source code structure in TFVC

• OpsHub Visual Studio Online Migration Utility (Free utility)• Blog: TFS to VSO Upgrade Made Easy

• Complex migration

• Going from custom process template to OOTB VSTS templates

• Migrating source from TFVC to VSTS Git

• Get some assistance

Page 22: Tfs 2015 Upgrade Tips and Tricks

Wrap up slide

• In-Place versus Migration Upgrade Strategy

• Steps for Doing the Upgrade

• Considerations for VSTS

Page 23: Tfs 2015 Upgrade Tips and Tricks

Closing Remarks & Next Steps:

Page 24: Tfs 2015 Upgrade Tips and Tricks

Promotion:

Book Your TFS

2015 Upgrade by

December 31st!

Microsoft

Funded

Programs

/InCycleSoftware @InCycleSoftware /company/incycle-software incyclesoftware.com/blog/

Contact us: [email protected]

1-(800) 565-0510

Page 25: Tfs 2015 Upgrade Tips and Tricks

Upcoming webcast:

TFS 2015 – Top Upgrade

Questions and Live Q&A

December 17th

2 pm ET/11 am PT

Page 26: Tfs 2015 Upgrade Tips and Tricks