次の方法で共有


Building VMs out of the downloadable Win2k8R2 vhds

This posts walks you through how to create VMs from the Win2K8R2 vhds you can download from here. If you are an SCVMM / Hyper-V expert, you can skip this section.

Launch the downloaded exe

 C:\vmimages>  "Windows Server 2008 R2 Enterprise Evaluation (Full Edition).exe" 

Extract the image to your MSSCVMMLibrary and make two copies (one for the TFS and another for the test machine)

 c:\ProgramData\Virtual Machine Manager Library Files\VHDs>dir Volume in drive C has no label. Volume Serial Number is 2EA8-7235 Directory of c:\ProgramData\Virtual Machine Manager Library Files\VHDs11/21/2009  07:07 AM    <DIR>          .11/21/2009  07:07 AM    <DIR>          ..10/30/2008  12:39 PM           125,440 Blank Disk - Large.vhd10/30/2008  12:39 PM            35,328 Blank Disk - Small.vhd08/10/2009  07:11 AM     6,939,326,464 TestW2KR2.vhd08/10/2009  07:11 AM     6,939,326,464 TFSW2K8R2.vhd

Go to the “Library” tab in the SCVMM admin console (bottom left), click on the library server and select refresh. This will bring the vhd’s you copied just now to the library immediately. (The library by default gets refreshed once an hour).

image

Go to the “Virtual Machines” tab (bottom left) in the SCVMM admin console and select “New virtual machine” (top right). Select the “TestW2K8R2.vhd”

image

Give the VM a name

image

Change RAM to 1GB, and Connect it to network

image

Select the right OS flavor

image

and “select start after deploying it to the host”.

image

Follow the same steps for the TFS VM also, but change the RAM to 2048MB and deploy it. Do not select the “start after deploying it to host” – as both will have the same names and will create collision.

These vhds are created by a process called “sysprep”, and when you start the VMs they go through the “specialization” process to create unique machine SIDs, plug-n-play detection, activation resets etc. Once the 1st VM is up, connect to the VM and logon. The web page from where you downloaded the VHDs has the password.

 To logon to the machine, use the following credentials: Username: administrator, password: Pass@word1 (Administrator account)

Change the machine name, join it to a domain, enable remote desktop on it, activate windows, add a domain account as administrator on the box, download and install the latest patches and reboot.

Launch the TFS VM now, and go through the same motions described above.