在集群模式下安装 Talend Data Preparation - 8.0

Talend安装指南

Version
8.0
Language
中文(简体)
Operating system
Linux
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

要在集群模式下安装 Talend Data Preparation,您需要在 <Data_Preparation_Path>/config/application.properties 配置文件中进行某些修改。

要执行此安装,您需要安装和配置所需数量的 Talend Data Preparation 实例及其依赖关系。

开始之前

步骤

  1. 安装第一个 Talend Data Preparation 实例。
    有关 Talend Data Preparation 安装过程的更多信息,请参阅手动安装 Talend Data Preparation
  2. <Data_Preparation_Path>/config/application.properties 文件中,编辑 mongo.host 属性以指定多个 MongoDB 实例的主机和端口。
    使用以下语法:
    spring.data.mongodb.host=<host1>:<port1>,<host2>:<port2>,...,<hostN>

    不同 URL 的主机和端口必须连接,最后一个主机除外,它将继承 mongo.port 属性的值。例如:

    mongodb.host=mongorep-mongodb-replica-1.mongorep-mongodb-replica.default.svc.cluster.local:27017,
    mongorep-mongodb-replica-0.mongorep-mongodb-replica.default.svc.cluster.local:27017,
    mongorep-mongodb-replica-2.mongorep-mongodb-replica.default.svc.cluster.local:27017,
    mongorep-mongodb-replica-3.mongorep-mongodb-replica.default.svc.cluster.local
    mongodb.port=27017
  3. 编辑 service.cache.file.locationdataset.content.store.file.location 属性,指定您的网络文件系统位置,或必须提供给所有 Talend Data Preparation 实例的共享文件夹。例如:
    service.cache.file.location=sharedContent/
    dataset.content.store.file.location=sharedContent/store/datasets/content/
  4. 编辑为 Kafka 和 ZooKeeper 实例指定主机和端口的属性。
    与 MongoDB URL 的方法相同,Kafka 和 ZooKeeper 主机和端口必须连接,最后一个端口除外,它从专用属性继承而来。
    spring.cloud.stream.kafka.binder.brokers=host1:9092,host2:9092,host3
    spring.cloud.stream.kafka.binder.zkNodes=host1:2181,host2:2181,host3
    spring.cloud.stream.kafka.binder.defaultBrokerPort=9092
    spring.cloud.stream.kafka.binder.defaultZkPort=2181
  5. 要延长会话持续时间和减小意外退出的风险,请添加以下行:
    security.token.renew-after=600
    security.token.invalid-after=3600
  6. 对您想要安装的每个 Talend Data Preparation 实例重复此安装和配置过程。

结果

已安装多个 Talend Data Preparation 实例并配置其在集群模式下工作。