This post goes through the step-by-step tasks for building the four virtual machine images for the DEC LH workshop on Virtual Server 2005 R2. Note that for best performance of the Longhorn images, you should install Virtual Server 2005 R2 SP1, which is current in Beta form. You can download it from Connect. You have to authenticate using Passport before you can see th VS 2005 R
SCHOOL
- Create a VM named SCHOOL and create the associated hard disk. Configure at least 512MB (1GB is better) of memory, since this will be a full LH server install. Make sure the VM has a network card connected to the physical NIC. Using Undo disks would be a good idea.
- Mount the Longhorn x86 Beta 3 ISO image on the VM, and boot the image.
- Select English language and US English time, currency and keyboard languages.
- When asked for a product key, just press Next. This will put the image into evaluation mode, which means it will stop working "after a while".
- When prompted for the install version, select SERVERSTANDARD. Be sure and check the box that indicates you bought the version that you select, WHICH OF COURSE YOU DIDN'T PURCHASE BECAUSE ITS A BETA!
- Accept the license agreement, assuming you really do agree to all the terms.
- When prompted, select the "Custom" install, which will format the drive and install a new copy of the OS instead of upgrading an existing Windows install.
- When prompted for installation drive, choose drive 0 (assuming you only configured your VM with a single drive). The installation will go off and do stuff for a while.
- When the machine reboots, login as Administrator (there will be no password initially). You will be presented with the Initial Configuration tasks application.
- Set the Administrator password to "dec2007", the timezone to US Mountain Time, leave the networking using DHCP, and set the machine name to "school". Leave it as a Workgroup server.
- Enable Remote Desktop, allowing conenctions from computers running any version of the Remote Desktop client.
- Turn off the Windows Firewall.
- Close the Initial Configuration Taks window. Server Manager will appear automatically.
- Set the screen resolution to 1024x768x16
- Disable the screen saver.
- Disable automatic updates.
- Install the Virtual Machine Additions from Virtual Server.
- Restart the virtual machine. When it comes back up, login as Administrator using the password you specified.
- Copy the entire \Workshop directory structure from wherever you shared it to the C:\Workshop directory of the VM.
- Run C:\Workshop\Post-DCPROMO.CMD. After doing all its stuff, it will shut down the VM
- In Virtual Server, merge the undo disks if any and save the .vhd somewhere.
OPERAHOUSE
- Create a VM named OPERAHOUSE and create the associated hard disk. Configure at least 256MB (512MB is better) of memory. Make sure the VM has a network card connected to the physical NIC. Using Undo disks would be a good idea.
- Mount the Longhorn x86 Beta 3 ISO image on the VM, and boot the image.
- Select English language and US English time, currency and keyboard languages.
- When asked for a product key, just press Next. This will put the image into evaluation mode, which means it will stop working "after a while".
- When prompted for the install version, select SERVERSTANDARDCORE. Be sure and check the box that indicates you bought the version that you select, and accept the license agreement on the next page.
- When prompted, select the "Custom" install, which will format the drive and install a new copy of the OS instead of upgrading an existing Windows install.
- When prompted for installation drive, choose drive 0 (assuming you only configured your VM with a single drive). The installation will go off and do installation stuff.
- When the machine reboots, login as Administrator (there will be no password initially). You will be presented with the Initial Configuration tasks application.
- Use CTRL-ALT-DEL to set the Administrator password to "dec2007"
- From the Virtual Server console, install the Virtual Machine Additions. This mounts a virtual CDROM image, but Server Core won't autorun it, so from the command prompt, go to the D: drive, go into the Windows directory, and run SETUP.EXE. When prompted, reboot the virtual machine.
- Run C:\> TIMEDATE.CPL, the time and date Control Panel applet. Set the timezone to US Mountain Time
- Run C:\> NETDOM RENAMECOMPUTER localhost /newname:operahouse to rename the computer.
- Run C:\> NETSH FIREWALL SET OPMODE DISABLE to disable Windows Firewall.
- Run C:\> CSCRIPT \WINDOWS\SYSTEM32\SCREGEDIT.WSF /AU 1 to disable automatic updates.
- Run C:\> CSCRIPT \WINDOWS\SYSTEM32\SCREGEDIT.WSF /AR 0 to enable remote desktop connections.
- Run C:\> CSCRIPT \WINDOWS\SYSTEM32\SCREGEDIT.WSF /CS 0 to allow downlevel RDP clients.
- Run C:\> 1365VIDCHNG 1024x768x16x75 to set the video resolution. You can get 1365vidchng here.
- Run C:\> SHUTDOWN /r /t:0 to reboot the machine so the rename will take effect.
- Copy the entire \Workshop directory structure from wherever you shared it to the C:\Workshop directory of the VM.
- Run C:\Workshop> Post-DCPROMO.CMD. The machine will shutdown when it is done.
- In Virtual Server, merge the undo disks if any and save the .vhd somewhere.
SHARKBAIT
In this lab, SHARKBAITin a 64-bit full-install Longhorn server. The problem we have is that Virtual Server doesn't yet support x64 guests (where's Veridian?). So for our purposes here, build the SHARKBAIT image exactly as you did the SCHOOL image (with the obvious exception of setting the machine name to "sharkbait".)
DON'T START THE VMS YET! THERE IS STILL ONE MORE CONFIGURATION STEP!
And I'll cover that in the next post.