Top Banner
Team Foundation Server Administration Adopting Visual Studio Team System 2008 Mickey Williams Director, Center of Excellence [email protected]
21

Team Foundation Server Administration

Nov 12, 2014

Download

Documents

pradeepku.b
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Team Foundation Server Administration

Team Foundation Server Administration

Adopting Visual Studio Team System 2008

Mickey Williams Director, Center of Excellence

[email protected]

Page 2: Team Foundation Server Administration

2

• TFS Deployment Architecture

• Team Projects

• Users and Groups

• Common Administrative Tasks

Agenda

Page 3: Team Foundation Server Administration

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

Page 4: Team Foundation Server Administration

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

Page 5: Team Foundation Server Administration

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

Page 6: Team Foundation Server Administration

6

Logical Deployment

Remote

Clients

Local

Clients… …

TFS

Proxy

TFS

App Tier

TFS

Data TierBuild

Server

Test

Rigs…

Test

Controller

Page 7: Team Foundation Server Administration

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

Page 8: Team Foundation Server Administration

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

Page 9: Team Foundation Server Administration

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

Page 10: Team Foundation Server Administration

10

• TFS Deployment Architecture

• Team Projects

• Users and Groups

• Common Administrative Tasks

Agenda

Page 11: Team Foundation Server Administration

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

Page 12: Team Foundation Server Administration

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

Page 13: Team Foundation Server Administration

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

Page 14: Team Foundation Server Administration

14

• TFS Deployment Architecture

• Team Projects

• Users and Groups

• Common Administrative Tasks

Agenda

Page 15: Team Foundation Server Administration

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

Page 16: Team Foundation Server Administration

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

Page 17: Team Foundation Server Administration

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

Page 18: Team Foundation Server Administration

18

• TFS Deployment Architecture

• Team Projects

• Users and Groups

• Common Administrative Tasks

Agenda

Page 19: Team Foundation Server Administration

19

• All data is stored in SQL Server

• Standard SQL Server backup procedure

• Backup all TFS-related databases

• Scheduled or manual backups

TFS Backup

Page 20: Team Foundation Server Administration

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

Page 21: Team Foundation Server Administration

Questions?