クラスターモードの負荷分散に使用するサーバーを決定するために使用するデフォルトのシステム設定を編集して上書きできます。
手順
-
以下の.jarファイルに存在するmonitoring_client.propertiesを開きます:
<ApplicationPath>\WEB-INF\lib\org.talend.monitoring.client-x.y.z.rabcd.jar
-
必要に応じてコンテキスト変数の値を編集します。
例:
# 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)は、データ処理に使用されるサーバーに影響します。 - 変更を保存します。
-
以下のディレクトリーの編集されたファイルをコピーして、.jarファイルの内容を上書きします:
<ApplicationPath>\WEB-INF\lib\org.talend.monitoring.client-x.y.z.rabcd.jar