Pages

Tuesday, April 2, 2013

Setup the March 2013 demo machine for VirtualBox

On the new demo image for AX 2012, the image running on Windows Server 2012, I couldn't get EP and Role Centers to work. Not even using the usual trick where the hosts file is modified.

I'm definitely not a networking guy, but by reading the documentation for Hyper-V that comes with the image, I actually figured out how to change settings correctly for the image.

First you need two network cards for the machine. One for running its own private network, and one to give it Internet access through your physical machine.

These are the settings for the first card:


Notice the network name: AX2012.

And these are the settings for the second card:



After starting the image, you need to do some configuration of the network card running the internal network. To figure out precisely what card that is, open a command prompt and enter ipconfig to check IP addresses of the cards. It should be the card having an IP address starting with 169.

From the Control Panel you must now open Network and Sharing Center and click Change adapter settings. On the card running the internal network, right-click and choose Properties.
Select Internet Protocol Version 4 (TCP/IPv4):


Now click Properties and enter the following information:



Click Advanced to open this dialog:


And here you need to enter all these IP addresses, with subnet mask 255.255.255.0:
  • 10.20.12.101
  • 10.20.12.110
  • 10.20.12.111
  • 10.20.12.112
  • 10.20.12.113
  • 10.20.12.114
  • 10.20.12.120
  • 10.20.12.121
When you save the new network settings, it might warn about the same settings being applied to another network card. That would be that card setup for Hyper-V, and you wont have a conflict with that. You can safely let it remove these settings from the other card however.

Save everything and reboot.

It takes quites a while for both AX and the portal to come alive, so be patient.

For the two other machines that are involved in the full demo setup, you probably need to do the same. The IP addresses to add are different though. You can see the numbers in the Hyper-V documentation that comes with the image.

Any comments to guide me and the rest of the community to an eventual better process are welcome. It is very limited what kinds of questions I'll be able to answer.

9 comments:

nunomaia said...

I had the sames issue

I have posted the same resolution a couple of days ago :-)

http://axnmaia.wordpress.com/2013/03/28/microsoft-dynamics-ax-2012-r2-demo-vm-in-virtualbox/

Palle Agermark said...

Arttu has another possible solution described in this thread:
https://community.dynamics.com/ax/f/33/p/103696/200280.aspx#200280

I'd love to know if that works too. It seems a bit easier. Please comment.

Palle Agermark said...

Excellent Nunomaia. I'd wish Googled had found that for me earlier :-)

Thanks for the link. I'll add your blog to my list of usefull blogs.

Synapis IT said...

Thaks for clear instructions... but my EP in AX2012 R2 VM still does not work :( I have still messageabout 'An unexpected error.."
Does anybody has any idea how to correct this...?

Thanks in advance..

Witold

Erik Kornerup said...

Hi Palle
Have you looked at the latest R2 Image from MBS?
I have tried to use the tricks at this but without any luck.
Have you forund a solution to the EP issue?

Palle Agermark said...

Hi Erik,

I haven't looked at running the latest image on VirtualBox. I now have the oppertunity to run it on Hyper-V and that works like a charm.

/Pallle

Subash said...

Thank you Palle. Your instructions worked perfectly.

DrBillC said...

Hi Palle,

I’ve created a video detailing how to set this up properly in VirtualBox with the R2 v3 image (July 2013 release). Take a look at http://youtu.be/klV6qh211EI.

I also created a copy of my settings as a virtual appliance (OVA) file which can be imported into VirtualBox for you to then add your downloaded VHD files which you download from PartnerSource (https://mbs.microsoft.com/partnersource/marketing/marketingcollateral/demos/AX2012DemoToolsMaterials.htm). A cheat sheet for setup, the OVA file and a keyboard shortcut file for Windows 8/Server 2012 are all located on my SkyDrive at http://sdrv.ms/173UoH1. I hope you find this helpful.

Chandra Setiawan said...

you can also setup dual OS rather than hyper-v / virtual box / vmware method.
You can see the complete post here:

http://daxetlbi.blogspot.sg/2014/01/maximize-microsoft-dynamics-ax-2012-r2.html