Team Foundation Server Administration Adopting Visual Studio Team System 2008
Mickey Williams Director, Center of Excellence
[email protected]
Agenda • TFS Deployment Architecture • Team Projects • Users and Groups • Common Administrative Tasks
2
Team System Components • Server Components – Team Foundation* Server – Build Server – Test Server – Test Rigs
– TFS Proxy
• Server integration – Active Directory Domain Controller – SMTP Server
• Client Components* – Team Editions
› For Software Architects › For Software Developers › For Software Testers › For Database Professionals › Team Suite – Team Explorer
– 3rd Party – MSSCCI Clients
• Client integration – Office Excel 2003 – Microsoft Project 2003
3
Technical Architecture Team Foundation Client Tier
Version Control Proxy
Build Machine
Report Client
Team Foundation App Tier
Team System Web Access TSWA Client
Team Foundation Data Tier 4
Basic Configurations 1 user 1 machine Demo/Evaluation • • • •
Client Build App Tier Data Tier
To 500 users
Large teams Dual Server Large Team
Single Server Small Team
Client
• Client • Build (opt) Build Machine • App Tier • Data Tier • Build (opt)
App Tier
Version Control Proxy Data Tier
5
Logical Deployment Local Clients
…
…
Test Controller
…
6
TFS App Tier
Test Rigs
Build Server
Remote Clients
TFS Proxy
TFS Data Tier
Team Foundation Proxy • Windows Server 2003 SP1 or better • Cached source control artifacts are stored in the file system • File system access must be locked down • File Names contain an ID so multiple versions of a file may reside in the cache
• Only ‘Get’ operations are cached
7
Common Install Problems • Not following the installation guide correctly – Installing with the wrong account
• TFS accounts not configured as described in the installation guide
8
SharePoint Installation Options • WSS 3.0 – Installed on TFS app-tier by default – Can optionally be installed on separate server
• MOSS 2007 – Can be installed on TFS app-tier
– Most common scenario is to leverage an existing MOSS installation – MOSS server requires extensions to be installed
9
Agenda • TFS Deployment Architecture • Team Projects • Users and Groups • Common Administrative Tasks
10
Team Projects • Server-side host for VSTS work • Includes all aspects of VSTS: – SharePoint team site – Work item tracking – Team source control
– Reporting – Testing – Builds
11
Team Projects • Team project created from Team Explorer – Can be scripting with latest PowerTool release
• Two methods – File | New Team Project… – Right-click in Team Explorer
• Wizard guides you through project creation – Creates skeleton project on server – No projects created in source-code yet… ›
12
Requires projects to be created and added to archive
Team Project Alerts • Alerts are commonly subscribed events – Are sent to subscribers via email or web service – Registration made under Team menu ›
Or right-click on team project
– Delivery very likely, but not transactional
• Subscriptions can also be made using the event subscription tool – Enables much finer-grained subscriptions – Community release (not an official product) – http://blogs.msdn.com/narend/archive/2006/07/26/679440.aspx
13
Agenda • TFS Deployment Architecture • Team Projects • Users and Groups • Common Administrative Tasks
14
TFS Permissions • Some predefined roles are pre-configured • Team Foundation Server Administrator – Install and Maintain TFS – Administer TFS Security – Create Team Projects
– Customize Process Guidance
• Team Project Manager – Maintain Team Project Work Items and Project Portal – Administer Team Project Security
• Team Project Contributor – Work Items Read/Write – View Team Project Web Site – View Team Project Process Guidance 15
TFS Default Server Groups • [SERVER]\Service Accounts – Domain\TFSService
• [SERVER]\Team Foundation Administrators – [SERVER]\Service Accounts – BUILTIN\Administrators – Domain\TFSSetup
• [SERVER]\Team Foundation Valid Users – All Team Foundation Users
16
Team Project Default Groups • Administrators – Edit Team Project-level information
• Build Services – Start a Team Build – Edit Build Quality – Publish Test Results
• Project Contributor – View Team Project-level information – Start a Team Build – Publish Test Results
• Project Reader – View Team Project-level information
17
Agenda • TFS Deployment Architecture • Team Projects • Users and Groups • Common Administrative Tasks
18
TFS Backup • All data is stored in SQL Server • Standard SQL Server backup procedure • Backup all TFS-related databases • Scheduled or manual backups
19
VSS Migration • VSSConverter tool enables migration with preserved history – Replays actions to preserve history – Tool included in VSTS installation: ›
<prog files>/Microsoft Visual Studio 8/VC
– Use VSS Analyze utility prior to conversion ›
Repair any existing errors
– Pre-analyze with VSSConverter.exe
– Optionally, treat VSS migration as a branch, without history
• Tools also available for: – SVN – CVS – ClearCase – TFS
• See the migration toolkit at Codeplex: – http://www.codeplex.com/MigrationSyncToolkit 20
Questions?