实验室管理:为环境部署VM [英] Lab Management: deploying VM's for environments

查看:58
本文介绍了实验室管理:为环境部署VM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


正如此网址所述:


http://msdn.microsoft.com/en-us/library/ee702479.aspx


我创建了一个所谓的"黄金"虚拟机(在我的情况下使用W7 Pro)并且首先没有准备工具并遵循本节中的说明:



  • 首先将VM转换为模板然后将其存储在库中

 


到目前为止,非常好。


下一步是按照此处的说明从此模板创建一个环境:


http://msdn.microsoft.com/en-us/library/ee518915.aspx  


  ;不幸的是,在本节中没有显示"机器属性"部分的屏幕截图。在本节中,您必须输入该计算机的本地管理员帐户,但如果您确实要使用"管理员",则用户界面不接受
,并且不会发出任何警告?!?!?所以我使用了"管理员"。


在同一部分中,您必须告诉您将其添加到域并指定域名,帐户和广告。它的密码,我做了并测试并且没问题。


最后我开始部署。


一旦完成,我开始新的虚拟机,令我惊讶的是它根本不在域名中?!?!?我的区域设置(比利时荷兰语)和其他个人更改任务栏,开始按钮,资源管理器属性(显示扩展名,隐藏文件,...)
哪里去了?!?!?


所以我必须先登录(使用另一个键盘布局:-(),手动输入域名中的VM,更改区域设置,.... 


当然这不可能是这样做的吗?


所以我使用VM准备工具进行了第二次尝试,并从已经在域中的VM启动,但是当我从实验室环境设置部署了那个,同样的故事?!?!?


我忽视了什么?或者做错了什么?


Highly感谢任何反馈,因为在互联网上还没有找到太多细节: - (




提前致谢。


亲切的问候,


Kris。


 


 

解决方案

管理员用户名问题是Windows 7/2008的事情。如果哟你手动安装它们,它会让你创建一个管理员以外的用户,所以模板部署的东西也需要它。


当你创建一个模板时,它会在机器上运行SysPrep。  Sysprep用于"概括"机器图像;删除任何用户特定设置。 但是,有一个"运行一次"脚本的设置,你可以运行一个脚本,在部署后根据自己的喜好配置
机器。


另一个选项是只存储一个VM到图书馆,但是当你开始复制那台机器时,这会有点不稳定。 如果您在实验室环境之外使用域名,几乎不可能做到。


对我来说,默认设置很好,所以我不能提供有关脚本设置的任何建议。


Hi,

Just as described in this URL:

http://msdn.microsoft.com/en-us/library/ee702479.aspx

I have created a so-called 'golden' VM (in my case with W7 Pro) and first did it without the prep tool and followed the instructions in this section:

  • To first convert a VM into a template and then store it in the library

 

So far, so good.

Next step was to create me an environment from this template as instructed here:

http://msdn.microsoft.com/en-us/library/ee518915.aspx 

 Unfortunately in this section no screenshot is shown of the 'Machine Properties' section. In this section you have to enter a local Administrator account for that machine, but if you really want to use 'Administrator', the user interface doesn't accept it and doesn't give any warning?!?!? So I used 'Admin' instead.

In this same section, you have to tell to add it to a domain and specify domain, account & password for it, which I did and test and was OK.

Finally I started the deployment.

Once it was finished, I started the new VM and to my surprise it was not in the domain at all?!?!? My regional settings (Belgian Dutch) and other personal changes to Task Bar, Start Button, Explorer properties (show extensions, hidden files,...) where gone?!?!?

So I had to log in first (with another keyboard layout :-( ), manually enter the VM in the domain , change regional settings,.... 

Surely this can't be the way to do it?

So I made a 2nd attempt with the VM prep tool and started from a VM already in the domain, but when I deployed that one from the Lab Environment setup, same story?!?!?

Am I overlooking something? Or doing something wrong?

Highly appreciate any kind of feedback as not much details can't be found yet on the internet :-(


Thanks in advance.

Wit kind regards,

Kris.

 

 

解决方案

The Administrator username issue is a Windows 7/2008 thing.  If you install them manually, it makes you create a user other than Administrator so the template deployment stuff will need it as well.

When you create a template it runs SysPrep on the machine.  Sysprep is used to 'generalize' machine images; removing any user specific settings.  However there is a setting for 'run once' scripts where you could run a script that configured the machine to your liking after deploying.

The other option is storing just a VM to the library but that gets a little flaky when you start copying that machine a lot.  Virtually impossible to do if you're using a domain outside your lab environment.

For me, the defaults are fine so I can't offer any advice on scripting those settings.


这篇关于实验室管理:为环境部署VM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆