Administering Proxy
The Proxy is an additional service program that can only be used in combination with the Automation Engine.
This page includes the following:
Overview
Different components such as agents, Automic Web Interfaces, and APIs (CallAPI, JavAPI) connect to the server component of the Automation Engine. A dedicated connection to the communication processes (CPs) of the server component is set up for each component. Each of these connections must be specifically permitted when using a firewall, which involves increased configuration effort.
The Proxy application allows you to combine the CP connections of the Automation Engine components (agents, dialogs, etc.) into one connection and reverse the direction in which the connection was set up. This requires an instance of the Proxy on both the component and server side. The client Proxy concerns every instance of the Proxy that runs on the side of the CPs. An instance that runs on the side of the AE components (such as agents) is referred to as a server Proxy. Each client Proxy also requires a server Proxy. The client and server Proxy are run as a Proxy pair, meaning that the server Proxy allows the connection to one client Proxy.
Thus you need to configure the connections from the Proxy in the firewall just once. New components (such as agents), that should connect to the server component, must be allocated to one respective server Proxy only.
Tip: Run at least two Proxy pairs in parallel for the same AE component and link them to one another (INI file of the client Proxy: [OTHER_SP_LIST] section). This increases reliability in case one Proxy pair fails.
As of version 2.0/11.2 (PROXY/Automation Engine) alternatively you may define Proxy segments, thus server Proxy information will be automatically distributed by the client Proxy itself, dispensing with the necessity to maintain the [OTHER_SP_LIST].
The server Proxy does not require an INI file as it receives the relevant settings from the client Proxy via the service connection. Both the server and client Proxy are configured with the INI file on the client Proxy side.
Notes:
-
You may use the Proxy together with the net area function in Automation Engine, where the agent would connect via the Proxy with the CPs contained in one net area. This applies when using cpSelection = 1 in the INI file of the Proxy. For details on net area setup and configuration please refer to the section "Net Areas in the AE" in the Automation Engine documentation.
-
Nested Proxies are not supported. For example, it is not possible to route the agent over two Proxies: Agent > ProxyServer < ProxyClient > ProxyServer < ProxyClient -> CP process.
Proxy as an Agent
The client Proxy connects as an agent to an AE system's communication process. The client Proxy is visible in Agent section of the Administration perspective and shows which Proxy pairs are online or offline.
The section [CP_LIST] of the INI file is filled in automatically during technical connection set up.
Important! In case you define Proxy segments the information in the [OTHER_SP_LIST] section will be overruled.
The Proxy pairs (client and server) of an AE system may be clustered into so-called segments.
In order to create segments, use the parameter segment= in the INI file of the respective client Proxy. To cluster the Proxy pairs into segments enter the same segment name in the INI file of each client Proxy, that should be part of the segment. For more information, see Configuring the Client Proxy.
By definition the start of a segment's Proxy enables the AE system to store the IP address information and distribute it. The AE system also keeps track of the Proxies' status and updates the IP list accordingly.
The section [OTHER_SP_LIST] doesn't have to be configured manually anymore in case of existing segments and will be overruled by the server Proxy information, which is managed and distributed by the AE system .
Load Balancing
The client Proxy can select a Communication Process (CP) depending on the load of the communication process of an AE system (load balancing). If load balancing is activated, the client Proxy searches for other Communication Processes from the same AE system and automatically connects to the one that has the fewest connections.
Note: You can activate and deactivate load balancing on the CP side in the client Proxy’s INI file (parameter: cpSelection=). For more information, see Configuring the Client Proxy.
The client Proxy connects to a specific CP, if load balancing is deactivated.
Inactive Load Balancing
Load balancing is deactivated in the following example. Client Proxy 1 and 2 are only connected to one single CP.
Important! This setting is required if you are using Automic Web Interfaces and CallAPIs.
Active Load Balancing
Load Balancing is activated in the following example. When establishing the connection, the client proxies select the CP from all of the available CPs depending on the load (only CPs within the same net area are taken into account in AutomationEngine v9 SP 3 and later).Client Proxy 1 (PC1) forwards connections from Agents 1 and 2 from Server Proxy 1 (PS1) to CP1 and CP3. Client Proxy 2 forwards connections from Agent 2 and Automic Web Interface 1 to CP2 and CP4.
Terminology
- Proxy: The CA Automic product that combines and reroutes CP connections.
- Client Proxy: The instance that runs on the side of the communication processes. Establishes a connection to the server Proxy and forwards its connections to a CP.
- Server Proxy: The instance that runs on the side of the components, which connect to a CP. Reroutes the connections from agents, APIs, dialogs, etc. to the client Proxy.
- Server component: The core component of the Automation Engine. Consists of multiple communication processes (CPs) and work processes (WPs).
- Communication process (CP): Part of the server component to which components (such as agents) connect.
- Work process (WP): Part of the server component that takes over processing.
- Routing port: The port of the Proxy server to which components such as agents and the Automic Web Interface instances connect.
- Load balancing: The client Proxy performs a load-dependent CP selection. You can activate and deactivate this in the INI file.
See also: