Contact Me

Total Pageviews

Thursday 12 June 2014

Installation and Configuration of AX 2012 (Part 1)

Hi all,

Today,I have published this post to provide you with a step by step Installation and Configuration of Ax 2012.

The Installation of Ax 2012 is very straight forward and its just about clicking "NEXT" again and again.

Server Setup :

So,to begin with I will first discuss Server Setup for installing Ax 2012.Minimum server components include your Database server and your AOS.Though, a single server Implementation of Ax 2012 is also possible but it is not for production environment.

Installation Types

Two installation types are available from the Setup wizard: Custom installation
and single-computer installation.
• Choose custom installation to select specific Microsoft Dynamics AX components to install on multiple computers. Use this installation type in a production environment.
• Choose single-computer installation to install a complete Microsoft
Dynamics AX system on one computer.

IMPORTANT: Do not use the single-computer installation in a production
environment. Use this installation type only for development and testing.


RAID Subsystem

With an Enterprise Resource Planning (ERP) system such as Microsoft
Dynamics AX 2012, the database server generally stores a very large amount of
important data for the business. If this data is unavailable for any length of time,
the business could experience significant financial losses. Using a Redundant
Array of Independent Disks (RAID) can help reduce the possibility of this loss
from occurring. Another important aspect for a database server is fine tuning for
optimal performance. A RAID disk subsystem can also be used to help achieve
this goal.
RAID refers to a group of two or more disks managed as a single unit to store the
data together with additional, or redundant, information to provide recovery if
there is a disk failure. Usually a failed disk in a RAID system can be replaced
while the server is still running. This is one benefit of RAID.

Additional Info:
All the Microsoft Dynamics Ax 2012 components are supported on 64-bit OS.
A AX Client communicates with AOS using Remote Procedure Calls (RPCs)
Windows Communication Foundation (WCF) or AOS services.


Install a Test environment
Now,lets try to Install a Test Environment.In this environment I only need a database, and
AOS component of AX 2012.When I am finished, will create  a configuration file and then connect to the environment to make sure the installation worked.


Step by Step :
To install a Database in AX 2012, follow these steps:

1) Start the Setup Wizard.
Initial Setup Screen


2. Click Microsoft Dynamics AX components.
3. Click Next.
4.If the Setup Support files have not yet been installed on the computer, the Select a file location page is displayed. The Setup Support files are required for installation. Enter a file location or accept the default location, and then click Next. On the Ready to install page, click Install.
5. On the Select installation type page, click Custom installation, and then click Next.


6. Select Add or modify components, then click Next.
7. Select Databases, and then click Next.



7. Wait until Prerequisite Validation has run, then click Next.





8.On the Select database page, select the name of the computer that is running SQL Server from the Server name list. Provide a database name or accept the default database name of
MicrosoftDynamicsAX, and then click Next.







9.On the Select additional models page, select models from the
Available Models grid. Setup lists all the models in the Standard
folder and all its subfolder. Setup automatically selects the models
from the Standard folder, such as the SYS model, and you cannot
clear the selection. Select additional models that need to be installed,
if any. Click Next to continue.



10. Confirm that Setup installed the Microsoft Dynamics AX database
successfully. In case of errors, click View log file and review the
installation log for the Microsoft Dynamics AX database. Click
Finish to close Setup.

Demonstration: Install an AOS Instance

1. Start Microsoft Dynamics AX Setup. Under Install, select Microsoft
Dynamics AX components.
2. Step through the initial wizard pages.
3. If the Setup Support files have not yet been installed on this
computer, the Select a file location page is displayed. The Setup
Support files are required for installation. Provide a file location or
accept the default location and then click Next. On the Ready to
install page, click Install.
4. On the Select instalAXlation type page, click Custom installation,
and then click Next.
5. On the Select components page, select Application Object Server

(AOS), and then click Next.
6. On the Prerequisite Validation page, resolve any errors. When all
errors are resolved, click Next.
7. On the Connect to a Microsoft SQL Server database page, in the
Server name box, type or select the name of the SQL Server
computer. In the Database name box, type or select the name of the
Microsoft Dynamics AX database.
8. On the Configure an Application Object Server (AOS) instance
page, assign a name to the AOS instance. Optionally, you can
specify the following ports:



TCP/IP port -> Used by other Microsoft Dynamics AX               -> 2712(Default)
                         components to communicate with the AOS.

Services      ->  Used by external applications to access the          ->  8101(Default)
WSDL port      WSDL for AOS-based Microsoft Dynamics
                         AX web services.

Services      ->  Used by external applications to access                ->  8202(Default)
endpoint port    AOS-based Microsoft Dynamics AX web
                         services.

9. If you are installing a second AOS instance on a server, you must
specify unique port numbers. By default, each time that you install
an additional AOS instance on a computer, the port numbers
increment by one. For example, the second AOS instance on a
computer would be assigned to TCP/IP port 2713 by default. Port
conflicts can cause one AOS to stop.
10. On the Specify an AOS account page, select either the Network
Service account of the local computer or a domain account for the
AOS service.



11. The AOS Windows service can take several minutes to start the first
time after it is installed. To determine whether it has started, open
Administrative tools > Services, and review the status of the
Microsoft Dynamics AX Object Server service.


Install multiple AOS instances on one computer :

Multiple AOS instances can be installed on the same computer, which is useful in
some testing and development scenarios. For example, if you are developing for
multiple versions of Microsoft Dynamics AX, you can install different versions
of the AOS side-by-side. Install each AOS instance as described in the
"Demonstration: Install an AOS Instance" but specify a different port number and

a unique name for each instance.

Demonstration: Install a Client

Use this procedure to install a Microsoft Dynamics AX client using the Setup

wizard.Install the Microsoft Dynamics AX databases and the AOS instance in the
environment.

1. Start Microsoft Dynamics AX Setup. Under Install, select Microsoft Dynamics AX Client.
2. Step through the initial wizard pages.
3. If the Setup Support files have not yet been installed on this computer, the Select a file location page is displayed. Provide a file location or accept the default location and then click Next. On the
Ready to install page, click Install.
4. On the Select installation type page, click Custom installation, and
then click Next.
5. On the Select components page, select Client. and then click Next.
6. On the Prerequisite Validation page, resolve any errors. When all
errors are resolved, click Next.
7.On the Select client preferences page, specify the initial settings for
the client. Select a display language, select a workspace type, and
specify whether Setup should create a desktop shortcut. Click Next.




8.On the Client configuration options page, specify whether the
client will use individual configuration settings or a shared
configuration file.

9. Click Next.
10. On the Connect to an AOS instance page, enter the name of the
computer running the AOS instance to connect to. You can
optionally specify the AOS instance name, the TCP/IP port number,
and the services WSDL port. If you do not know the name of the
Application Object Server or the port information, contact the
Microsoft Dynamics AX administrator. Click Next.
11. On the Prerequisite validation results page, resolve any errors.
12. When there are no errors, click Next.
13. On the Ready to install page, click Install.




Procedure: Create Configuration File

1. Open the Microsoft Dynamics AX Client Configuration utility
(Start > Administrative Tools > Microsoft Dynamics AX
Configuration).
2. In the Configuration target list, select Local client.
3. Click Manage, and then click Create configuration.
4. In Configuration name, type a name for the configuration.
5. In Copy Configuration from, select either "Active configuration" or
"Original configuration", then click OK.
6. On the General tab, select Company and type "CEU".
7. On the General tab, select Startup message and type "Test
environment."
8. On the Connection tab, validate the connection settings to the AOS.
9. On the Developer tab, validate the settings for breakpoints and the
application layer.
10. On the Performance tab, validate the settings for client
performance.
11. Click Manage, and then click Export Configuration to File. Name
and save the configuration file.
12. Click OK to exit the configuration utility.


Now,you can open the client successfully.
Happy Daxing :)




                       

No comments:

Post a Comment