You can configure NGINX load balancer to increase the number of agents in a cluster setup for secure and non-secure communication.
Follow these steps:
events {
accept_mutex off;}
wherein:
For example:
To find out the number of cores in your setup; enter the following command using the Linux Shell prompt:
grep processor /proc/cpuinfo | wc –l
Assuming the value that is returned from the command is "2". That means, the number of CPU cores in the server of your setup is 2.
The value of worker_connections is calculated as follows:
Wc = 2NA/Wp
Where:
N=Total number of nodes in a cluster.
A=Total number of agents you want to install.
Wp=Total number of CPU processors as calculated in step 4.
When you want to install 4000 agents in a two-node cluster setup and the number of CPU cores in the server of your setup is 2, edit the worker_processes property to 2.
Substituting the values in the formula:
Wc = 2*2*4000)/2
To install 4000 agents, edit the worker_connections property to 8000.
When you want to install 2500 agents with a standalone orchestrator and the number of CPU cores in the server of your setup is 4, edit the worker_processes property to 4.
Substituting the values in the formula:
Wc = 2*1*2500/4
To install 2500 agents, edit the worker_connections property to 1250.
When you want to install 3000 agents in a three-node cluster setup and the number of CPU cores in the server of your setup is 1, edit the worker_processes property to 1.
Substituting the values in the formula:
Wc = 2*3*3000/1
To install 3000 agents, edit the worker_connections property to 18000.
|
Copyright © 2014 CA.
All rights reserved.
|
|