Question 1: How are System Center Virtual Machine Manager (SCVMM) errors surfaced in Lab Management?
Answer: These can be determined based on configuration, managing, testing, workflows and network For Lab Management, the user entry point is Microsoft Test Manager(MTM), where they will be able to manage their environments (create, delete, take snapshot, restore snapshot etc.). While Lab user is performing some operation on his environment and the corresponding error message is shown in MTM, on the right side section of environment and upon clicking the view detail you can see exact error message. Suppose you have to check SCVMM errors for further debugging you can do this by checking job history for that VM(Name of the VM in SCVMM admin console can be found by doing right click and selecting “System Information” refer screenshots directly below) in SCVMM admin console Jobs tab.
For more information please see the following link (note it’s dated back to 2009, but still applicable). Troubleshooting errors in lab management
Question 2: How do we run Lab Management across network domains? For example, a company has domains for Production, Users, and a Lab domain for the Build and Test controllers along with Lab Management. These domains have no trust relationship. The scenario is a user needs to access all of these.
Answer: For domains, we can define a topology that can be one-way or two-way or no-trust. For more information please see the following link where multiple sample network topologies are discussed.
Question 3: How do we see how users are using Lab Management and the associated creation and consumption of virtual machine resources? For example, a customer needs to determine the state of these machines as well as administer aspects of the Lab Management environment based on observations.
Answer: We can develop custom reports which enable us to create any kind of view we require. The APIs are well documented and can be found at the following links. Note, only the first three links will help create reports.
Question 4: How do we see the owner of an environment in Lab Management via SCVMM?
Answer: Here is a screenshot depicting the owner in SCVMM.
Question 5: Can you provide guidelines for configuring Lab Management?
Answer: This well documented at the following location.
Question 6: What is recommended as a connection point between SCVMM, the VM templates, VM machine instances and snapshots? Can these storage partitions be achieved on separate SANs via an infini-band connection and what is the sharing protocol? Or is it recommended that we put all these pieces together in a manner that is highly performant.
Answer: System Center provides in depth guidance on optimal hardware configurations. There is some introductory guidance with the following link.
Rights Management for Lab Management and SCVMM
- For the combination of a TFS instance and a SCVMM farm, one service account should be used by TFS to access the SCVMM farm.
- TFS provides the ability to provide granular rights to users and that should be used to limit the rights of the user. This can be achieved as described in the following links.
3. For ensuring that one team does not hog the resources in LM, the quota allocation can be done at Host Group/ Library share level per project. This can be done by adding respective groups to team project at the time of Lab Management configuration. See the section titled – Configure Lab Management for Each Team Project Collection. Please see the following link.
The lowest granular level is to assign a host group to each team project and limit the number of resources that they can use. This way overuse of resources by one team will not affect others.
4. Created By: LM records who creates environments by setting the owner field and this is also recorded in the SC in the description field.