“I see dead people.” – Cole Sear, The Sixth Sense
“I see progress bars…” – Me, over the last couple of weeks.
Part 1
Part 2
Part 3
Part 4
In my previous post, I mentioned that it’s possible to use Windows Server 2008 Terminal Services and Remote Desktop Connection to provide a virtualized development environment for OCS 2007 R2, Exchange 2007 and the UC R2 platform SDKs. Over the next few posts, I’ll walk you through how to set up that environment based on the Office Communications Server 2007 R2 VHDs.
This environment has a couple of pros and cons:
Pros:
Cons:
In this post, I’ll provide a step by step process for building the Terminal Services machine. Grab a cup of coffee and let’s get started:
1. Set up the Office Communications Server 2007 R2 VHDs per the instructions included with those virtual machines.
2. Start Hyper-V Manager by selecting Start, All Programs, Administrative Tools and Hyper-V Manager.
3. Start the DC virtual machine by selecting it in the Virtual Machines list, right-click and select Start.
4. Select your host computer in the list of Hyper-V servers on the left of Hyper-V manager and select New, Virtual Machine.
5. On the Before You Begin dialog, select Next.
6. On the Specify Name and Location dialog, enter TS for the Name of the machine and C:\vm\server_vhds\ as the Location and click Next.
7. On the Assign Memory dialog enter 2048 MB for Memory and click Next.
8. On the Configure Networking dialog, select the network adapter you assigned to the other virtual machines during setup in the Connection drop down and click Next.
9. On the Connect Virtual Hard Disk dialog, select the Attach a virtual hard disk later option and click Next.
10. On the Completing the New Virtual Machine Wizard dialog, click Finish.
11. Select TS in the Virtual Machines list, right-click and select Settings.
12. Under Hardware, select IDE Controller 0, select Hard Drive and click Add.
13. Under Media click the New button.
14. In the Before You Begin dialog, click Next.
15. On the Chose Disk Type dialog, select Differencing and click Next.
16. On the Specify Name and Location dialog, enter "TS" in the Name text box and " C:\vm\server_vhds\TS\" for the Location and click Next.
17. On the Configure Disk dialog, enter "C:\vm\master_vhds\Win2k8EE_64.vhd" in the Location text box and click Next.
18. On the Completing the New Virtual Hard Disk Wizard dialog, click Finish.
19. On the Settings dialog, click OK to dismiss the dialog.
20. In Hyper-V Manager, select TS in the Virtual Machines list, right-click and select Start.
21. When the TS virtual machine has completely started (you see the login screen), right-click on the TS machine and select Connect.
22. When prompted for credentials, enter “fabrikam\administrator” for the account and “pass@word1” for the password.
23. When you connect to the TS you will see a script startup.cmd run in a command prompt with errors. This is expected.
24. To prevent the startup.cmd script from running again, select Start, All Programs, Startup, right-click startup.cmd and select Delete.
Now that the TS machine built, you’ll need to join it to the Fabrikam domain, install the Terminal Services role and install the necessary applications. I’ll post those next steps in my next post.
Please respond with comments if you run into any issues.
Special thanks to Jon Rauschenberger from Clarity Consulting for his help on this process.
Thanks,
Chris