Create a load balancing cluster [AX 2012]
You can distribute the user load in Microsoft Dynamics AX across multiple instances of Application Object Server (AOS) by creating a load balancing cluster.
Clustering overview
Microsoft Dynamics AX offers two types of load balancing clusters:
- A cluster that includes a load balancer
- A cluster that does not include a load balancer
A cluster that includes a load balancer
If you set up a cluster that includes a load balancer, the load balancing AOS instance is dedicated to distributing the user load. The load balancing AOS instance does not process Microsoft Dynamics AX business logic or data.
In this configuration, you must set up client configurations to connect to the load balancing AOS instance. You can then add and remove other AOS instances from the cluster without updating client configurations.
When a client starts, it connects to the load balancing AOS instance. The load balancing AOS instance returns a list of active AOS instances in the cluster, sorted by workload. The client attempts to connect to the first AOS instance in the list. If that connection fails, the client attempts to connect to the second AOS instance in the list, and so on.
A cluster that does not include a load balancer
If you set up a cluster that does not include a load balancer, each AOS instance functions as both a load balancer and an active AOS instance that accepts client connections.
When a client starts, it sends a request to the first server that is listed in the client configuration. That server returns the list of active AOS instances in the cluster, sorted by workload. The client attempts to connect to the first AOS instance in the list. If that connection fails, the client attempts to connect to the second AOS instance in the list, and so on.
Before you begin
Before you can create a cluster, you must install multiple AOS instances. Each instance must point to the same database. For more information, see Install multiple AOS instances and Configure an AOS to access a different database.
Create a cluster
- Click System administration > Setup > System > Cluster configuration.
- Press CTRL+N to create a new cluster.CautionYou cannot configure the Non Load Balanced AOS Instances as a load balancing cluster. The Non Load Balanced AOS Instances is a default entity that enables AOS communications for non-load balanced AOSs. To create an AOS cluster, you must create a new cluster.
- Enter a name and description for the cluster.
- Press CTRL+S to save your changes.
Add an AOS instance to a cluster
- Click System administration > Setup > System > Cluster configuration.
- In the Map AOS instances to clusters section, select an AOS instance.
- If you want the AOS instance that you selected to function as a load balancer, select the Load balancer option.NoteIf an AOS instance is used as a load balancer, it cannot be used as a batch server.
- Click the Cluster name field to display a list of available clusters. Select the cluster that you want to add the AOS instance to.
- Press CTRL+S to save your changes.
Change client configurations
If the cluster uses one or more load-balancing AOS instances, set client configurations to connect to these load balancing AOS instances.
Use the Microsoft Dynamics AX Configuration utility to change client configurations. For more information, see my post Manage a client configuration .
No comments:
Post a Comment