Neno Loje Consultant & Team System MVP AIT TeamSystemPro Team Session Code: DEV311

Download Report

Transcript Neno Loje Consultant & Team System MVP AIT TeamSystemPro Team Session Code: DEV311

Neno Loje Consultant & Team System MVP AIT TeamSystemPro Team Session Code: DEV311

What this talk is about

What is covered?

Everything you need to set up and manage a Team Foundation Server environment What is not covered?

How to use/work with TFS (e.g. version control)  interactive session today at 5:00 p.m.

Prerequisites You should know what those are: Team Projects, Work Items, Areas, and Iterations.

Who is the TFS Administrator?

IT department ("IT Admin") Hardware, Backup/Restore, Windows Updates Development Team ("TFS Admin") Person of charge Creation of Team Projects Granting Permissions Consulting other team members while using TFS

Abbreviations used in this talk

TFS TSWA TFPT SQL SSRS SSAS WSS = Team Foundation Server = Team System Web Access = Team Foundation Power Tools = SQL Server = SQL Server Reporting Services = SQL Server Analysis Services = Windows SharePoint Services (3.0 +)

Agenda

1 st part: Team Foundation Server 2008 2 nd part: Team Foundation Server 2010

Agenda

1 st part: Team Foundation Server 2008 Preparation Installation Post-Install Configuration All Day Operations 2 nd part: Team Foundation Server 2010

TFS 2008

Things to do now; things to do later

Things to do now Hardware/Software Authentication

Team Project Strategy

Set up a Build process Things that can be done/changed later Hardware/Software Source Control Structure Iteration and Area Planning Methodology (partly)

Hardware Recommendations

It really depends!

Every brand-new server hardware will do Always a good idea Increasing the amount of RAM Hard drive performance is crucial (fast hard drives are good, RAID arrays better) Splitting TFS and SQL on two machines (dual-core configuration) is best for scalability Network bandwidth >= 1 mbps / < 350ms latency Virtualization technologies (Hyper-V, VMware, …)

Hardware Recommendations

# Developers Configuration CPUs Less than 20

Single Server 2 x 2.2 GHz

RAM

2.5 GB (3 GB)

HDD space

80 GB

20 – 100 More than 100

Single Server Dual Server 4 x 2.2 GHz 3 GB (4 GB) 2 x 2.6 GHz / 4 x 2.2 GHz 4 GB / 8 GB (16 GB) 250 GB 500 GB This does not include the hardware for a build machine or lab!

Official Hardware Requirements published by Microsoft: http://msdn.microsoft.com/en-us/library/ms400670.aspx

http://msdn.microsoft.com/en-us/library/ms400749.aspx

Source: http://msmvps.com/blogs/vstsblog/archive/2009/01/06/hardware recommendations-for-team-foundation-server-2008.aspx

TFS Licensing Basics

1 x License for Team Foundation Server 1 x Client Access License (CAL) per user or PC

TFS Licensing Basics

1 x License for Team Foundation Server 1 x Client Access License (CAL) per user or PC Exception: Owners of a Visual Studio Team Edition or Team Suite already own a CAL.

TFS Licensing Basics

1 x License for Team Foundation Server 1 x Client Access License (CAL) per user or PC Exception: Owners of a Visual Studio Team Edition or Team Suite already own a CAL.

Exception: To create and view work items (only the ones you create) you don't need a CAL.

TFS Licensing Basics

1 x License for Team Foundation Server Unlimited build servers included Any TFS Proxy needs additional TFS license 1 x Client Access License (CAL) per user or PC Exception: Owners of a Visual Studio Team Edition or Team Suite already own a CAL.

Exception: To create and view work items (only the ones you create) you don't need a CAL.

TFS Licensing Basics

1 x License for Team Foundation Server Unlimited build servers included Any TFS Proxy needs additional TFS license 1 x Client Access License (CAL) per user or PC Exception: Owners of a Visual Studio Team Edition or Team Suite already own a CAL.

Exception: To create and view work items (only the ones you create) you don't need a CAL.

TFS 2010: a TFS and CAL in every MSDN!

Authentication

Where to store… … users?

Active Directory or local users on TFS computer … group membership?

Active Directory or local groups on TFS computer … the permissions those groups will get?

in Team Foundation Server Active Directory is recommended!

Team Project Strategy

No "perfect" answer Team Projects are ‘big’ containers Microsoft Office (incl. Word, Excel, Outlook, SharePoint Server, etc.) is one team project Millions of files in source control Thousands of Work Items A few thousand active users Each major version of Office gets an entirely new team project

Team Project Strategy

Create new team projects sparingly… Areas and iterations are the preferred way to structure your projects.

When to create a new team project?

Different Methodology (look and rules behind Work Items are different) You want to hand over a project after it’s done (including Source Code etc.)  use own TPC!

You want to hide areas from certain people (they should not be able to see the project name)

Team Project Strategy

If you use multiple Team Projects (TPs)… Excel & Project can only show data from one TP (you can use different Excel sheets to achieve this) Work Items can’t be reassigned to a different TP (they can be copied though) Built-in reports show data from one project (they can filter for areas and iterations)

Set up a build process early!

Several Reports and metrics require a build process (with or without tests) as input  the sooner you set up a build, the better!

Virtualization and TFS

Should I run TFS in a virtual environment?

Yes! (recommended) Why?

Snapshot support* Faster Disaster recovery Good to know SQL Server is supported in virtual configurations http://support.microsoft.com/kb/956893/en-us (* be aware: no support for VM snapshots)

Virtualization Options

Option 1 (1 VM) VM #1: TFS, SQL, SSAS, SSRS, WSS Option 2 (2 VMs) VM #1: SQL, SSAS VM #2: TFS, SSRS, WSS Option 3 (Host + 1 VM) Same as Option 2, but #1 installed on the host This is the configuration we use for hosting (combines advantages of virtualization + performance)

TFS 2008 Scalability Options

TFS (Single-Server) too slow?  TFS (Dual-Server) too slow?  Dual-Server Scale-up!

SQL Logs are huge?  Turn them off.

Perf issues with OLAP queries?  Move SSAS http://msdn.microsoft.com/en-us/library/aa721760.aspx

Perf issues with SQL Reports?  Move SSRS Perf issues with Project portals?  Move MOSS Perf issues with remote location?  Perf issues with Build server?  Optimize (e.g. incremental GET) TFS Proxy TFS Proxy, Hotfix, Perf issues with Web Access  Move TSWA Source: http://msmvps.com/blogs/vstsblog/archive/2008/07/09/your tfs-user-base-is-growing-scale-up-or-out.aspx

Build Server performance

Optimize Build Process e.g. Incremental GET instead of full GET Change logging verbosity http://blogs.msdn.com/aaronhallberg/archive/2007/05/03/tfsbuild-rsp-and-logging-verbosity-in-orcas.aspx

Install TFS 2008 SP 1 (on TFS & Build Server) Aaron Hallberg from Microsoft says: […] change in TFS Build SP1 which reduced build log noise by cutting out the build steps for project to-project references […] the fix in SP1 didn't actually fix the problem, at least not completely.

Source: http://msmvps.com/blogs/vstsblog/archive/2009/01/31/hotfix-for-team-build 2008-sp1-reducing-project-to-project-references-in-build-log-kb958845.aspx

Build Server performance (II)

A hot fix is finally available that will address the remaining parts of the problem http://code.msdn.microsoft.com/KB958845 http://support.microsoft.com/kb/958845 VSTS MVP colleague Mathias Olausson reports: “before SP1 the build time was about

2h 30 min

, with SP1 build time in average

65 minutes

and with the build hotfix we’re now down to

less than 40 minutes

. The build log has changed from 5500 lines down to 550.”

Localized Versions of TFS

I recommend using the English version of TFS Reasons Vocabulary used in books and the web is English Some translations make me sad (some original English messages as well) TFS Power Tools are available in English only Incompatibility with some templates/tools/fixes You can move from English  localized (one-way) You can still have localized VS & Team Explorer!

(beware of Service Packs…)

Installation

Follow the latest TFS Installation Guide http://www.microsoft.com/downloads/details.aspx?FamilyID=ff 12844f-398c-4fe9-8b0d-9e84181d9923 Make sure the server name has no underscore http://msmvps.com/blogs/vstsblog/archive/2009/01/11/be aware-don-t-use-underscores-in-server-names.aspx

To save one step you can integrate the TFS SP1 into the TFS Setup (“slipstream”).

http://msmvps.com/blogs/vstsblog/archive/2008/08/11/visual studio-2008-net-2-5-and-tfs-2008-service-pack-1-released.aspx

Required for SQL Server 2008

Slipstream

Step 1 - Preparation Copy the contents of the "AT" folder from your TFS installation media to your hard drive.

In my case: I:\ISOs\AT-RTM Download the TFS Service Pack 1 http://www.microsoft.com/downloads/details.aspx?FamilyID=9 e40a5b6-da41-43a2-a06d-3cee196bfe3d File name: en_visual_studio_team_system_2008_team_foundation_se rver_service_pack_1_x86_x64wow.exe

Slipstream

Step 2 – Extract the Service Pack package Command: Servicepack.exe /extract:TargetFolder

Slipstream

Step 3 – Create admin installation package Command: Msiexec /a vs_setup.msi

TARGETDIR= TargetFolder /p TFS90sp1-KB949786.msp

Slipstream

Step 3 – Create admin installation package A ready to use setup (TFS 2008 including SP1) will now created in TARGETDIR .

Slipstream

Step 4 – Ready to be installed A ready to use setup was created in TARGETDIR :

Where to install which SP?

Machine TFS single server / TFS Application Tier TFS SP1 VS SP1

Yes Yes, if Visual Studio is installed.

Install this prior to TFS SP1.

TFS Data Tier Team System Web Access (on separate machine)

No No

TFS Build Server

Yes No Yes Yes, if Visual Studio is installed.

Install this prior to TFS SP1.

TFS Proxy Visual Studio User Office User

Yes No No No Yes Yes Source: http://msmvps.com/blogs/vstsblog/archive/2008/10/09/vs-amp-tfs-sp1 what-to-apply-on-which-machine.aspx

Installation Verification

How can I verify TFS is setup up correctly?

1.

2.

3.

4.

Invoke a TFS web service and look for " vstfs : https://localhost/services/v1.0/Registration.asmx

" in the xml result.

Try to create a new Team Project Run TFS Best Practices Analyzer (BPA) from TFPT Process the Cube

Congratulations!

TFS is now installed successfully.

Is it ready to be used?

Sadly: No!

Let's begin with:

Post-Installation Configuration

Windows Server 2008 and higher

You are likely to hit this issue Assumption You have all admin rights of the world But… Can't create a new team project (you are missing permissions the message says!) Documents and Reports in TE show a red X You can access http:///Reports just fine Solution http://support.microsoft.com/kb/896861/en-us

Enable Work Item Meta Data Filtering

This is a new feature in TFS 2008 SP1 Disabled by default (for compatibility reasons) Benefits Security : you can hide team project names Performance : only the meta-data for the team projects where a user permissions to will be transferred to the clients (not all metadata).

Source: http://msmvps.com/blogs/vstsblog/archive/2008/10/06/tfs tip-enabling-work-item-meta-data-filtering.aspx

Enable Work Item Meta Data Filtering

How to configure it Add to web.config

(in folder: %ProgramFiles%\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\WorkItemTracking\web.config) Source: http://msmvps.com/blogs/vstsblog/archive/2008/10/06/tfs tip-enabling-work-item-meta-data-filtering.aspx

Turn off label deletion

when deleting builds By default: When you delete a build The corresponding build label gets delete as well You can configure that behavior.

Add to web.config

(in folder: %ProgramFiles%\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\web.config) Source: http://blogs.msdn.com/buckh/archive/2008/10/20/tfs-2008-sp1 new-setting-to-delete-a-build-without-deleting-the-build-label.aspx

IIS Recycling Times

By default, IIS application pools get "recycled" at an interval of all 1740 minutes Better: Specify a fixed time (for each app pool) SharePoint does that by default

TFSServerScheduler Dependency

Configure TFS Server Scheduler to depend on SQL Server A problem mostly on slow machines Command sc.exe config TFSServerScheduler depend= MSSQL Source: http://blogs.msdn.com/dstfs/archive/2008/07/09/fun-with-the tfsserverscheduler-service.aspx

Configuring TFS for SSL/HTTPs

You can access TFS remotely via 1) a VPN connection (no configuration necessary) 2) via SSL/HTTPs (extra configuration required) Read more about the configuration: http://msdn.microsoft.com/en-us/library/aa833873.aspx

Recommendation Use default port 443 for TFS!

(many firewalls block non-standard HTTPs ports!)

Extend %PATH% variable

Paths to add: x:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\TF Setup x:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Tools x:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE Background: The 1 st path contains BisSubscribe.exe The 2 nd The 3 rd path contains tfsadminutil.exe path contains TF.exe Note: TFPT.exe add its itself to %PATH% Source: http://msmvps.com/blogs/vstsblog/archive/2009/01/09/adding-tfs tools-to-your-path-environment-variable.aspx

Configure mail server settings

Windows SharePoint Services (WSS) via » Central Administration Web Site Operations » Outgoing e-mail settings http://technet.microsoft.com/en-us/library/cc288949.aspx

SQL Server Reporting Services (SSRS) via » Reporting Services Configuration Tool http://technet.microsoft.com/en-us/library/ms345234.aspx

Team Foundation Server via web.config file (if not set at installation time) http://msdn.microsoft.com/en-us/library/ms400808.aspx

Team System Web Access http://msmvps.com/blogs/vstsblog/archive/2007/08/27/enabling email-functionality-in-team-system-web-access-tswa.aspx

Configure Web Access Links

Work Item-Links in e-mails open up this site:

Configure Web Access Links

Step 1 – Register TSWA with TFS Beginning with TFS 2008 SP1 you can register your Web Access server with your TFS.

Benefits: TFS links to Web Access in e-mails (instead of it's own, read-only web pages) Source: http://msmvps.com/blogs/vstsblog/archive/2009/01/11/changing tfs-emails-to-link-to-team-system-web-access-part-2.aspx

Configure Web Access Links

Step 1 – Register TSWA with TFS Command tfsadminutil /TSWAUri:http://:8090/

Configure Web Access Links

Step 1 – Register TSWA with TFS

Configure Web Access Links

But now we have a new problem…

Configure Web Access Links

Step 2 – Install Hot fix (KB 957196) Get it from here: http://code.msdn.microsoft.com/KB957196

Configure Web Access Links

Check-In notifications now point to Web Access!

Configure Web Access Links

Step 3 – Modify XSLT file But still: Work Item notification mails point to the wrong portal Open file WorkItemChangedEvent.xsl

(from folder: %ProgramFiles%\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\Services\v1.0\Transforms) Look for the following text and replace it… Source: http://msmvps.com/blogs/vstsblog/archive/2007/08/31/changing-tfs-email notifications-to-link-to-team-system-web-access.aspx

Configure Web Access Links

Step 3 – Modify XSLT file With this expression:

Configure Web Access Links

and finally

SQL Backup and Maintenance

Prerequisites SQL Server Integration Services (SSIS) Create a Maintenance Plan for Backup Nightly full-backup of all SQL databases Create a Maintenance Plan for Optimization Rebuild indexes (e.g. once a week)

SQL Server transaction log files

Transaction Log files just won't stop growing You can turn them off (switch to simple recovery mode in SQL slang) You don't really need them for TFS More info: http://support.microsoft.com/kb/873235 Source: http://msmvps.com/blogs/vstsblog/archive/2009/08/09/stop-sql-server transaction-log-ldf-files-from-growing-indefinitely.aspx

Turn off OLAP flight recorder (in SSAS)

SQL Management Studio » Connect to Analysis Services » Properties Set " Log \ Flight Recorder \ Enabled " to false Source: http://technet.microsoft.com/en-us/library/cc304417.aspx

Move and Set Size of Cache Folders

You can move cache folders out to separate hard drives (if available) for performance Version Control cache  Change web.config

(in folder: X:\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Web Services\VersionControl) Web Access cache  Change web.config file (in folder: X:\Program Files\Microsoft Visual Studio 2008 Team System Web Access\) Also you can specify the size for both caches!

Source: http://msdn.microsoft.com/en-us/library/ms400793.aspx

Anti-Virus Software and TFS

Exclude folders from virus scan software: 1.

2.

3.

TFS Version Control Cache folder Team System Web Access Cache folder SQL Database folders Check if AV software is also blocking ports More virus scanning recommendations for: Windows Server SQL Server WSS/SharePoint Server

Hunting DCOM errors in event log

Hunting DCOM errors in event log

Run Component Services Computers » My Computer » DCOM Config » IIS WAMREG admin Service » Properties Click " Edit " (in Launch and Activation Permissions) Grant permissions to NETWORK SERVICE : Local Launch Location Activation

Area Sorting Problem

You might experience that if you sort Work Items by Area, sorting is not correct SQL script to check for the problem SELECT COUNT (*) FROM [dbo] .

[TreeNodes] c JOIN ON c .

[dbo] .

[TreeNodes] p [ParentID] = p .

[ID] JOIN ON p .

[dbo] .

[Fields] f [TypeID] = f .

[ParentFldID] WHERE AND c .

[TypeID] <> c .

[ID] <> 0 f .

[FldID] Result: 0 = No problem != 0  run fix script

Area Sorting Fix

begin tran This script will correct sorting You can also schedule it (e.g. once a day) SET QUOTED_IDENTIFIER ON set xact_abort on set nocount on exec dbo .

BoxCarAdminDataChanges null, null WHILE ( 1 = 1 ) BEGIN UPDATE c SET FROM c .

[TypeID] = [dbo] .

f .

[FldID] [TreeNodes] c JOIN ON c .

[dbo] .

[TreeNodes] p [ParentID] = p .

[ID] JOIN [dbo] .

[Fields] f ON p .

[TypeID] = AND c .

f .

[ParentFldID] [TypeID] <> f .

[FldID] WHERE c .

[ID] <> 0 IF ( @@ROWCOUNT = 0 ) BREAK

Setting Admin Permissions

Set a up group for TFS Administrators You just have to do that once (for each TFS)… 1.

2.

Create a security group in Active Directory TFS: Add it to Team Foundation Administrators 3.

4.

SSRS: Add to Content Manager role on root folder WSS: Add to Farm Administrators Group

Setting Team Project Permissions

Set a up groups for a new Team Project You have to do that once for each team project: 1.

2.

3.

4.

Create security groups in Active Directory Team Leads Developers TFS: Create two new groups on the TFS and your Active Directory groups as members Set permissions for the two new groups SSRS: Add to Browser role on team project folder WSS: Add Design / Contribute permissions

Setting Team Project Permissions

Now backup your machine!

You invested a lot of time to configure it In case of an recovery You have a readily configured partition with TFS You just need a recent DB backup And can be up and running in less than an hour!

Most Recent Version

Latest version of TFS/Visual Studio + latest Service Packs (*) + latest version of TFS Power Tools

Client Installation

Installation order is very important 1. Install Excel/Project 2003/2007 2. Install Visual Studio 2008 3. Install Team Explorer 2008 4. Install Visual Studio 2008 SP1 5. Install VSTS 2008 Database Edition GDR R2 * only if you own VSTS 2008 Dev, DB or Suite 6. Install Team Foundation Power Tools 10/2008 Note: install VS 2005 first, then VS 2008 for parallel use.

Checking for non-patched clients

How to check discover users without SP1 installed TFS Server Manager from the Power Tools TfsServerManager.exe

in the Power Tools folder Source: http://msmvps.com/blogs/vstsblog/archive/2009/02/09/discover users-without-visual-studio-sp1-installed.aspx

Using TFS Server Manager

Checking for clients without TFPT

How to make sure users have TFPT installed Turn on Changeset Comments Policy Part of Power Tools If Power Tools are not installed:

Index of TFS Command Line Tools

TFSAdminUtil TFSSecurity TFSDeleteProject TFSReg TFSFieldMapping witimport/witexport witfields glimport/glexport SetupWarehouse Source: http://msdn.microsoft.com/en-us/library/ms253088.aspx

TFS Version Detection

Source: http://blogs.msdn.com/bharry/archive/2008/01/15/checking your-tfs-version-and-extending-trials.aspx

Unlock files checked out by others

Three options Use TF.exe

(command-line) Command: TF.exe lock itemspec /lock:None Use Visual Studio Right-click a folder in source control Find in Source Control Choose "Status…" Right-click » "Undo" Use TFS Sidekicks (freeware) http://www.attrice.info/cm/tfs/ Source: http://msmvps.com/blogs/vstsblog/archive/2009/08/04/see-and possibly-unlock-files-are-checked-out-by-others.aspx

Unlock files check-out by others

TFS Performance Reporting Pack

Includes 6 reports Execution Time Summary & per User Source Control Request Queue Top Users Bypassing Proxies Historical Performance Trends Recent Performance Trends Source: http://msmvps.com/blogs/vstsblog/archive/2009/02/09/reports for-measuring-tfs-performance.aspx

TFS Performance Reporting Pack

Some more things you can do…

Disable auto-connecting to TFS on VS start http://msmvps.com/blogs/vstsblog/archive/2009/06/29/disable -auto-connect-to-tfs-on-vs-startup.aspx

Disable Team Members Node http://msmvps.com/blogs/vstsblog/archive/2009/01/09/q-how do-i-disable-the-team-members-feature-of-tfpt.aspx

Even more things that can go wrong

How to fix TF53010: Create OLAP failed http://msmvps.com/blogs/vstsblog/archive/2009/01/08/how to-fix-tf53010-create-olap-failed.aspx

Workaround for TF30207 when creating a new team project and red X on Reports in TE http://msmvps.com/blogs/vstsblog/archive/2009/01/08/workar ound-for-tf30207-when-creating-a-new-team-project-and-red-x on-reports-in-team-explorer.aspx

Unable to publish test results from VS to TFS http://msmvps.com/blogs/vstsblog/archive/2009/05/30/unable -to-publish-test-results-from-visual-studio-to-tfs.aspx

TFS 2010

Agenda

1 st part: Team Foundation Server 2008 2 nd part: Team Foundation Server 2010 What’s new for Administrators?

Enterprise TFS Management Team Project Collections Improved Setup Experience Upgrade Process from TFS 2005/2008 to 2010 Compatibility

Beta Disclaimer

It‘s still beta!

It has tons of bugs…

Team Foundation Server 2008:

Enterprise-capable SCM Up to 3600 users on a single deployment Scale up / Scale out Utilizes SQL Server (2005 or 2008) Atomic transactions Backup/restore like any other database Can be clustered/mirrored Massive storage Reporting Services / Analysis Services Efficient storage

Team Foundation Server 2008:

Setup & Admin Pains Many pre-requisites, limited configuration options No administration UI Many tasks require command-line Some tasks require registry edits Log files hard to find

Simplified Setup

Requires minimal inputs Reduction of pre-requisites Ability to script setup Logs at your fingertips Application tier (AT) supported on 64-bit

TFS 2010 Installation

TFS 2010 Installation (2)

TFS 2010 Installation (3)

TFS 2010 Installation (4)

TFS 2010 Installation (5)

TFS 2010 Basic Installation

Administrative User Interface

MMC-based admin UI for common tasks Change service accounts Configure data tier Configure SSL Add /change SharePoint Configure reporting/analysis services Configure Team System Web Access Manage project collections Access log files

TFS 2010 Admin Console

Team Foundation Server 2008:

Enterprise Pains Application tier (AT) requires 32-bit Team projects can’t be isolated Individual team projects not portable across TFS instances Individual team projects not available for backup/restore Team projects limited to 250-500* per TFS instance * Actual # depends on process templates being used

Enterprise TFS Management (ETM)

Team Project Collection Contains team projects Portable across TFS instances Can backup/restore in isolation Scale out application tier Load balancing Redundancy

Team Project Collections (TPC)

New concept 1 TPC = 1 SQL database After upgrading from TFS 2005/2008 all team projects will be in the "Default collection" TPCs are isolated No WI queries, no branching & merging Unique WI and CS IDs, separate Build Controllers 1 cube, data warehouse, SSRS server for all TPCs In Team Explorer you connect to a TPC (not TFS)

Team Project Collections (TPC)

Benefits What you can do now Backup/Restore single TPCs, rather than whole TFS Move a TPC to other server for scalability reasons Hand-over a TPCs to a customer

Team Project Collections (TPC)

How to migrate to the new collections After upgrade All team projects get upgraded into a single team project collection You can split your team projects into TPCs By using the clone command (detach/attach) you can move team projects to a new TPC Note: only to a new, not an existing TPC

Enterprise TFS Management (ETM)

Team Project Collection Application Tiers Data Tiers Team Project 1 Team Project 2 Team Project 3 Application DB Team Project 4 N LB Team Project 5 Team Project 6 Team Project 7

Organizations & Team Projects

Teams

IT Organizational Hierarchy FInancial Sales Shared Services Contact Manager Credit Card Service Coding Tools Team Project Collections Expense-It!

Accounting Team Projects TP FY08 FY09 TP TP TP

Applications Releases

TFS 2010 Prerequisites

Things you can prepare in advance (on the server) Upgrade to SQL Server 2008 SQL Server 2005 not supported.

Upgrade to WSS 3.0 SP2 / SharePoint 2007 SP2 (dropping support for WSS 2.0) WSS 2.0 not supported.

HDD free space min 1.5x current TFS databases

TFS 2010 Prerequisites (II)

Things you can prepare in advance (on the server) Optional: Upgrade to Windows Server 2008 Windows Server 2003 still supported.

Optional: Update to 64-bit 32-bit still supported.

Optional: System Center Virtual Machine Mgr Required for the new Lab Management features

TFS 2010 Prerequisites

Things you can prepare in advance (on the client) Upgrade to Office 2007 SP1 required to use the new features from Excel/Project (agile workbooks, hierarchies, etc.) Upgrade to Visual Studio 2010 VS 2005 & 2008 will receive patches but only offer limited functionality Upgrade to Windows XP SP3 Windows 2000 no longer supported

TFS 2010 Lab Management

Prerequisites Domain Hyper-V Host SCVMM + SCVMM Library TFS Test Controller Build Controller Visual Studio Ultimate or Test Essentials VMs (with Build, Test, Lab Agent)

The Update Process

Server Upgrade Option A (" In-place ") Uninstall TFS 2008, then install TFS 2010 (will upgrade the database).

Option B (" New server ") Copy databases to new server, during TFS 2010 install point to the old databases (recommended for upgrades to 64-bit TFS) Info: There will be only a single database file for all team projects converted from TFS 2008.

Remember: Build and Proxy Servers need to be foundation-server-2010-upgrade.aspx

The Update Process

Team Project Upgrade A bunch TFS 2010 features won't work after upgrading Upgrade Guide Enable the Agile Planning Workbooks Enable Test Management Enable Lab Management Enable Reports Source: http://blogs.msdn.com/allclark/archive/2009/10/13/enabling-new-application-lifecycle management-features-for-visual-studio-2010-beta-2-in-upgraded-team-projects.aspx

VS 2005/2008 accessing TFS 2010

Requires an update (GDR) Non-updated clients will be rejected on connect Adds support for Connect to Team Project Collections (e.g. http://myserver:8080/Collection1 ) New Version Control schema (mostly renames) Navigation to portals, shared docs, and reports Work Item Controls for Test Cases (read-only) Visual indication of queries that require new client Publish Test Results Source: http://support.microsoft.com/kb/974558/en-us

VS 2005/2008 accessing TFS 2010

You will need the new Team Explorer 2010 for Administrative functions (e.g. create team project) Hierarchical Work Item Queries Source: http://blogs.msdn.com/teams_wit_tools/archive/2009/05/18/team explorer-2010-beta-1-compatibility.aspx

Using VS 2010 with TFS 2008

 * is only available in VS and is limited to unit tests

Some more points on TFS 2010

Sharepoint log files growing out of control Beta 2: you need to be admin on the SQL machine

Resources

www.microsoft.com/teched Sessions On-Demand & Community www.microsoft.com/learning Microsoft Certification & Training Resources http://microsoft.com/technet Resources for IT Professionals http://microsoft.com/msdn Resources for Developers

Related Content

DEV313 Architecture Discovery and Validation with Visual Studio 2010

Today at 13:30, Paris 2 – Hall 7-1 c

DEV02-IS You Are Still Using Microsoft Visual SourceSafe?

Today at 17:00, Interactive Theatre 2 - Orange

DEV312 Using and Extending Visual Studio 2010 Architecture and Modeling Tools

Tomorrow at 10:45, Europa 2 – Hall 7-3b

Repeat Architecture Discovery and Validation with Visual Studio 2010

Tomorrow at 13:00, Interactive Theatre 1 - Red

Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.