team foundation server administration
TRANSCRIPT
Team Foundation Server Administration
Adopting Visual Studio Team System 2008
Mickey Williams Director, Center of Excellence
2
• TFS Deployment Architecture
• Team Projects
• Users and Groups
• Common Administrative Tasks
Agenda
3
• Server Components
– Team Foundation* Server
– Build Server
– Test Server
– Test Rigs
– TFS Proxy
• Server integration
– Active Directory Domain Controller
– SMTP Server
Team System Components
• 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
4
Technical Architecture
Team Foundation Data Tier
Team Foundation App Tier
Build MachineVersion Control
Proxy
Report Client
Team Foundation Client Tier
TSWA Client
Team System
Web Access
5
Basic Configurations
Dual Server
Large Team
Client
Data Tier
App Tier
Build
Machine
Version
Control
Proxy
1 machine
Demo/Evaluation
• Client
• Build
• App Tier
• Data Tier
1 user Large teams
Single Server
Small Team
• Client
• Build (opt)
• App Tier
• Data Tier
• Build (opt)
To 500 users
6
Logical Deployment
Remote
Clients
Local
Clients… …
TFS
Proxy
TFS
App Tier
TFS
Data TierBuild
Server
Test
Rigs…
Test
Controller
7
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
8
Common Install Problems
• Not following the installation guide correctly
– Installing with the wrong account
• TFS accounts not configured as described in the installation guide
9
• 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
SharePoint Installation Options
10
• TFS Deployment Architecture
• Team Projects
• Users and Groups
• Common Administrative Tasks
Agenda
11
• Server-side host for VSTS work
• Includes all aspects of VSTS:
– SharePoint team site
– Work item tracking
– Team source control
– Reporting
– Testing
– Builds
Team Projects
12
• 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
Team Projects
13
• 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
Team Project Alerts
14
• TFS Deployment Architecture
• Team Projects
• Users and Groups
• Common Administrative Tasks
Agenda
15
• 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
TFS Permissions
16
• [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
TFS Default Server Groups
17
• 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
Team Project Default Groups
18
• TFS Deployment Architecture
• Team Projects
• Users and Groups
• Common Administrative Tasks
Agenda
19
• All data is stored in SQL Server
• Standard SQL Server backup procedure
• Backup all TFS-related databases
• Scheduled or manual backups
TFS Backup
20
• 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
VSS Migration
Questions?