組み込みMongoDBと共にTalend Data Preparation 8.0.xに移行 - 8.0

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

Version
8.0
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-09-14

始める前に

対象製品:

Big Data Platform

Data Fabric

Data Management Platform

Data Services Platform

MDM Platform

Real-Time Big Data Platform

Talend Dictionary Serviceをインストールおよび使用して、カスタムセマンティックタイプを作成したり、事前定義されたセマンティックタイプをアップデートした場合は、Talend Dictionary Serviceを移行してから、Talend Data Preparationを移行する必要があります。Talend Dictionary Service 8.0.xに移行をご覧ください。

Talend Data Preparation 8.0.xをダウンロードします。

Talend Administration Centerをアップグレードします。詳細は、Talend Administration Centerをアップグレードをご覧ください。

手順

  1. 現在のTalend Data Preparationインスタンスを停止してください。ただし、MongoDBインスタンスは引き続き実行してください。
  2. 次のコマンドを実行してMongoDBをバックアップします。
    Linuxの場合:
    <mongo_path>/bin
    ./mongodump -h <source_mongodb_host>:<source_mongo_port> -d <source_database> -u <source_mongodb_user> -p <source_mongodb_password> -o <dump_output>
    Windowsの場合:
    <mongo_path>\bin>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 dataprep
    mongodb.user dataprep
    mongodb.password duser
  3. Talend Data Preparationの前バージョンからMongoDBインスタンスを停止します。
    注: Windowsユーザーの場合は、Talend Data Preparationをインストールする前に現在のMongoDBをアンインストールする必要があります。
  4. Talend Data Preparationをインストールし、組み込みMongoDBオプションを選択します。インスタンスは開始しないでください。
    Talend Data Preparationをサービスモードでインストールした場合は、インスタンスとMongoDBを停止します。
  5. データベースを削除します。
    1. Talend Data Preparationデータベースユーザーとしてmongoシェルを開き、次のコマンドを実行します。
      Linuxの場合:
      cd <install_dir>/mongodb/bin
      ./mongo dataprep -u dataprep-user -p duser --port 27017
      Windowsの場合:
      <install_dir>\mongodb\bin>mongo dataprep -u dataprep-user -p duser --port 27017
    2. Talend Data Preparationデータベースに切り替え: use dataprep
    3. データベースを削除: db.runCommand( { dropDatabase: 1 } )
    4. mongo shellを終了: exit
  6. 次のコマンドを使って、新しい8.0 MongoDBインスタンスでMongoDBバックアップを復元します。
    Linuxの場合:
    <mongo_path>/bin
    ./mongorestore -h <mongo_host>:<mongo_port> -u <mongo_tdp_username> -p <mongo_tdp_password> -d <mongo_tdp_database> <backup_location>
    Windowsの場合:
    <mongo_path>\bin>mongorestore -h <mongo_host>:<mongo_port> -u <mongo_tdp_username> -p <mongo_tdp_password> -d <mongo_tdp_database> <backup_location>
  7. 前バージョンの<Data_Preparation_Path>/config/application.propertiesファイルをカスタマイズした場合は、古い設定ファイルから値をコピーして、新しいバージョンに追加できます。
  8. 以前のTalend Data Preparationで使用されているデータセットストレージフォルダーのコンテンツを取得してバージョン8.0に移行するには、状況に応じて次の手順を実行します。
    • dataset.content.store.file.locationプロパティでカスタム値を設定した場合は、バージョン8.0のapplication.propertiesファイルでも同じ値を設定してください。
    • dataset.content.store.file.locationプロパティの値を一度も変更していない場合は、1.x/2.xで使用されている<Data_Preparation_Path>/dataフォルダーの内容をコピーし、同じパスに従って8.0のインストールフォルダーに貼り付けます。
  9. Talend Data Preparationを起動します。
  10. 対象製品:

    Big Data Platform

    Data Fabric

    Data Management Platform

    Data Services Platform

    MDM Platform

    Real-Time Big Data Platform

    Talend Dictionary Service APIを使ってセマンティックタイプを再公開し、インデックスをLucene 8に移行させます。
    詳細は、Talend Dictionary Service管理ガイドをご覧ください。

タスクの結果

Talend Data Preparationを使用する準備ができました。