Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

Опции темы Поиск в этой теме Опции просмотра
Старый 04.06.2011, 23:12   #1  
Blog bot is offline
Blog bot
24,138 / 809 (75) +++++++
Регистрация: 28.10.2006
Leon's CRM Musings: Running the Dynamics CRM VPC on Windows 7

Microsoft have now released a VPC demo image for Dynamics CRM 2011

A nice set of two virtual machines; one running Dynamics CRM and the other running Exchange.

The Problem

The problem is Dynamics CRM 2011 only runs on 64 bit servers. Therefore the VPC image is 64 bit. The only software Microsoft provides to run 64 bit VPC images on is Hyper-V. Hyper-V only runs on Windows Server 2008, which is also 64 bit. Therefore, if we are to embrace all things Microsoft, and want to run the demo on a laptop, we need to install Windows Server 2008 on our laptop.

Unfortunately Windows Server 2008 was not built to be run on laptops. It has no concept of things like hibernation and power management. No one says ‘I am so glad I installed Windows Server 2008 on my laptop’. So what is the solution?

The Solution

While Microsoft provides no software to run 64 bit VPC images on a laptop operating system like Windows 7, Sun Microsystems does. VirtualBox ( runs on Windows 7 and plays nicely with Microsoft VPC 64 bit images.

So, the first step is downloading and installing VirtualBox. The latest version, at the time of writing is 4.0.8. Download the installer and hit ‘Next’, ‘Yes’ and ‘Install’ a lot.

Now that you have installed VirtualBox we need to run it and add our downloaded VPC image to it. To do this we click the ‘New’ button.

The wizard will guide you through adding the VPC image. Set up VirtualBox to run the image as a Windows Server 2008 64 bit

Next you will need to assign memory. The guide suggests 4G RAM but I only have 2G RAM to spare.

Please note: In the end I had to set this to over 2000 MB to avoid the guest blue screening due to running out of memory.

Next you will want to use an existing disk. Browse to the disk you have extracted from the Microsoft demo download.

After this you click ‘Finish’.

If you try to start the image at this point you will see the Blue Screen of Death about five seconds into booting. First we must click on ‘Storage’, remove the SATA hard drive and add it back as an IDE drive. It should look like this when you are done.

Click OK and start up the machine. Many popup boxes appear but once you wade through them it should kick into operation.

Fixing The Memory

The biggest problem you will have, if you are running the image on a host machine with 4G RAM, is the lack of memory available to the guest. To be honest, if you are going to be performing extended demos with this image you will need a machine with at least 8G RAM. However, if you don’t have this option, here is a quick bit of memory optimization. That cheeky SQL Server is grabbing as much as possible. In fact, on my work machine, SQL was chewing through 600M RAM when I ran this image. To fix the situation we need to run SQL Server Management Studio.

Once logged in, we can adjust the memory management of our SQL Server.

Going to the Memory area we see that SQL Server can grab up to 640M RAM from the machine. Given our limitations, we can set this to something more palatable, say 500M RAM, giving the guest just that little more to run. The downside of this is SQL Server may be a little slower in responding to database requests or may timeout. However, given the VPC image will not run in our case without a little extra memory, throttling is the lesser of two evils.

Another option to gain a little extra memory is to see how much idle memory the host has (via task manager). Leaving yourself a buffer of, say 200M RAM, if the host is not close to maximum you can boost the memory allocated to the guest.

Hopefully these little tricks will get it working on your machine.

Good luck.

Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
CRM DE LA CREME! CRM 4.0 Disaster Recovery Blog bot Dynamics CRM: Blogs 2 26.02.2016 08:23
Leon's CRM Musings: Dynamics CRM Resources for the Rest Of Us Blog bot Dynamics CRM: Blogs 0 06.11.2010 03:11
Все о Microsoft Dynamics CRM: Как установить Microsoft Dynamics CRM 2011 Beta Blog bot Dynamics CRM: Blogs 0 31.10.2010 15:08
CRM DE LA CREME! Configuring Microsoft Dynamics CRM 4.0 for Internet-facing deployment Blog bot Dynamics CRM: Blogs 0 18.08.2009 11:05
Microsoft Dynamics CRM Team Blog: List Web Part for Microsoft Dynamics CRM 4.0 Deployment Scenarios Blog bot Dynamics CRM: Blogs 0 30.01.2009 22:05
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Часовой пояс GMT +3, время: 08:44.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.