1 / 100

DEV209 Successfully Administering and Running Team Foundation Server 2010

DEV209 Successfully Administering and Running Team Foundation Server 2010 . i.e. I know how to install a TFS 2005/2008/2010!. Survival strategies for the part-time TFS Administrator. Neno Loje MVP & MCTS for Visual Studio ALM/TFS TeamSystemPro. Slide 1 / 100 | avg. 36 seconds/slide.

geona
Download Presentation

DEV209 Successfully Administering and Running Team Foundation Server 2010

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DEV209Successfully Administering and Running Team Foundation Server 2010 i.e. I know how to install a TFS 2005/2008/2010! Survival strategies for the part-time TFS Administrator Neno Loje MVP & MCTS for Visual Studio ALM/TFS TeamSystemPro Slide 1 / 100 | avg. 36 seconds/slide

  2. Session GoalsWhat this talk is about • What is covered? • Everything you need to set up and manage a Team Foundation Server environment • Upgrading from TFS 2005/2008 to TFS 2010 • What is not covered? • How to use/work with TFS (e.g. version control) • Upgrading from VSS/other systems to TFS 2010 • Prerequisites • You should be familiar with the basic concepts of TFS(like Team Projects, Work Items, Areas, and Iterations)

  3. 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

  4. Abbreviations used in this talk • TFS = Team Foundation Server • TWA = Team Web Access (formerly Team System Web Access) • TFPT = Team Foundation (Server) Power Tools • SQL = SQL Server • SSRS = SQL Server Reporting Services • SSAS = SQL Server Analysis Services • WSS = Windows SharePoint Services (3.0 +)

  5. Agenda

  6. Agenda

  7. Setting up a TFS instance Even for those who installed it already…

  8. Simplest Topology

  9. Simple Topology

  10. Moderate Server Topology

  11. Complex Single-Domain Topology

  12. Complex Multi-Domain Topology

  13. Complex Multi-Domain Topology (II)

  14. Simplified Setup • Requires minimal inputs • Reduction of pre-requisites(aka "TFS Basic") • Ability to script setup • Logs at your fingertips • Application tier (AT)supported on 64-bit

  15. TFS 2010 Installation

  16. TFS 2010 Installation (2)

  17. TFS 2010 Installation (3)

  18. TFS 2010 Installation (4)

  19. TFS 2010 Installation (5)

  20. TFS 2010 Basic Installation

  21. Administrative User Interface • Separate admin console • 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

  22. 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

  23. Team Project Collections (TPC) • New concept • 1 TPC = 1 SQL database • After upgrading from TFS 2005/2008 all team projects will be placed in a single collection • Many things are not managed on the collection level (not TFS-level) • TPCs are isolated • No Work Item Queries, no Branching & Merging between them • Unique Work Item and Changeset IDs, separate Build Controllers • But: Single cube, data warehouse, SSRS server for all TPCs • In Team Explorer you now connect to a TPC (not TFS)

  24. Team Project Collections (TPC)Working with Collections • Supported operations • Create • Attach/Detach – move to other server or split a collection • Stop/Resume – if you want to do maintenance work on that file • If the Detach process "hangs" • Try IISRESET

  25. Team Project Collections (TPC)Benefits • Enabled scenarios • Backup/Restore single TPCs, rather than whole TFS • Move a TPC to other server for scalability reasons • Hand-over a TPCs to a customer

  26. Data Tier • SQL Server databases: • TFS_ConfigurationStores the catalog of resources, the configuration information and the operational stores for TFS • TFS_WarehouseStores the data for reports. • TFS_AnalysisStores the aggregated data from team project collections • Databases for team project collectionsEach team project collection has its own database, where data is stored for all team projects in the collection.

  27. 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

  28. Enterprise TFS Management (ETM) TFS Cluster Team Project Collection VIP Application Tiers Data Tiers Team Project 1 Team Project 2 Team Project 3 NLB Application DB Team Project 4 Team Project 5 Team Project 6 Team Project 7

  29. 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) For more information:Please refer to slides and video recording of session DPR203

  30. 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, …) • A separate Build Server is heavily recommended

  31. Hardware RequirementsOfficial Recommendation as published by Microsoft Source: Team Foundation Installation Guide for Visual Studio 2010 http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=2d531219-2c39-4c69-88ef-f5ae6ac18c9f

  32. TFS Licensing Basics • 1 x License for Team Foundation Server • 1 x TFS Client Access License (CAL) per named user or device

  33. TFS Licensing Basics • 1 x License for Team Foundation Server • 1 x TFS Client Access License (CAL) per named user or device • Exception #1: If you have a Visual Studio 2010 with MSDN subscription, you already own 1 x TFS license + 1 x TFS CAL.

  34. TFS Licensing Basics • 1 x License for Team Foundation Server • 1 x TFS Client Access License (CAL) per named user or device • Exception #1: If you have a Visual Studio 2010 with MSDN subscription, you already own 1 x TFS license + 1 x TFS CAL. • Exception #2: To create and view work items (only the ones you create!) you don't need a CAL (within your company).

  35. TFS Licensing Basics • 1 x License for Team Foundation Server • Unlimited build servers included • Any TFS Proxy needs additional TFS license • 1 x TFS Client Access License (CAL) per named user or device • Exception #1: If you have a Visual Studio 2010 with MSDN subscription, you already own 1 x TFS license + 1 x TFS CAL. • Exception #2: To create and view work items (only the ones you create!) you don't need a CAL (within your company).

  36. TFS Licensing Basics • 1 x License for Team Foundation Server • Unlimited build servers included • Any TFS Proxy needs additional TFS license • 1 x TFS Client Access License (CAL) per named user or device • Exception #1: If you have a Visual Studio 2010 with MSDN subscription, you already own 1 x TFS license + 1 x TFS CAL. • Exception #2: To create and view work items (only the ones you create!) you don't need a CAL (within your company).

  37. 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!

  38. 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! • You want a separate server for this

  39. 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 configurationshttp://support.microsoft.com/kb/956893/en-us(* be aware: no support for VM snapshots)

  40. 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)

  41. 64-bit Support for TFS • Should you use/switch to the 64-bit version of TFS? • Yes.

  42. TFS 2010 Scalability Options • TFS (Single-Server) too slow?  Dual-Serverhttp://msdn.microsoft.com/en-us/library/ms404854.aspx • TFS (Dual-Server) too slow?  Scale-up! • SQL Logs are huge?  Read me other slide. • Perf. issues with OLAP queries?  Move SSAS • Perf. issues with SQL Reports?  Move SSRS • Perf. issues with Project Portals?  Move MOSS • Perf. issues with remote location?  TFS Proxy • Perf. issues with Build server?  TFS Proxy, Optimize (e.g. incremental GET) • Perf. issues with Web Access  Add another TFS App Tier (NLB) Source: http://msmvps.com/blogs/vstsblog/archive/2008/07/09/your-tfs-user-base-is-growing-scale-up-or-out.aspx

  43. 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 process templates/tools/fixes • You cannot change the language afterwards • You can still have a localized Visual Studio & Team Explorer!

  44. TFS 2010 Installation MediaDon't get the wrong one… • The TFS media (.iso file) was re-released in August 2010 • Get it from MSDN Subscriber Downloads • It contains a critical hotfix for TFS upgrade Wrong version (do not use) Correct version Source: http://blogs.msdn.com/b/bharry/archive/2010/08/05/update-on-the-tfs-upgrade-fix.aspx

  45. Installation • Make sure you have the latest version of the TFS media • Follow the latest TFS Installation Guide http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=2d531219-2c39-4c69-88ef-f5ae6ac18c9f • 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 • Or: Call your local TFS partner. 

  46. Installation Verification • How can I verify TFS is setup up correctly? • Try to create a new Team Project • Run TFS Best Practices Analyzer (BPA) from TFPT • Process the Cube(using the TFS Admin Console)

  47. Congratulations! • TFS is now installed successfully. • Is it ready to be used? • Sadly: No! • Let's begin with:Post-Installation Configuration

  48. Windows Server 2008 and higher • You are likely to hit this issue • Assumption • You have all admin rights possible • 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://<server>/Reports just fine • Solution • http://support.microsoft.com/kb/896861/en-us

  49. 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

More Related