メイン コンテンツをスキップする 補完的コンテンツへスキップ

組み込みMongoDBと共にTalend Data Stewardship 7.3.xに移行

始める前に

Talend Dictionary Serviceをインストールおよび使用して、カスタムセマンティックタイプを作成したり、事前定義されたセマンティックタイプを更新した場合は、Talend Dictionary Serviceを移行してから、Talend Data Stewardshipを移行する必要があります。Talend Dictionary Service 7.3.xに移行 (英語のみ)を参照してください。

Talend Data Stewardship 7.3.xをダウンロードします。

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

手順

  1. 現在のTalend Data Stewardshipインスタンスを停止しますが、MongoDBは実行し続けます。
  2. 次のコマンドを使って、Talend Data Stewardshipの前のバージョンで使用したMongoDBインスタンスをバックアップします。
    Linuxの場合:
    <mongo_path>/bin
    ./mongodump -h <source_mongodb_host>:<source_mongo_port> -u <mongo_tds_username> -p <mongo_tds_password> -d <mongo_tds_database> -o <backup_location>
    Windowsの場合:
    <mongo_path>/bin>mongodump -h <source_mongodb_host>:<source_mongo_port> -u <mongo_tds_username> -p <mongo_tds_password> -d <mongo_tds_database> -o <backup_location>
    組み込みMongoDBプロパティのデフォルト値は以下のとおりです。
    プロパティ
    mongodb.host localhost
    mongodb.port 27017
    mongodb.database tds
    mongodb.user tds-user
    mongodb.password duser
  3. Talend Data Stewardshipの前バージョンからMongoDBインスタンスを停止します。
    情報メモ注: Windowsユーザーの場合は、Talend Data Stewardship 7.3.xをインストールする前に現在のMongoDBをアンインストールする必要があります。
  4. Talend Data Stewardship 7.3.xをインストールし、組み込みMongoDBオプションを選択します。Talend Data Stewardshipではなく、MongoDBを開始します。
  5. データベースを削除します
    1. Talend Data Stewardshipデータベースユーザーとしてmongoシェルを開き、次のコマンドを実行します。
      Linuxの場合:
      cd <install_dir>/mongodb/bin
      ./mongo tds -u tds-user -p duser --port 27017
      Windowsの場合:
      <install_dir>\mongodb\bin>mongo tds -u tds-user -p duser --port 27017
    2. Talend Data Stewardshipデータベースに切り替え: use tds
    3. データベースを削除: db.runCommand( { dropDatabase: 1 } )
    4. mongo shellを終了: exit
  6. 次のコマンドを使って、新しい7.3x MongoDBインスタンスでMongoDBバックアップを復元します。
    Linuxの場合:
    <mongo_path>/bin
    ./mongorestore -h <mongo_host>:<mongo_port> -u <mongo_tds_username> -p <mongo_tds_password> -d <mongo_tds_database> <backup_location>
    Windowsの場合:
    <mongo_path>/bin>mongorestore -h <mongo_host>:<mongo_port> -u <mongo_tds_username> -p <mongo_tds_password> -d <mongo_tds_database> <backup_location>
  7. 前バージョンの<Data_Stewardship_Path>/conf/data-stewardship.propertiesファイルをカスタマイズした場合は、古い設定ファイルから値をコピーして、新しいバージョンに追加できます。
  8. Talend Data Stewardship 7.3.xのインストールから<install_dir>/tds/apache-tomcat/dataフォルダーを削除します。
  9. Talend Data Stewardship 7.3.xを起動します。
  10. Talend Dictionary Service APIを使ってセマンティックタイプを再公開し、インデックスをLucene 8に移行させます。
    詳細は、Talend Dictionary Service管理ガイドをご覧ください。

タスクの結果

Talend Data Stewardship 7.3.xを使用する準備ができました。

このページは役に立ちましたか?

このページまたはコンテンツに、タイポ、ステップの省略、技術的エラーなどの問題が見つかった場合は、お知らせください。改善に役立たせていただきます。