简体   繁体   English

将VM添加到现有实验室

[英]Add VM to Existing Lab

Good morning. 早上好。 This may be a very novice question and/or a lack of understanding surrounding TFS and Microsoft Test Manager. 这可能是一个非常新手的问题,并且/或者缺乏对TFS和Microsoft Test Manager的了解。 Nonetheless, I would very much appreciate some guidance from the community. 尽管如此,我非常感谢社区的一些指导。

The situation is very simple. 情况很简单。 I have existing labs that have been created using Microsoft Test Manager in conjunction with System Center Virtual Machine Manager 2012 SP1 on the backend. 我已经使用后端与System Center Virtual Machine Manager 2012 SP1结合使用Microsoft测试管理器创建的现有实验室。 There is a need to add a new virtual server to the existing labs. 需要向现有实验室添加新的虚拟服务器。 Between SCVMM and Microsoft Test Manager, I cannot find any way to accomplish this, nor can I find any documentation in TechNet or MSDN that explains how this can be accomplished. 在SCVMM和Microsoft测试管理器之间,我找不到任何方法可以完成此操作,也找不到TechNet或MSDN中的任何文档来说明如何完成此操作。

If anyone has done this successfully, or if anyone has information pertaining to how this can be accomplished the assistance would be much appreciated. 如果有人成功做到了这一点,或者如果有人掌握了有关如何实现的信息,将非常感谢您的协助。

Thanks everyone. 感谢大家。

You can add new VM to a stored environment only. 您只能将新VM添加到存储环境。 That means you should in MTM : 这意味着您应该在MTM中

  • Shut down your environment 关闭环境
  • Select "Store in the library" from menu or context menu. 从菜单或上下文菜单中选择“存储在库中”。
    You can select location (the library to store into) on SCVMM machine then. 然后,您可以在SCVMM机器上选择位置(要存储的库)。
  • Go to the Library tab in MTM / Lab Center 转到MTM / Lab Center中的“ 库”选项卡
  • Open environment you have just stored 您刚刚存储的开放环境

Now you will be able to add further VMs to it. 现在,您将能够向其中添加更多VM。 After that you can just deploy changed environment. 之后,您可以部署更改的环境。

But be aware: if you add/remove VMs to/from existing environment you will lose all existing snapshots of this environment. 但是请注意:如果将虚拟机添加到现有环境中或从现有环境中删除虚拟机, 则将丢失该环境的所有现有快照
So if you have some important snapshots you will have to consider how to deal with them before storing the environment. 因此,如果您有一些重要的快照,则必须在存储环境之前考虑如何处理它们。

PS: It's a pity it is not described nowhere neither in TechNet nor in MSDN... I found it out by chance... PS:遗憾的是,无论是在TechNet还是MSDN中都没有对它进行描述...我偶然发现了它...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM