You can edit and overwrite the default configuration used to determine which
server to be used for load balancing in cluster mode.
Procedure
-
Open the monitoring_client.properties file
which is located in the following .jar file:
<ApplicationPath>\WEB-INF\lib\org.talend.monitoring.client-x.y.z.rabcd.jar
-
Edit the values according to your needs.
For example:
# Set the default NbCPULimit.WEIGHT org.talend.monitoring.limits.NbCPULimit.WEIGHT=5 # Set the default minimum required number of CPU here org.talend.monitoring.limits.NbCPULimit.LOWER_LIMIT=2 # Set the default maximum required number of CPU here org.talend.monitoring.limits.NbCPULimit.HIGHER_LIMIT=2147483647
Note: The weight values defined in this file (from 0 to 5) will impact the server to be used to process data. - Save your modifications.
-
Copy the edited file in the following directory to overwrite the
one located in the .jar file:
<ApplicationPath>\WEB-INF\lib\org.talend.monitoring.client-x.y.z.rabcd.jar