The other issue is whether to utilize the standard demo VPC's (Microsoft has 2 demo VPC for AX 2009) or to create your own. Since setting up and configuring a complete AX 2009 solution has become an hour intensive task due to the number of components and supporting software required, I decided to use the standard VPC provided from Microsoft (17 files for download for demo VPC 1 aka AX-SRV-01).
An additional requriement was that users should be able to connect to the virtual machine remotely.
Here are the tasks I perfomed to provide the standard demo VPC under Hyper-V:
- Downloaded 17 files for demo VPC 1 on my laptop
- Exctracted the VHD to my laptop
- Mounted the VHD under Virtual PC 2007 and started the VM with public networking
- Updated the VM with the latest security updates and verified that the firewall was running
- (Now I could have uninstalled the Virtual Machine Additions, but I decided to to this after mounting the VHD under Hyper-V)
- After stopping the VM, I copied the VHD to the Hyper-V host (approxemaetly 30 Gb)
- Mounted the VHD under Hyper-V and started it through the Hyper-V console with public networking (no networking will be enabled until Integration Services is installed)
- Uninstalled Virtual Machine Additions and restarted the VM (some creativity was needed at this stage to be able to access Windows Explorer)
- Installed Hyper-V Integration Services and restarted the VM
- At this point the VM was fully operational including Remote Desktop Connections , but none of the configured Web Sites was working...
- After investigating the Web Site configuration, I noticed that they where configured to use host headers which led me to further investigate the DNS configuration. Without beeing a DNS expert, I concluded that the relationship between the defined DNS records and the original IP configuration (192.168.0.1) on the one side and the forward lookup zone on the other, was important. I did NOT want to tamper or alter the DNS configuration to avoid a lot of reconfiguration (remember that the server runs several roles including Domain Controller).
- After stopping the VM, I created a new private virtual network (Hyper-V networking) and I added a second network card that I bound to the newly defined network
- After starting the VM once again, I defined a static IP (192.168.0.1) on the new network interface and voila - all Web Sites where operational and accessible again without any reconfiguration.
I allocated 3 Gb of memory and one virtual CPU to the VM under Hyper-V.
The overall performance of the VM was supprisingly good even when executed on a Hyper-V host with local disks (no SAN) and sharing resources with a large number of other virtual machines.
The major limitation with this setup, is the number of concurrent RDP sessions (WTS running in admin mode).
No comments:
Post a Comment