Title: Module 4: Deployment and Maintenance
1Module 4 Deployment and Maintenance
2Objectives
- Understand the steps and requirements for the
installation of Team Foundation Server and its
prerequisites - Understand the various management activities
required post installation
3Lesson 1 Deployment
- Planning Your Deployment
- Technical Architecture Review
- Team System Components and Server Prerequisites
- Single and Dual Server Requirements
- 64 Bit Support
- User Accounts
- Installation Logs
- Default Ports
- Single Server and Dual Server Installation
- Team Foundation Proxy
- Team Foundation Server in Workgroups
4Planning Your Deployment
- Single or Dual Server TFS?
- How many users will you support?
- Are File Cache Proxy Servers required?
- Will you support clusters of remote users?
- Will you integrate with Active Directory?
- Where are your Build Servers?
- Do you need Additional Test Agents and
Controllers? - How many test users will you simulate?
- High Availability a Requirement?
- Warm Standbys or Clustering
5Technical Architecture Review
6Server Prerequisites
- TFS Application Tier
- Windows Server 2003 SP1
- IIS 6.0 w/ASP.NET
- Windows SharePoint Services (WSS) SP2
- SQL Server 2005 Reporting Services
- TFS Proxy Server
- Windows Server 2003 SP1
- IIS 6.0 w/ASP.NET
- Build Server
- Windows XP Pro SP2 or Windows Server 2003 SP1
- TFS Data Tier
- Windows Server 2003 SP1
- SQL Server 2005
- SQL Server
- Analysis Services
- Integration Services
7Minimum Requirements
Single-Server Deployment, Small Team
8Dual Server Installation
Minimum Reqs - Team Foundation Application Tier
Minimum Reqs - Team Foundation Data Tier
964 Bit Support
1 Team Foundation Server single-server
deployment. 2 Team Foundation Server dual-server
deployment.
10Required User Accounts
- TFSSETUP Run Team Foundation server setup
- Administrator on Team Foundation Server.
- TFSSERVICE Service account for TFS
- Application pool identity by the Team Foundation
Server and Windows SharePoint Services - Should NOT be an administrator on Team Foundation
Server. - TFSREPORTS Used by SQL Server Reporting
Services - Should NOT be an administrator on Team Foundation
Server. - Principle of Least Privilege
11Installation Logs
- TFS Installation log resides on the client
(C\Documents and Settings\TFSSetup\Local
Settings\Temp\dd_.txt) - Application log in event viewer on AT server
- Event Source will be VSTF or TFS
- Common Installation Problems
- Not following the installation guide correctly
- TFS accounts not configured as described in the
installation guide - Use the installation log to troubleshoot setup
problems at the root
12Default Network Ports
13Single Server Installation
- Hardware Requirements
- Identify account for installation
- Identify service accounts
- Install IIS
- Enable ASP.NET without FrontPage Server
Extensions - Install SQL Server 2005 SP1 (Standard/Enterprise)
on default instance any hot fixes - Install Windows SharePoint Services (do not
configure) - Verify network port requirements
- Install Team Foundation Server
- Install Team Explorer
14Dual Server Installation
Application Tier
Data Tier
Verify Hardware Requirements
Identify Installation and Service Accounts
Add Setup Account to Local Admin
Add Setup Account to Local Admin
Install SQL
Install IIS
Verify SQL Installation
Install SQL Reporting
Install Data Tier (DT)
Install SharePoint Services SP2
Install Application Tier (AT)
15Team Foundation Proxy
- Windows Server 2003 Required
- 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
16Team Foundation using Workgroups
- Several Limitations
- Domain users cannot login
- Single-Server Configuration
- User Accounts and passwords should be
synchronized - Good choice for trial use and demos
17Lesson 2 Maintenance
- Disaster Recovery
- Managing Data
- Managing Availability
- Active Directory
- Managing Users and Groups
- Server Configuration Settings
- Securing Team System
- Command Line Tools
18Disaster Recovery
- Create a maintenance plan that backs up all Team
Foundation databases - ReportServer ReportServerTempDB
- STS_Config_TFS STS_CONTENT_TFS
- TfsBuild
- TfsIntegration
- TfsVersionControl
- TFSWarehouse
- TfsWorkItemTracking
- TfsWorkItemTrackingAttachments
- Back up the Report Server encryption key
19Disaster Recovery (cont.)
- Prepare the servers for restoring the data.
- Restore the Team Foundation databases.
- Restore the Analysis Server database.
- Restore the team project portal sites.
- Restart the servers.
- Make all clients refresh their cache data.
20Managing Data
- Setting Size Limits on Attachments
- Data Warehouse Organization
- Processing Interval for Data Warehouse
- http//lttfsservergt8080/Warehouse/v1.0/warehouse
controller.asmx?opChangeSetting
21Setting a Size Limit on Attachments
lab
22Managing Availability
- Standard Backup Practices
- Data Tier Same best practices as you would for
any SQL Database - Application Tier Same best practices you would
have for any site collection in WSS - Warm Standby
- Clustering
- Standard SQL clustering best practices
- Hardware on Cluster HCL
23Active Directory
- Supported
- Windows 2000 AD in Native Mode
- Windows Server 2003 AD in Windows 2000 Native
functional level - Windows Server 2003 AD in Windows Server 2003
Functional level - Trust configurations
- Single Domain
- Single domain where the application tier is also
the DC - Default transitive 2-way trust in same forest
- Cross-forest trusts are supports
- Setup will not allow you to install
TeamFoundation Server on a Domain Controller
24Managing Users and Groups
- Security is based on Users and Groups
- Permissions are either explicitly allowed or
denied - You can use Active Directory Groups and users or
you can create Team Foundation Server specific
groups. - Team Foundation Groups can contain Active
Directory groups and users. - Membership and permissions can be accessed from
Team Explorer. There are also command line tool
(TFSSecurity) for administering groups, users,
and their permissions. - Permissions for Source Control use the same
Groups and Users but they are set either from a
GUI accessed through the property pages on Source
Control Explorer or using the TF Permission
Command. - Security needs to be set across 3 areas. TFS,
SharePoint and Reporting Services.
25Merging Two Team Projects
lab
26Server Configuration Settings
- Enabling / Disabling TFS Application Tracing
- Change Web.Config Settings for Team Foundation
Server Components - Change the Trace Output Directory for Team
Foundation Server Components
27Securing Team System
28Securing Team Foundation Server
lab
29Command Line Tools
- TFSAdminUtil
- ChangeAccount
- ChangePassword
- SID
- RenamedT
- ActiveAT
- Status
- TFSReg
- TFSDeleteProject
- TFSFieldMapping
- SetupWarehouse
- BisSubscribe
- GLImport/Export, WITImport/Export, WITFields
30Deleting a Team Project
lab
31Summary
- Installation steps and requirements
- Management tasks
- Team Foundation Server security
- Disaster recovery strategies
- Powerful command line interface
- Maintenance activities and tools
32Summary
Questions?