如何让AX客户端绕开负载均衡连接到对应的AOS

AX提供了负载均衡的功能, 在一些大型的场景中都会启用这个功能。如果我们有多个AOS的环境比如 AX-AOS1, AX-AOS2, AX-AOS3, AX-AOS4, AX-AOS5配置在了同一个负载均衡实例上面,当我们需要连接到特定的AOS上面执行一些任务,该如何实现呢?


其实很简单在AX客户端配置中指定一个参数,具体步骤参考下面的文章:


来源:https://stoneridgesoftware.com/how-to-open-a-dynamics-ax-client-with-no-load-balancing/


Some clients working with Microsoft Dynamics AX might have an environment with multiple AOS’s. For example AX-AOS1, AX-AOS2, AX-AOS3, AX-AOS4, AX-AOS5 are all in an AX system cluster called “Load Balanced AOS Instances.”

 

You need to log into a specific AOS to perform a task. For example, you need to setup a password for an application and the password encryption includes AOS related data. You’ll have to log-in to the five different AOS’s to setup the password, so when users connect to any one of the five AOS, the application will recognize the password as a valid password.

 

To force an AX client to log-in to a specific AOS, you need to use the “-loadbalance=0” configuration command in the AX client config like below.  Then in the Connection tab, enter the specific AOS server name/instance you want to connect to.

如何让AX客户端绕开负载均衡连接到对应的AOS_第1张图片

如何让AX客户端绕开负载均衡连接到对应的AOS_第2张图片<img class="alignnone wp-image-7370" src="https://stoneridgesoftware.com/wp-content/uploads/2016/02/Jackie_Load-balancing-2.jpg" alt="Load-balancing " width="550" height="179" srcset="https://stoneridgesoftware.com/wp-content/uploads/2016/02/Jackie_Load-balancing-2.jpg 881w, https://stoneridgesoftware.com/wp-content/uploads/2016/02/Jackie_Load-balancing-2-300x97.jpg 300w, https://stoneridgesoftware.com/wp-content/uploads/2016/02/Jackie_Load-balancing-2-768x249.jpg 768w, https://stoneridgesoftware.com/wp-content/uploads/2016/02/Jackie_Load-balancing-2-610x198.jpg 610w" sizes="(max-width: 550px) 100vw, 550px" />

Save the above configuration and you will now be able to login to AX connected to that specific AOS.

 

More information about how to manage Dynamics AX client configuration can be found on Microsoft Technet: https://technet.microsoft.com/en-us/library/aa569651.aspx



你可能感兴趣的:(Dynamic,AX)