适用产品...Big Data Platform
Data Fabric
Data Management Platform
Data Services Platform
MDM Platform
Real-Time Big Data Platform
开始之前
您已下载 Talend Dictionary Service 7.3.x。
步骤
-
停止以前版本的 Talend Dictionary Service 实例,但让 MongoDB 保持运行。
-
在您的 MongoDB 仍在运行时,使用以下命令对其进行备份:
mongodump -h <source_mongodb_host>:<source_mongo_port> -d <source_database> -u <source_mongodb_user> -p <source_mongodb_password> -o <dump_output>
示例
mongodump -h localhost:27017 -d dqdict -u dqdict-user -p duser -o dump\
-
停止 MongoDB 实例。
-
安装 MongoDB 3.4.2 并启动它。
Talend Dictionary Service 7.3.x 使用 3.4.2 版本的 MongoDB。
-
恢复 MongoDB,打开一个命令提示符窗口并执行以下命令:
<mongo_path>/bin/mongorestore -h <mongo_host>:<mongo_port> -u <mongo_dq_username> -p <mongo_dq_password> -d <mongo_dq_database> <backup_location>
示例
mongorestore -h localhost:27017 -d dqdict -u dqdict-user -p duser dump\
-
使用外部 MongoDB 安装 Talend Dictionary Service 7.3.x,并为其配置与以前版本的 Talend Dictionary Service 实例相同的设置,尤其是指向 Talend Administration Center 的链接,并让其指向 MongoDB 3.4.2。
有关 Talend Dictionary Service 安装和配置程序的更多信息,请参阅《Talend 安装指南》。
-
如果已对以前版本的 <Tomcat>/conf/data-quality.properties 文件执行任何自定义配置,请通过从旧的配置文件复制值来更新 7.3.x 版本的该文件。
-
通过按顺序启动下列组件来启动 Talend Dictionary Service 7.3.x:
- Apache Zookeeper
- Apache Kafka
- Apache Tomcat (Talend Administration Center 服务器和 Talend Identity and Access Management 服务器)
- MongoDB
结果
您现已可以使用 Talend Dictionary Service 7.3.x。