Speed up your Microsoft Hyper V (Azure)

The Hyper V these days from MS are getting bigger and slower. But what makes it slow.

I can give you some tricks that will speed up the system. Let’s start have a look at the tasks:

azure1

It is SharePoint that is killing us. Why SharePoint and especially the Search crawler. You start your Virtual machine. All services start and SharePoint looks at the timestamp of the search Database. And oh my god, it is 2 weeks old (last time you used that environment). Hurry, hurry start crawling, no time to waste, we have to correct 2 weeks. But 2 weeks for what… nothing has changed. So:

Remove SharePoint Search, It will consume a lot of SQL power.

  1. Start SharePoint 2013 Central administrator
  2. Click Manage services on server After that delete the upper one. Also confirm on deleting that DB
    azure2
  3. Start deleting the Contoso search Service. Start with the proxy (the lower on). This will also ask if you want to delete the DB. Just confirm this.
  4. It will jump to next part and just delete them.

azure2

Set Max Memory of SQL correct , 2048 will do the job

azure4

Finally remove all retail components in case you don’t need them.

With these settings you are able to run Azure on A5

Or just take some time, create a new window 2012 azure VM and install:

  • active directory
  • SQL (Database & SSRS)
  • SharePoint Foundation
  • Dynamics ax

During installation use A6, after competing turn back to A3, that one is running around 4 euro by day.

 

 

 

Streamline installations

Streamline installations are supposed to make our lives easy, that is if they are properly configured.

First question is how to make a streamline installation. These can be downloaded from https://lcs.dynamics.com

One has to create a project. It is important that it is for the correct build (RTM, retail, R2 or R3).

Next, scroll to the right on the LCS site. On the More tools plane, one can find 2 important buttons: Issue search and Update.

Issue search makes it possible to download isolated fixes (KB numbers).

lcs1

The updates button allows you to download whole CU updates. When you press the Updates button, the webpage below appears.

lcs2

The first option (Complete) has it all, namely an installation wizard, binaries and model store. This can also be used in case one only wants to install the binaries.

If only the binaries and the installation wizard are needed, choose the next option (Binary-only)

And finally we come to the third option (Slipstream). The Slipstream has no installation wizard. When this is extracted, one gets something as per the screenshot below:

lcs3

These extracted files are to be copied to the correct place on the AX 2012 R2 RTM image. Remember to extract this image first.

lcd4

When the image is extracted, one can find an Updates folder. Open this folder and create folders CU8 and myModels inside as show below:

Next copy the extracted CU8 files into the CU8 folder and copy your own models in myModels.

lcs6

One would think that the slipstream installation is now up and running….. NOT!

lcs5

This is strange, this is CU8, so what went wrong?

Time to check LCS….. check for CU8 or slipstream but we find no answer.

Time to log an incident on connect.microsoft.com. An update will follow….

But there is more to this, even when you have correct CU patches, one can still run in issues. It looks like the order of importing the models is wrong. Last week my model had a dependency on the upgrade model.

The dependency was correct, but seems like the size of some field on upgrade staging tables have been changed. When I slipstream this particular installation, my model is rejected because the upgrade (SYS) model is not there.

Time to log another incident…

Conclusion, don’t slipstream in both AX 2012 R2 CU8 and AX2012 R3 CU8