Sunday, 25 May 2014

Aos Load-balancing in ax 2009

Tuning an AOS for best performance

Optimizing an AOS depends on what the AOS is used for. For example, an AOS that is load balanced should only allocate a certain number of resources on the server it is running on. Similarly, an AOS that is only used for the Enterprise Portal may not want to allow access to rich client users. Therefore, before taking any steps to optimize the performance of an AOS, make sure you have properly defined a role that the AOS has.
There are two ways to distribute load in a Dynamics AX environment. They are the following:
• Non-load-balanced cluster
• Load-balanced cluster
A cluster of AOSes are simply a group of AOSes. It doesn't necessarily mean that they are load balanced. However, a load-balanced cluster does indeed mean that a group of AOSes in a cluster are load balanced. The following sections will describe in more detail what a non-load-balanced cluster and a load-balanced cluster are.
Non-load-balanced clusterA non-load-balanced cluster does not have a main AOS that is dedicated to
delegating client connections to the appropriate AOS. Instead, each AOS in the cluster acts independently. Each AOS has to be provided in the client configuration file for the client to connect. Based on a list of provided AOS servers in the client configuration file, the client will attempt to access each server in the order listed to find an available server. If a server's workload has reached its maximum level, then the client will simply attempt to connect to the next AOS.
Load-balanced clusterMicrosoft Dynamics AX provides the option to load balance two or more AOS's together. This is similar to how a web farm works for a SharePoint site. Alternatively, you may opt to use hardware or another software solution to load balance AOS access. It is recommended to have one AOS for no more than 50-60 users. In a load balanced cluster, one AOS is a dedicated load balancer, delegating client connections to the appropriate AOS. It is not directly used either for interactive purposes or for processing application code. Once a client is connected to the load balancer AOS, it will then determine which AOS it should connect to. If an AOS goes down, the load balancer AOS will automatically re-route clients to an active and available AOS without having to make any modifications to client configurations. Also, as a company grows and more users are needed, it is as simple as installing a new AOS and connecting it to the load balancer.
As previously mentioned, to set up load balancing, we must set up one AOS as the load balancer. Afterwards, each additional AOS in the load-balanced cluster will automatically listen for client connection requests from the Load Balancer AOS.
However, in order for an AOS to be a load balancer, it must first satisfy the
following criteria:
• Cannot be a Batch Server
• Must be an AOS that is active
The following steps describe the process of setting up load balancing in Microsoft Dynamics AX 2009:
1. Open the Cluster configuration form by going to Administration | Setup |
Cluster configuration.
image
2. Once in the Cluster configuration form, click on the Map AOS instances to
clusters tab.
image
3. In the Map AOS instances to clusters tab, select the AOS instance in which
to act as the load balancer and mark the Load Balancer field.
image
As you can see, setting up a load-balanced cluster in Dynamics AX is quite simple and requires very little configuration or tweaking of settings. When load tends to increase and performance degrades, adding a new AOS into a load-balanced cluster greatly improves performance and is quite simple to do. You can add as many AOS's as desired to a cluster. The process is the same for every additional AOS that is added.
To summarize, a non-load-balanced cluster requires more administrative work to update the client configuration files with the available AOS's. However, with a load-balanced cluster, the AOS that acts as the load balancer, once setup with all the available AOS's will automatically delegate clients to an AOS in a cluster with the most available resources.
Certainly, having a load-balanced cluster may seem like a desired setup to go
with, as it requires less administrative maintenance. It also provides a method for consolidating specific business functions. For example, one cluster of AOS's may be specifically dedicated to batch processing. Similarly, another cluster may be dedicated to an external Enterprise Portal site that can experience a significant load of external user access while a cluster for internal users may not experience as much load. Also consider that in a load-balanced cluster, at least three AOSes are required while in a similar non-load-balanced cluster, only two are required—to provide load distribution.

No comments:

Post a Comment

Labels

#veryusefulcode (1) AIF (8) AOT Maps (1) Args (1) Ax 2009 Reports (2) AX 2012 navigation (1) Ax 2012 Interview Questions (1) AX 7 (2) AX Architecture (1) Ax Backup (1) AX Workflow (2) AX2012 (1) AX2012 R2 (1) Ax2012R3 (1) AX2012R3 Dynamics Connector Step by Step Installation and Configuration (1) AX2012R3 EP Step by Step Installation and Configuration EP R3 (1) AX2012R3 HelpServer Step by Step Installation and Configuration (1) AX2012R3 Rapid Start Connector Step by Step Installation and Configuration (1) AX2012R3 Report Server and Analysis Server Step by Step Installation and Configuration (1) AX7 (1) Best practices (1) Blocking user to enter (1) Collection Classes (1) Container (1) D365FO (3) Data Migration Frame Work ax 2012R3 (1) Deleting duplicate Record from Table – Ax2012 (1) Delivery due date notification workflow in Ax 2012 (1) Development Steps EP (1) Dimensions (1) DIXF (1) DMF in Ax 2012 R3 (1) Dynamics Ax 2012 Interview Questions (1) DYNAMICS AX 2012 INTERVIEW QUESTIONS PART 2 (1) DYNAMICS AX 7 (1) EDT relation Migration Tool (1) EP AX 2012 (1) Ep Lookup (1) Error (1) Event Handler (1) F5 (1) File Handling (4) Filter on AX2012 Listpage (1) filtering (2) financial dimensions in AX 2012 (3) form (1) images (1) Installation and Configration (4) Installation and Configuration (11) Installation of Management Reporter 2012 for AX 2012 (1) Interaction class in ax 2012 (1) Interview Question (1) Interview Questions For Ax 2012 (1) Invent DIm (1) Jobs (2) license (1) List page and form menuitem enable code (1) Methods (1) microsoft Dynamics AX 365FO (1) Number Sequence Generation – AX 2012 (5) Number Sequence2012 (1) OLTP-OLAP (1) Passing Args (1) Passing form caller and menu item caller in ax 2012 (1) Passing Multiple Records Args (1) Posting in Ax 2012 (1) POSTING PURCHASE ORDER (1) Query (1) Query Filter Form (2) Query Ranges in X++ (1) Question and Answer (1) Report (1) Reports Controller class (1) RLS in ax 2009 (1) SALES ORDER IMPORT/EXPORT FRAMEWORK BY DMF (1) Security (1) security roles (1) Security Sysqueryrangeutil (1) Sharepoint 2016 (1) SQL SERVER (1) SSRS (2) SSRS Reports Controller class (2) Table collections & Virtual company (1) Time (1) TIPS AND TRICKS (1) Web service AIF (3) Web Services on IIS (AIF) Step by Step Installation and Configuration (1) workflow ax2012 (1) Workflow installation (1) Workflow Method (3) X++ (1)