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.