対象製品...
Big Data Platform
Data Fabric
Data Management Platform
Data Services Platform
MDM Platform
Real-Time Big Data Platform
始める前に
Talend Dictionary Service 8.0をダウンロード済みであること。
手順
- 前バージョンの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 4.4をインストールして起動します。
Talend Dictionary Service 8.0ではMongoDBの4.4バージョンを使用しています。
-
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 8をインストールし、Talend Dictionary Serviceの前バージョンのインスタンスと同じ設定を実行します。特にTalend Administration Centerへのリンクを設定し、MongoDB 4.4をポイントします。
Talend Dictionary Serviceのインストールおよび設定手順の詳細は、『Talendインストールガイド』をご覧ください。
- <Tomcat>/conf/data-quality.propertiesファイルの前のバージョンと新しいバージョンを開きます。
-
data-quality.propertiesファイルの新しいバージョンで、次のパラメーター名を新しい名前に置き換えます。
以前のパラメーター名 新しいパラメーター名 dq.mongo.host spring.data.mongodb.host dq.mongo.port spring.data.mongodb.port dq.mongo.username spring.data.mongodb.username dq.mongo.password spring.data.mongodb.password dq.mongo.database.name spring.data.mongodb.database dq.mongo.ssl.enabled spring.data.mongodb.ssl dq.mongo.ssl.trust-store spring.data.mongodb.ssl.trust-store dq.mongo.ssl.trust-store-password spring.data.mongodb.ssl.trust-store-password - 古いバージョンのdata-quality.propertiesファイルに何らかのカスタム設定を行っていた場合は、古い設定ファイルの値をコピーして8.0バージョンのファイルをアップデートしてください。
-
以下の順番で起動し、Talend Dictionary Service 8.0を開始します。
- Apache ZooKeeper
- Apache Kafka
- Apache Tomcat (Talend Administration CenterサーバーとTalend Identity and Access Managementサーバー)
- MongoDB
- MinIO
タスクの結果
これで、Talend Dictionary Service 8.0を使う準備ができました。