Demo Data for Microsoft Dynamics AX 2009 (en-us)

July 20, 2008

The much awaited Demo Data for Microsoft Dynamics AX 2009 RTM has been released about 10 days ago. However, only demo data for United States English is available at the moment. No news on the availability of demo data in other languages thus far.

As we have seen in the VPC images, the official demo data is base on Contoso Entertainment systems group of companies instead of the Global Trade and Manufacturing Company used in Microsoft Dynamics AX 4.0. In fact, I suspect the data could very well be the same copy as the latest VPC image released.

Dynamics AX Import vs. SQL Server Backup

The demo data available for download comes in two formats. You may chose between the more conventional Microsoft Dynamics® AX DAT where you import through Dynamics AX Data Import utility and Microsoft SQL Server Backup we have been offered recently. The following table shows the different between the two formats.

Microsoft Dynamics AX DAT Microsoft SQL Server Backup
Smaller download size (179 MB - 216 MB) Bigger download size (403 MB - 419 MB)
Slower import time (25 - 150 minutes) Faster restore time (2 - 4 minutes)
Does not include with demo license Demo license included (expires June 6, 2009)
More complicated import routine Simple restoration routine
Master configuration preserved Reconfiguration required after restore.

So how shall we decide? First of all, you have to identify whether you are storing your AX data in Oracle database or Microsoft SQL Server database. If you have an Oracle database, you should just opt for Microsoft Dynamics AX Data Import. I am not suggesting that the other option is impossible but I guess it is not worth the effort.

The second factor would be Dynamics AX license. I noticed many associates searching for the demo license. I have suggested the possibility of using Dynamics AX 2009 CTP3 Ver02 demo database backup while waiting for partner license in What you need to install Microsoft Dynamics AX 2009. This newer version of demo data comes with demo license that expires on June 6, 2009. If you really need that license, Microsoft SQL Server Backup should be your choice.

If the previous two factors have not helped you decide, let's look at the two time factors; download time and import time. The Dynamics AX DAT file is almost half the SQL Server backup file in size which shall requires about half the time to download. However, the time required to import the AX DAT file is extremely high compared to restoring SQL Server backup.

I have tried both approaches on my humble Xeon dual core with 2 GB of RAM. Importing Dynamics AX DAT file with transaction took my server no less than 3 hours. Because the data is divided into a few files for different company, etc. the process requires interaction in between. Restoring the SQL Server backup on the other hand took the same server no more than 3 minutes.

The ftp server that hosts the files is fairly fast hence download time should not really be a problem if you have decent Internet connection. If your Internet connection is known for bad download performance, you may just opt for go for the smaller download and be patience importing data.

Download Demo Data

You may find further information from the download page at PartnerSource: Demo Data for Microsoft Dynamics AX 2009. The following table shows the four options given. You just need one of these files. Pick one that suits your needs. If you are going for AX Data Import, I would strongly suggest that you follow the instruction found in Loading Contoso Demo Data.

Download Description File Size
ContosoBase.DAT AX Import without transaction 179 MB
ContosoTrans.DAT AX Import with transaction 216 MB
ContosoBase.BAK SQL Backup without transaction 419 MB
ContosoTrans.BAK SQL Backup with transaction 403 MB

Dynamics AX 2009 Installation - Application

July 5, 2008

The second component in the installation is the Application files. It resides on the File Server discussed in Microsoft Dynamics AX 2009 Components. These are the files where Microsoft Dynamics AX business logic resides. The following screenshot shows the option in Dynamics AX 2009 setup that installs the application files.

Dynamics AX 2009 Setup - Application files

What to take note

There are two areas I would like you to take note prior to running the installation; the location and disk space.

The Application files are meant to be accessed by Dynamics AX Application Object Server (AOS). Hence, you have to make sure that the location where you install the Application files is accessible by the computer you intend to install the AOS and the account that starts the AOS service has rights over the directory.

A typical production environment has multiple AOS instances running on multiple computers for load balancing. These AOS instances would be configured to access one set of Application files. Therefore, it is common that the Application files are installed in a shared folder.

In term of disk space, an instance of Microsoft Dynamics AX Application files takes up some 3 GB of hard disk space. Expect another 500 MB or so taken upon completion of installation where indexes are built. So, please plan your Application files location properly.

Dynamics AX Setup - Application

The Application files setup is straightforward. You just have to specify the location, instance name and select optional functionalities. The following screenshots shows the information collected.

Dynamics AX 2009 Setup - Application files Location

Notice the folder structure created with the location you specify previously as the base. A folder named after the instance name you have chosen will be created to store the instance specific Application files.

Dynamics AX 2009 Setup - Application files Instance name

Upon completion, you will have a new Dynamics AX application instance. You shall have the folder structure inside the location you have selected (D:\AX\50 in this case) as shown in the following image.

Dynamics AX 2009 Setup - Application files Folder structure

Conclusion

You should be able to get Microsoft Dynamics AX Application files installed without much drama.

Dynamics AX 2009 Installation - Database

July 1, 2008

We will look at the first component in a Microsoft Dynamics AX installation; database. The following screenshot shows the option in Dynamics AX 2009 setup that achieves this. This option will create a database in Microsoft SQL Server with the necessary stored procedures. If you intend to use Oracle database, you will have to create the database manually. Do take time to ensure you have the required software installed.

Dynamics AX 2009 Setup - Database

You may run this setup on any computer that has access to the Database server. The user account that you use to execute this must be a member of the dbcreator role on the target SQL Server instance. If you are using the administrator account, your account will most likely be a member of the sysadmin role which has the rights of all the roles combined. The following figure shows the property page of a SQL Server login.

Dynamics AX 2009 Setup - Database server role

Before you begin

Before you jump into the installation of this component, there one thing I would like you to take note. The installation creates a database without asking you for the location of your data file and log file. It is important that these files are in separate and preferably dedicated physical drive. I suggest that you configure the default file locations in accordance your database server storage plan. This specifies the data and log files locations for databases created subsequently.

Dynamics AX 2009 Setup - Database: default database locations

Dynamics AX Setup - Database

The Database installation is fairly simple. You just have to specify the Microsoft SQL Server instance you would like to create the database on and the name you would like for your new database. The following screenshot illustrates the information collected for this setup.

Dynamics AX 2009 Setup - Database: Create new SQL Server database

Upon completion, you will have a new database with two user stored procedures; CREATESERVERSESSIONS and CREATEUSERSESSIONS. The rest of the objects will be created in subsequent steps of the installation.

Database Access

This database is intended to be accessed by appropriate AOS instances. The account that starts the AOS instances requires certain authority to work correctly. The account must be assigned the db_datareader, db_datawriter and db_ddladmin database roles as shown in the figure below. The first two roles allows AOS to read and write data on the database whereas the final role allows the AOS to create, change and remove objects in the database. DDL in the role name refers to data definition language.

Dynamics AX 2009 Setup - Database User role

Besides these database roles, the AOS account also need execute permission on the two procedures; CREATESERVERSESSIONS and CREATEUSERSESSIONS. The following figure shows the permission configuration for stored procedure.

Dynamics AX 2009 Setup - Database: Stored Procedure permission

Conclusion

This step of the setup process takes little time. There are just a few minor things you should take note to ease the installation of other components as well as administration the system in the long run.