Esteban Garcia
Solutions Architect, AgileThought
Congratulations
You are the new TFS Admin!
What Is TFS?
Version Control
Work Item Tracking
Project Management
Automated Build
Data Collection and Reporting
Deployment
Ports and Protocols
Architecture
Architecture
Data Tier
Name                  Purpose
Tfs_Configuration     Describes TFS deployment, including the name and
                      location of the other databases
Tfs_Collection        Version control, builds, and work items for each Collection
Tfs_Warehouse         Optimized for reporting
Tfs_Analysis          Analysis Services – Organizes data in a cube structure
ReportServer          Reports and Report configuration
ReportServer_TempDB   Temporary Reporting Data
WSS_Config            SharePoint Configuration
WSS_Content           SharePoint Content
WSS_AdminContent      SharePoint Administration
Warehouse Control Web Service
http://localhost:8080/tfs/TeamFoundation/Admini
stration/v3.0/WarehouseControlService.asmx
• GetSettings
• ChangeSetting
• Admin Console used to rebuild the cube
Setting ID                          Description
                                    How long a job will wait in a running state to
AnalysisSchemaUpdateWaitSeconds
                                    perform an update to the cube.
                                    How long a job will wait for a processing call to
AnalysisServicesProcessingTimeout
                                    Analysis Services to finish.
                                    Time of day when the full processing of the
DailyFullProcessingTime
                                    Analysis Services cube is started.
                                    How long a job will wait in a running state for
DataUpdateWaitSeconds
                                    another adapter that is making schema changes.
FullProcessIntervalSeconds          Frequency at which the cube is fully processed.
                                    Frequency at which the cube is incrementally
IncrementalProcessIntervalSeconds
                                    updated.
                                    Maximum number of commands that can run in
MaxParallelASProcessingCommands
                                    parallel
                                    Frequency at which the relational database is
RunIntervalSeconds
                                    updated.
                                    How long a job will wait to acquire exclusive access
SchemaUpdateWaitSeconds
                                    to the schema change method.
                                    How long a job will wait to acquire an exclusive
WarehouseCommandSqlTimeout
                                    access to a data warehouse resource.
TFS Administration Console
Manage users and permissions
Create and manage Team Project Collections
Add and manage SharePoint Web applications
Create and manage Virtual Labs
Add and manage build environments
Review server status
Team Project Collections
Single database for all projects
Scalable
Share reports, work items, process guidance
Code can be easily built, branched, merged
Supporting Resources
SharePoint application/site collection
Reporting Services
Process Templates
Email Alerts
Team Foundation Background Job
Agent
Scheduling mechanism for Web services and jobs
Permissions needed:
• Log on as a service
• Farm Administrators group for any SharePoint
  Web applications that Team Foundation Server
  uses
• TFSExecRole or both of the following:
  • db_owner
  • db_create
Service Accounts
Account         Permissions
TFSService      • Log on as a service
                • Farm Administrators group for SharePoint
                • TFSExecRole or both of the following:
                   db_owner
                   db_create
TFSReports      • Allow log on locally on the application-tier server and on
                  the server that is running SQL Server Reporting Services
                • TFSWareHouseDataReader on the report server
TFSBuild        Log on as a service
TFSLab          Log on as a service
TFSProxy        Log on as a service
TFSTest         Log on as a service
WebAppService   Log on as a service
SharePoint
Project Portal
• Share Process Guidance
• Documents
• Template
• Reports
SharePoint is optional
• SharePoint Services 3.0
• SharePoint Server 2007, 2010
• Uses Extensions for SharePoint products
Security
Back Up/Restore
Disaster Recovery
Other Administrative Opportunities
Lab Management
         VM’s
Version Control
         Security
         Check-in Policies
Builds
         Controllers and Agents
         Security
Command-Line
TFSConfig – Manage Server configuration
TFSLabConfig – Manage Lab service
TFSSecurity – Review and Manage objects, groups, users,
and permissions
TFSServiceControl – stop/start all TFS Services
TFSDeleteProject – Delete a Team Project
TFSFieldMapping – Map MS Project fields
witadmin – create, delete, import, export work item-
related data
Power Tools
Best Practices Analyzer
PowerShell
Backup Plan Restore Wizard
Yes, You are the new TFS Admin!
@EstebanFGarcia
esteban.garcia@agilethought.com
http://estebanfg.blogspot.com/

Managing tfs

  • 1.
  • 3.
  • 4.
    What Is TFS? VersionControl Work Item Tracking Project Management Automated Build Data Collection and Reporting
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
    Data Tier Name Purpose Tfs_Configuration Describes TFS deployment, including the name and location of the other databases Tfs_Collection Version control, builds, and work items for each Collection Tfs_Warehouse Optimized for reporting Tfs_Analysis Analysis Services – Organizes data in a cube structure ReportServer Reports and Report configuration ReportServer_TempDB Temporary Reporting Data WSS_Config SharePoint Configuration WSS_Content SharePoint Content WSS_AdminContent SharePoint Administration
  • 10.
    Warehouse Control WebService http://localhost:8080/tfs/TeamFoundation/Admini stration/v3.0/WarehouseControlService.asmx • GetSettings • ChangeSetting • Admin Console used to rebuild the cube
  • 11.
    Setting ID Description How long a job will wait in a running state to AnalysisSchemaUpdateWaitSeconds perform an update to the cube. How long a job will wait for a processing call to AnalysisServicesProcessingTimeout Analysis Services to finish. Time of day when the full processing of the DailyFullProcessingTime Analysis Services cube is started. How long a job will wait in a running state for DataUpdateWaitSeconds another adapter that is making schema changes. FullProcessIntervalSeconds Frequency at which the cube is fully processed. Frequency at which the cube is incrementally IncrementalProcessIntervalSeconds updated. Maximum number of commands that can run in MaxParallelASProcessingCommands parallel Frequency at which the relational database is RunIntervalSeconds updated. How long a job will wait to acquire exclusive access SchemaUpdateWaitSeconds to the schema change method. How long a job will wait to acquire an exclusive WarehouseCommandSqlTimeout access to a data warehouse resource.
  • 12.
    TFS Administration Console Manageusers and permissions Create and manage Team Project Collections Add and manage SharePoint Web applications Create and manage Virtual Labs Add and manage build environments Review server status
  • 13.
    Team Project Collections Singledatabase for all projects Scalable Share reports, work items, process guidance Code can be easily built, branched, merged
  • 14.
    Supporting Resources SharePoint application/sitecollection Reporting Services Process Templates Email Alerts
  • 15.
    Team Foundation BackgroundJob Agent Scheduling mechanism for Web services and jobs Permissions needed: • Log on as a service • Farm Administrators group for any SharePoint Web applications that Team Foundation Server uses • TFSExecRole or both of the following: • db_owner • db_create
  • 16.
    Service Accounts Account Permissions TFSService • Log on as a service • Farm Administrators group for SharePoint • TFSExecRole or both of the following: db_owner db_create TFSReports • Allow log on locally on the application-tier server and on the server that is running SQL Server Reporting Services • TFSWareHouseDataReader on the report server TFSBuild Log on as a service TFSLab Log on as a service TFSProxy Log on as a service TFSTest Log on as a service WebAppService Log on as a service
  • 17.
    SharePoint Project Portal • ShareProcess Guidance • Documents • Template • Reports SharePoint is optional • SharePoint Services 3.0 • SharePoint Server 2007, 2010 • Uses Extensions for SharePoint products
  • 18.
  • 19.
  • 20.
  • 21.
    Other Administrative Opportunities LabManagement VM’s Version Control Security Check-in Policies Builds Controllers and Agents Security
  • 22.
    Command-Line TFSConfig – ManageServer configuration TFSLabConfig – Manage Lab service TFSSecurity – Review and Manage objects, groups, users, and permissions TFSServiceControl – stop/start all TFS Services TFSDeleteProject – Delete a Team Project TFSFieldMapping – Map MS Project fields witadmin – create, delete, import, export work item- related data
  • 23.
    Power Tools Best PracticesAnalyzer PowerShell Backup Plan Restore Wizard
  • 24.
    Yes, You arethe new TFS Admin!
  • 25.

Editor's Notes

  • #8 App TierServicesEventSecurityVersion ControlWork Item TrackingLab ManagementVMM AdministrationTest Agent Controller
  • #9 Data TierSQL ServerApplication TierWeb ServicesBuild ServerBuild Controller & AgentsClientVisual StudioOther ServicesSharePointReporting ServicesVirtual Machine Manager & Library
  • #10 TFS_Configuration This database stores the catalog of resources and the configuration information for Team Foundation Server. This database contains the operational stores for Team Foundation Server. Instance of SQL Server that is used when Team Foundation Server is first installed and configuredTFS_Warehouse This database stores the data for reports. Instance of SQL Server that is used when Team Foundation Server is first installed and configuredTFS_Analysis This multi-dimensional database stores the aggregated data from team project collections. Instance of SQL Server that is used when Team Foundation Server is first installed and configuredDatabases for team project collections Each team project collection has its own database, where data is stored for all team projects in the collection. Instance of SQL Server that is compatible with Team Foundation Server.
  • #14 A single database that stores all the data for every project in each collection. Administrators can back up and restore this database independently of other collections.A scalable method that administrators can use to manage the resources that development efforts require. Administrators can reassign resources to better meet the demands of the projects within a collection. Team project collections provide project administrators with the following advantages:A grouping of related projects that can share reports, work items, and process guidance, as well as a code base.An autonomous code base that can be built, branched, merged, and iterated according to the needs of the projects within the collection. Code dependencies outside the collection can be formally managed.
  • #15 A SharePoint Web application and site collection to host team project portals for projects in the collectionA SharePoint site or Web site to act as the portal for a team projectA server that is running SQL Server Reporting Services to provide default reports and dashboards that show the progress of a team projectUpgraded reports and dashboards when you upgrade your deployment to use Microsoft Office SharePoint Server 2007 Guidance for team project members about the processes to follow when working in the team projectAutomated e-mails that inform project members of changes in the team project
  • #16 The Visual Studio Team Foundation Background Job Agent service provides a general scheduling mechanism for Web services and jobs for Team Foundation. This Windows service is also used to run the tasks spawned by various wizards, such as the New Team Project wizard and Create A Team Project Collection wizard. The service uses the service account for Team Foundation Server, referred to as TFSService. The service runs on any server that is running a Web service or Web application in the logical application tier for Team Foundation. To operate correctly, the service account for the Team Foundation Background Job Agent service must have the permissions required for the tasks that it performs.
  • #17 Team Foundation Server has services and service accounts that run on the following computers in a deployment:any server that hosts one or more databases for Team Foundation Serverany server that hosts components of the application tier for Team Foundationany computer that is running Team Foundation Server Proxyany build computerany test machineany computer that is running one or more components of Visual Studio Lab ManagementAlthough Team Foundation Server uses several service accounts, you can use the same domain or workgroup account for most or all of them.
  • #18 The integration between Visual Studio Team Foundation Server and SharePoint Products provides administrators, project leads, and project contributors with powerful knowledge-sharing and organizational tools. This integration includes the option to create a website, referred to as a team project portal, for each team project. Teams can use this portal to share process guidance, project documents, templates, and reports according to each team member's role in the project. You can use any supported version of SharePoint Products with Team Foundation Server.
  • #19 Groups exists at:Server levelCollection levelProject levelDefault Groups are created “out of the box”Groups can be customizedRemember SharePoint and Reporting ServicesUse TFS Administration Tool
  • #21 Restore DataRedirect SharePoint Products to the New Location of the Content DatabaseChange the Database in Reporting Services Configuration ManagerRedirect Team Foundation Server to Its Moved DatabasesChange the Ownership of the Restored DatabasesUpdate All Service AccountsInstall Application Tier on New HardwareConfigure SharePointConfigure Reporting ServicesRefresh data