組み込みMongoDBと共にインストールされたTalend Dictionary Service 6.xまたは7.0.xから移行 - 7.3

Talend移行&アップグレードガイド

Version
7.3
Language
日本語
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 JobServer
Talend Log Server
Talend MDM Server
Talend MDM Web UI
Talend Runtime
Talend SAP RFC Server
Talend Studio
Content
インストールとアップグレード
Last publication date
2023-05-22
対象製品...

Big Data Platform

Data Fabric

Data Management Platform

Data Services Platform

MDM Platform

Real-Time Big Data Platform

始める前に

Talend Dictionary Service 7.3.xをダウンロード済みであること。

手順

  1. 前バージョンのTalend Dictionary Serviceのインスタンスを停止しますが、MongoDBの実行は続けます。
  2. 以下のコマンドを使い、Talend Dictionary Serviceの前バージョンで使用したMongoDBインスタンスをバックアップします: mongodump -h <source_mongodb_host>:<source_mongo_port> -d <source_database> -u <source_mongodb_user> -p <source_mongodb_password> -o <dump_output>
    組み込みMongoDBプロパティのデフォルト値は以下のとおりです。
    プロパティ
    mongodb.host localhost
    mongodb.port 27017
    mongodb.database dqdict
    mongodb.user dqdict-user
    mongodb.password duser

    mongodump -h localhost:27017 -d dqdict -u dqdict-user -p duser -o dump\         
  3. MongoDBインスタンスを停止します。
  4. 組み込みMongoDBでTalend Dictionary Service 7.3.xをインストールします。ただしインスタンスは起動しないでください。
    Talend Dictionary Serviceのインストールおよび設定手順の詳細は、Talendインストールガイドを参照してください。
  5. Talend Dictionary Service 7.3.xをサービスモードでインストールした場合は、インスタンスを停止し、データベースを削除してMongoDBを停止します。
    1. Talend Dictionary Serviceデータベースユーザーとしてmongoシェルを開き、次のコマンドを実行します。
      Linuxの場合:
      cd <install_dir>/mongodb/bin
      ./mongo dqdict -u dqdict-user -p duser --port 27017
      Windowsの場合:
      <install_dir>\mongodb\bin>mongo dqdict -u dqdict-user -p duser --port 27017
    2. Talend Dictionary Serviceデータベースに切り替え: use dqdict
    3. データベースを削除: db.runCommand( { dropDatabase: 1 } )
    4. mongo shellを終了: exit
    5. MongoDBを停止します。
  6. 前バージョンの<Tomcat>/conf/data-quality.propertiesファイルにカスタム設定を実行した場合は、古い設定ファイルの値をコピーして7.3.xバージョンのファイルを更新します。
  7. 7.3.xバージョンのMongoDBを起動します。
  8. 次のコマンドを使って、Talend Dictionary Serviceの前バージョンのMongoDBに実行したバックアップを7.3.x MongoDBインスタンスに復元します: mongorestore -h <source_mongodb_host>:<source_mongo_port> -d <source_database> -u <source_mongodb_user> -p <source_mongodb_password> dump\

    mongorestore -h localhost:27017 -d dqdict -u dqdict-user -p duser dump\          
  9. 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を使用する準備ができました。