A Secure Agent group contains multiple agents. You can deploy an asset to a Secure Agent group.
Depending on the business requirements, you can use the Secure Agent groups to deploy Process Server services using the following Secure Agent configurations:
Secure Agent load balanced configuration
Use the Secure Agent load balanced configuration to distribute requests if you process stateless requests or use the Secure Agent only to serve OData requests.
When you deploy an asset to a Secure Agent group, you use a load balanced configuration.
Informatica Intelligent Cloud Services
performs the load balancing. You can add multiple Secure Agents to a group to balance the distribution of tasks across Process Servers. At run time,
Informatica Intelligent Cloud Services
dispatches incoming requests to available Secure Agents in a round-robin manner.
You can also use a custom load balancer by setting the
All Secure Agents in a group use individual PostgreSQL databases. When you deploy an asset to a Secure Agent group, all Process Servers within the group receive details about new or updated asset definitions. However, the other Process Servers in the group do not receive details about the execution activity of an asset. For example, if a Secure Agent within the group fails during process execution, the process does not continue to execute on another Secure Agent within the group.
The following image shows a sample configuration where process X is deployed to Secure Agent group A:
If you modify and re-publish process X, all three Secure Agents receive the updated definition. Any Secure Agent can execute the process.
For example, if the process is invoked and Secure Agent 1 and Secure Agent 2 are unavailable, the load balanced configuration ensures that Secure Agent 3 executes process X. However, Secure Agent 1 and Secure Agent 2 do not receive information about whether the process has faulted or completed successfully. If Secure Agent 3 stops while executing the process X, the process does not execute further.
Secure Agent Cluster configuration
Use the Secure Agent Cluster configuration if you are processing long-running processes and need to perform recovery of payload processing from one node to another. A clustered configuration shares a single database server with all the cluster nodes.
A Secure Agent Cluster is an agent group with a master Secure Agent. You can deploy an asset to a Secure Agent Cluster.
When you deploy an asset to a Secure Agent Cluster, all Process Servers receive information about process execution activity. The master Secure Agent receives information and informs the other Secure Agents. If a Secure Agent fails during process execution, the process continues to execute on another Secure Agent within the cluster.
To enable the cluster configuration for a Process Server, click the
Runtime Environments
tab in Administrator. In the
System Configuration Details
section, set the
cluster-enabled
Process Server property value to
true
as shown in the following image:
All Process Servers in a cluster share the PostgreSQL database of the master agent.