03 | manage team foundation server steven borg | co-founder & strategist, northwest cadence...
TRANSCRIPT
03 | Manage Team Foundation Server
Steven Borg | Co-founder & Strategist, Northwest CadenceAnthony Borton | ALM Consultant, Enhance ALM
• 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
Click to edit Master subtitle style
Microsoft Virtual Academy
Operate Lab Management
What the Study Guide says…
• Operate Lab Management.– operating and modifying lab environments– repairing lab environments– using snapshots– storing System Center Virtual Machine Manager
environments
MSDN Resources
Topic Linkoperating and modifying lab environments http://examcr.am/ZEIi1u
repairing lab environments http://examcr.am/Z78O8Y
using snapshots http://examcr.am/12tJoCg
storing System Center Virtual Machine Manager environments http://examcr.am/ZEzfgM
Introduction to Lab Management
• Overview: http://examcr.am/132j169
• Benefits of Lab Management:– Use a test plan to run automated tests – Use a build-deploy-test workflow – Collect diagnostic data from all machines, even
during manual testing – Automatic test agent installation
• Additional Benefits with SCVMM:–Quickly reproduce machine configurations– Reproduce the exact conditions of a bug – Run multiple copies of a lab environment at the
same time
Changing Properties of an SCVMM environment1. Open Microsoft Test Manager and connect to the team project.
2. Open Lab Center.
3. Choose the Lab tab.
4. Choose the Environments sub-tab.
5. A list of environments is displayed.
6. Choose the environment that you want to view or change.
7. Choose Open, and then follow the steps in the wizard to view or change the properties.
8. If you have opened the wizard just to view the properties of the SCVMM environment, choose Cancel to close the wizard. If you have made changes and want to save the changes, choose Finish.
Repairing Lab Environments
• When you view your lab environment in the Environments tab in Lab Center, the status might be in the Not Ready state and display the error message, “The environment has one or more errors.”– The installation or configuration of a test agent on one or more of
the machines in your environment failed.– There is a communication problem between one of the test agents in
your environment, and your test controller.– The test controller or the test agent process has shut down or is not
functioning.– The user account of the test agent or the lab service account cannot
be authenticated by the test controller.
• To repair, choose Repair Environment from shortcut menu
Using Snapshots
• Read http://examcr.am/12tJoCg
• You can do the following with environment snapshots:– Creating Snapshots of an Environment– Restoring an Environment From a Snapshot– Sharing a Snapshot of an Environment– Storing an Environment With Snapshots in the Library– Deleting a Snapshot of an Environment
Storing SCVMM environments
• Read http://examcr.am/ZEzfgM
• Can use stored environment in the following situations:– Archiving deployed environments– Creating stored environments from stored virtual machines
and templates– Creating a stored network isolated environment– Createing a stored environment from a deployed
environment
DEMO
Microsoft Virtual Academy
Operate Lab Management
Click to edit Master subtitle style
Microsoft Virtual Academy
Manage security
What the Study Guide says…
• Manage security.– configuring limited users–managing roles in Team Foundation Server using Active
Directory groups–managing permissions in Team Foundation Server in
SharePoint, SSRS, builds, source control, and Work Item Management
– creating and managing teams– configuring security for users who do not have a Client
Access License (CAL)
MSDN Resources
Topic Linkconfiguring limited users http://examcr.am/14DcvGK
managing roles in TFS using Active Directory groups
managing permissions in TFS in SharePoint http://examcr.am/11NHKKt
managing permissions in TFS in SSRS http://examcr.am/12tL8vq
managing permissions in TFS in builds http://examcr.am/1799vQ9
managing permissions in TFS in source control http://examcr.am/17MvmOp
managing permissions in TFS in Work Item Management http://examcr.am/118wgQ8creating and managing teams http://examcr.am/17yhogjconfiguring security for users who do not have a Client Access License (CAL) http://examcr.am/1799Jqo
Limited Users (formerly Work Item Only View)• Limits the user to
only creating new work items and viewing / editing work items that they have created.
Configuring Limited Users (AKA “No CAL users)• From web access, click the “gear” to get to the
Admin site
• Click the “Control Panel” link on the breadcrumb
• Click the “access levels” tab
• Add Windows users, Active Directory groups, or TFS groups to the Limited access level
DEMO
Microsoft Virtual Academy
Manage security
Click to edit Master subtitle style
Microsoft Virtual AcademyManage reporting for Team
Foundation Server
What the Study Guide says…
• Manage reporting for Team Foundation Server.–managing basic reporting using Microsoft Office Excel
Services– customizing the SharePoint team project portal– uploading a new SSRS Team Foundation Server report– configuring Team Foundation Server to enable a report to
appear in a SharePoint project portal– rebuilding the Team Foundation Server data warehouse
MSDN Resources
Topic Linkmanaging basic reporting using Microsoft Office Excel Services http://examcr.am/12NITkA
customizing the SharePoint team project portal http://examcr.am/119LEhD
uploading a new SSRS Team Foundation Server report http://examcr.am/111VI8f
configuring Team Foundation Server to enable a report to appear in a SharePoint project portal http://examcr.am/119LEhD
rebuilding the Team Foundation Server data warehousehttp://examcr.am/18ta22u http://examcr.am/12hIrA4 http://examcr.am/13hPO5U
Manually Rebuilding the Warehouse and Cube• Manual approach– Go to
http://localhost:8080/tfs/TeamFoundation/Administration/v3.0/WarehouseControlService.asmx
– Process the warehouse: • click ProcessWarehouse, and then click Invoke
– Process the cube: • click ProcessAnalysisDatabase.• in processingType, type either Incremental or Full, and then
click Invoke
Rebuilding the Warehouse and Cube in the UI• Using the TFS Administration Console– Open the administration console for Team Foundation.– Under Team Foundation, expand the name of the server,
expand Application Tier, and then click Reporting.– Under Reporting, click Start Rebuild.– The Take Offline dialog box opens.– Click OK to take the data warehouse and Analysis Services
cube offline.– The Rebuild the Warehouse and Analysis Services
Databases dialog box opens.– Click OK to initiate the rebuild process.
Rebuilding the Warehouse and Cube via Cmd• Using the TfsConfig.exe RebuildWarehouse
command– Log in with an elevated command prompt– Type TFSConfig RebuildWarehouse /analysisServices
to only process the cube– Type TFSConfig RebuildWarehouse /all to process both
the warehouse and the cube– Note: This command has NO option that will allow you to
ONLY process the warehouse, without the cube
DEMO
Microsoft Virtual Academy
Manage reporting for Team Foundation Server
• Focus on what’s possible rather than the deep technical details– Learn the basics of Lab Management as opposed to the
steps necessary to snapshot an environment
• Clearly understand how security around Teams works, both for version control and work items
• Know how to rebuild the data warehouse in multiple ways
EXAM BEST BETS
©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.