03a | manage team foundation server steven borg | co-founder & strategist, northwest cadence...
TRANSCRIPT
![Page 1: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/1.jpg)
03a | Manage Team Foundation Server
Steven Borg | Co-founder & Strategist, Northwest CadenceAnthony Borton | ALM Consultant, Enhance ALM
![Page 2: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/2.jpg)
• Manage Team Project Collections
• Configure for backup and recovery
• Monitor server health and performance
• Operate Lab Management
• Manage security
• Manage reporting for Team Foundation Server
Module Overview
![Page 3: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/3.jpg)
Click to edit Master subtitle style
Microsoft Virtual AcademyManage Team Project
Collections
![Page 4: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/4.jpg)
What the Study Guide says…
• Manage Team Project Collections.–moving project collections–managing team collections and projects– creating and configuring Team Project Collections– creating a team project using SharePoint and SQL Server
Reporting Services (SSRS)– splitting and partitioning team project collections
![Page 5: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/5.jpg)
MSDN Resources
Topic Linkmoving project collections http://examcr.am/YArj14
managing team collections and projects http://examcr.am/104WDnN
creating and configuring Team Project Collections http://examcr.am/10opj2o
creating a team project using SharePoint and SQL Server Reporting Services (SSRS) http://examcr.am/10opj2o
splitting and partitioning team project collections http://examcr.am/YArB85
![Page 6: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/6.jpg)
Team Project Collection Architecture
![Page 7: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/7.jpg)
Create a Team Project Collection
• Use the TFS Admin Console
• Follow the Wizard
![Page 8: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/8.jpg)
Create a Team Project (w/ SharePoint and SSRS)• Use VS 2012 Team
Explorer
• Follow theWizard
![Page 9: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/9.jpg)
Move a Team Project Collection
1. Required Permissions
2. Save Reports
3. Delete Lab Management Resources
4. Unmap the Collection from Microsoft Project Server
5. Detach the Collection
6. Back Up the Collection Database
7. Rebuild the Data Warehouse and Analysis Services
8. Prepare to Move the Site Collection Database
9. Move the Site Collection Database
10.Restore the Collection Database
11.Attach the Collection
12.Move Reports
13.Reconnect Resources for the SharePoint Web Application
14.Configure the Moved Team Project Collection
15.Configure Lab Management Resources
16.Configure Project Server Integration
17.Configure Projects
![Page 10: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/10.jpg)
Split a Team Project Collection
1. Delete Lab Management Resources
2. Detach the Collection
3. Back Up the Collection Database
4. Restore the Collection Database With A Different Name
5. Attach the Original Collection Database
6. Attach the Renamed Collection Database
7. Delete Projects From the Split Collections
8. Reconnect SharePoint Web Application Resources
9. Split Reports
10.Start the Collections
11.Rebuild the Data Warehouse and Analysis Services
12.Reconfigure Team Project Portals
13.Configure Lab Management Resources
14.Configure Users and Groups for the Split Team Project Collections
15.Configure Users and Groups for Projects
16.Split the Original Site Collection to Support the Split Team Project Collections
17.Synchronize Integration with Microsoft Project Server
![Page 11: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/11.jpg)
Split a Team Project Collection - Simple
• Detatch Original TPC
• Copy Original DB and restore with New DB name
• Attach Original TPC
• Attach New TPC
• Clean up Team Projects
![Page 12: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/12.jpg)
TfsConfig.exe Collections
![Page 13: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/13.jpg)
DEMO
Microsoft Virtual Academy
Manage Team Project Collections
![Page 14: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/14.jpg)
Click to edit Master subtitle style
Microsoft Virtual AcademyConfigure for backup and
recovery
![Page 15: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/15.jpg)
What the Study Guide says…
• Configure for backup and recovery.– backup and recovery of Team Foundation Server and
related components– recovering a failed application tier– recovering a failed database tier– implementing a disaster recovery plan
![Page 16: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/16.jpg)
MSDN Resources
Topic Link
backup and recovery of Team Foundation Server and related components http://examcr.am/13yn7pJ
recovering a failed application tier http://examcr.am/YArWYd
recovering a failed database tier http://examcr.am/11tmZ43
implementing a disaster recovery plan http://examcr.am/11n8LED
clearing work item and version control caches http://examcr.am/10zgbpD
![Page 17: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/17.jpg)
Databases needed for Backup and Recovery
![Page 18: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/18.jpg)
Backing up TFS
• Manually backing up TFS– HARD– http://examcr.am/15hOm4P
• Using the Database Backup Tools (TFS 2012 Power Tools)– EASY – Follow the wizard– (But not on exam since it’s part of the power tools)
• Using the Scheduled Backup feature (Update 2)– EASY – Follow the wizard– (But not on exam since it’s part of Update 2)– http://examcr.am/11n8LED
![Page 19: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/19.jpg)
Recover an application tier
• Simply install a new application tier– Be sure to create the right security accounts on the new
hardware• All TFS Administrators must be added to the AT’s local
Administrators group
• Run the Application-Tier Only wizard from the TFS 2012 install media
• Run the TFS Administration Console– Choose Application Tier -> Change URLs– Enter the URL to the new Application Tier
Pro Tip: You can also use the Change URLs window to allow TFS to use a fully qualified name such as tfs.nwcadence.com
![Page 20: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/20.jpg)
Recover a data tier
• Restore the databases to a new SQL Server
• Run the TFSConfig RemapDBs command
Pro Tip: With Update 2, this is now much easier since you can use the Scheduled Backup feature
TFSConfig RemapDBs /DatabaseName:ServerName;DatabaseName /SQLInstances:ServerName1,ServerName2 [/AnalysisInstance:ServerName] [/AnalysisDatabaseName:DatabaseName] [/preview] [/continue] [/usesqlalwayson]
![Page 21: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/21.jpg)
Refreshing Data Caches on Client Computers• If Work Item caches are causing errors, invoke the
StampWorkitemCache web method– On the New Server, and only once for entire organization– http:// {tfsName}:8080/WorkItemTracking/v3.0/
ClientService.asmx– Invoke StampWorkitemCache method
• If Version Control cache is causing errors, invoke the tf.exe workspaces command– On every client computer in the organization– tf workspaces
/collection:http://{tfsName}:8080/tfs/CollectionName
![Page 22: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/22.jpg)
DEMO
Microsoft Virtual Academy
Configure for backup and recovery
![Page 23: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/23.jpg)
Click to edit Master subtitle style
Microsoft Virtual AcademyMonitor server health and
performance
![Page 24: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/24.jpg)
What the Study Guide says…
• Monitor server health and performance.–monitoring the server for performance issues (monitoring
activity logging database and Team Foundation Server manager)
–monitoring the job infrastructure for failed jobs (monitoring warehouse adapters and warehouse jobs)
– cleanup of stale workspaces and shelvesets– setting up Team Foundation Build to use a version control
proxy server
![Page 25: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/25.jpg)
MSDN Resources
Topic Linkmonitoring the server for performance issues http://examcr.am/18ya6vb
monitoring activity logging database
monitoring the job infrastructure for failed jobs monitoring warehouse adapters and warehouse jobs
http://localhost:8080/tfs/TeamFoundation/Administration/v3.0/WarehouseControlService.asmx (on TFS box)cleanup of stale workspaces and shelvesets http://examcr.am/12hHQOS
setting up Team Foundation Build to use a version control proxy server http://examcr.am/132iUHz
![Page 26: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/26.jpg)
Monitoring warehouse adapters and jobs• WarehouseControlWebService– http://
localhost:8080/tfs/TeamFoundation/Administration/v3.0/WarehouseControlService.asmx
![Page 27: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/27.jpg)
Performance of individual commands
• Dbo.tbl_Command– Found in Tfs_Configuration database–Measures performance of individual commands
• http://localhost:8080/tfs/_oi– Activity log– Job monitoring
![Page 28: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/28.jpg)
Cleaning up stale workspaces and shelvesets• Tf workspaces– List all the workspaces for
a person– Update user name or
computer name
• Tf workspace– Create or delete
workspace– Change workspace
properties
• Tf shelvesets– Lists information about
shelvesets
• Tf shelve– Create or delete a
shelveset
• Tf status– Displays information
about pending changes
![Page 29: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/29.jpg)
Configure Team Build to use a Proxy Server1. On the server that is running Team Foundation Build Service, click
Start, click Run, type regedit, and then click OK.
2. In the browser pane, expand HKEY_CURRENT USER to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\TeamFoundation\SourceControl\Proxy.
3. In the details pane, set Enabled to True, and then set URL to http://ProxyServer:Port.
4. ProxyServer is the name of the proxy server that you want Team Foundation Build Service to use, and Port is the number of the port on which the proxy server is listening for requests. (By default, this number is 8081.)
5. On the File menu, click Exit to close Registry Editor.
![Page 30: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/30.jpg)
DEMO
Microsoft Virtual Academy
Monitor server health and performance
![Page 31: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/31.jpg)
• Focus on what’s possible rather than the deep technical details– Learn the basics for Splitting a TPC rather than the set of steps or
commands
• Understand the command line tools that are related to TFS administration– TfsConfig.exe– Tf.exe – selected commands (workspaces, workspace, status, shelve,
shelvesets, undo, etc)
• Realize that the tools you really use to manage performance and health of TFS aren’t on the exam– You have to study other approaches that are infrequently, if ever,
used in real life
EXAM BEST BETS
![Page 32: 03a | Manage Team Foundation Server Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM](https://reader033.vdocuments.mx/reader033/viewer/2022051315/56649dbf5503460f94ab2acf/html5/thumbnails/32.jpg)
©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.