Skip to main content Skip to complementary content

Configuring the indicators which determine which server to be used for load balancing

You can edit and overwrite the default configuration used to determine which server to be used for load balancing in cluster mode.

Procedure

  1. 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
  2. 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
    Information noteNote: The weight values defined in this file (from 0 to 5) will impact the server to be used to process data.
  3. Save your modifications.
  4. 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

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!