|
16.04.2013, 08:13 | #1 |
Участник
|
Axilicious:Running AX2012 R2 locally on Windows 2012 Server booted directly from VHD
Источник: http://www.ksaelen.be/wordpresses/dy...ctly-from-vhd/
============== I have been working on a large project since a couple of months now and we use a virtualized environment where every developer has his own proprietary development machine. I am not going to make any statements about virtualization and the hardware that is beneath all of those machines is definitely ok.But here’s the thing:
Now off we go! Off course I am not going into many details of creating a VHD file as this is prerequisite knowledge for this post. It is just creating a virtual machine and installing the Windows Server 2012. Second step : Creating a boot option for the Windows Server 2012 VHD The first step was simple, but now comes the interesting part. We know how to create the virtual machine, but how can we boot right of the VHDX instead of having to boot an OS first to be able to run your virtualization software of choice? Well, BCDEDIT to the rescue! BCDEdit is found in your windows\system32 folder and is used to modify your boot configuration. What we need to do here is to add a boot option that mounts our VHDX file when booting. Follow the steps in the following link and you will be able to do just that! http://bootdiskette.info/how-to/boot...boot-from-vhd/ Third step : Installing a domain controller AX 2012 cannot run without a domain controller ( captain obvious to the rescue ) so we are not going to modify registry keys to trick it into running without one. (As was possible in AX 2009) Again, there is nice step-by-step guide from Microsoft to install Active Directory Domain Services on your 2012 Server ( Yes, dcpromo has been deprecated ) : http://social.technet.microsoft.com/...ontroller.aspx If you follow the steps you should have a domain controller on there and your server manager should look similar to the one I have here. Fourth step: Installing SQL Server, Visual Studio and AX2012 R2 I think this step is familiar. You have your own Server and domain controller up an running so you can go ahead and create the needed service accounts and Dynamics AX 2012 R2 has everything it needs to run in there. From here on, it is just like installing your own developer environment. Conclusion First thing that I have noticed: Windows Server 2012 really seems to be performing well and handling resources nice. I have the OS running, domain controller active and it only used 1.5 GB of ram (I expected it to use more). The startup time is also acceptable : 2.5 minutes from cold boot to logged in. (Compare that to booting windows 7 in the same time with running all of the company’s policies until I could log in…) Another advantage here is that I have created a copy of the virtual machine so whenever I run into trouble, I can just boot into the other main OS again and replace the VHD file with a backup and I am good to go again. And when I want to get rid of the dual boot option, I just have to remove the VHDX file and adjust the boot configuration with BCDEdit and it’s gone. All of this minimizes the overhead of having to remaster your machine once in a while because it starts to get slow. So I hope I showed you how you could do things differently when you want to run Ax locally. Источник: http://www.ksaelen.be/wordpresses/dy...ctly-from-vhd/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
За это сообщение автора поблагодарили: Logger (1). |
|
|