November Blog Series: Tools We're Thankful For
Insights From: Doug Payton
This technical tip will illustrate how to create an AXC file that will connect to a specific AOS in a load balancing environment.
This was actually used for a client by the AX 2009 version of the Data Collection package that uses the Business Connector to talk to AX, but it could be useful for an individual as well.
Now, an AXC file is really just a text file with all the parameter values needed for the AX client to know where and how to connect to one or more AOS's. Normally this is created by special AX software, but once that's done, it can just be edited in Windows Notepad.
The AOS to connect to is specified near the top of the file as the parameter 'aos2', which is followed by a connection string. However, if in a load balancing environment, that might not be the one that is connected to. Depending on how busy it is, connecting is made to the AOS with the least load. But if it is required that it connects to a specific AOS for a unique situation, just add one line to the AXC file.
Indicate that this AXC should ignore load balancing by adding the line "loadbalance,Int,0". Save and exit, and that's it. Using this AXC file, you will connect to the AOS specified in 'aos2'.
It worked for AX 2009, and it should work for 2012 as well.