配置确定将哪一个服务器用于负载均衡的指标 - 8.0

Talend安装指南

Version
8.0
Language
中文(简体)
Operating system
Windows
Subscription type
订阅
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend MDM Server
Talend MDM Web UI
Talend Runtime
Talend SAP RFC Server
Talend Studio
Content
安装和升级
Last publication date
2022-10-30
您可以编辑和改写用于在集群模式下确定将哪一个服务器用于负载均衡的默认配置。

步骤

  1. 打开位于以下 .jar 文件中的 monitoring_client.properties 文件:
    <ApplicationPath>\WEB-INF\lib\org.talend.monitoring.client-x.y.z.rabcd.jar
  2. 根据需要编辑值。
    例如:
    # 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
    注: 此文件中定义的权重值 (0 到 5) 将影响用于处理数据的服务器。
  3. 保存您的修改。
  4. 复制以下目录中编辑过的文件以改写位于 .jar 文件中的该文件:
    <ApplicationPath>\WEB-INF\lib\org.talend.monitoring.client-x.y.z.rabcd.jar