Anda di halaman 1dari 21

Team Foundation Server Administration

Adopting Visual Studio Team System 2008

Mickey Williams Director, Center of Excellence


mickey.williams@neudesic.com
Agenda
• TFS Deployment Architecture
• Team Projects
• Users and Groups
• Common Administrative Tasks

2
Team System Components

• Server Components • Client Components*


– Team Foundation* Server – Team Editions
– Build Server
› For Software Architects
– Test Server
› For Software Developers
– Test Rigs
– TFS Proxy › For Software Testers
• Server integration › For Database Professionals
– Active Directory Domain Controller › Team Suite
– SMTP Server – Team Explorer
– 3rd Party
– MSSCCI Clients
• Client integration
– Office Excel 2003
– Microsoft Project 2003

3
Technical Architecture
Team Foundation Client Tier Version Control Build Machine
Proxy

Report Client

Team System
Team Foundation App Tier Web Access
TSWA Client

Team Foundation Data Tier


4
Basic Configurations
1 user To 500 users Large teams

1 machine Single Server Dual Server


Demo/Evaluation Small Team Large Team

Client
• Client • Client
• Build • Build (opt)
• App Tier
• Data Tier
Build
Machine
• App Tier
• Data Tier
• Build (opt) App Tier

Version
Control
Proxy

Data Tier

5
Logical Deployment

Local Remote
… Clients … Clients

Test
Controller TFS TFS
App Tier Proxy

… Test
Rigs TFS
Build Data Tier
Server

6
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…
› Requires projects to be created and added to archive

12
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?

Anda mungkin juga menyukai