Before you begin
利用対象:対象製品: Big Data Platform Data Fabric Data Management Platform Data Services Platform MDM Platform Qlik Cloud Enterprise Edition Qlik Talend Cloud Enterprise Edition Qlik Talend Cloud Premium Edition 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をアップグレード をご覧ください。
Procedure
現在のTalend Data Preparation インスタンスを停止してください。ただし、MongoDBインスタンスは引き続き実行してください。
次のコマンドを実行して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
Talend Data Preparation の前バージョンからMongoDBインスタンスを停止します。
情報メモ Note: Windowsユーザーの場合は、Talend Data Preparation をインストールする前に現在のMongoDBをアンインストールする必要があります。
Talend Data Preparation をインストールし、組み込みMongoDBオプションを選択します。インスタンスは開始しないでください。
Talend Data Preparation をサービスモードでインストールした場合は、インスタンスとMongoDBを停止します。
データベースを削除します。
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
Talend Data Preparation データベースに切り替え: use dataprep
データベースを削除: db.runCommand( { dropDatabase: 1 } )
mongo shellを終了: exit
次のコマンドを使って、新しい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>
前バージョンの<Data_Preparation_Path>/config/application.properties ファイルをカスタマイズした場合は、古い設定ファイルから値をコピーして、新しいバージョンに追加します。
以前の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のインストールフォルダーに貼り付けます。
Talend Data Preparation を起動します。
利用対象:対象製品: Big Data Platform Data Fabric Data Management Platform Data Services Platform MDM Platform Qlik Cloud Enterprise Edition Qlik Talend Cloud Enterprise Edition Qlik Talend Cloud Premium Edition Real-Time Big Data Platform Talend Dictionary Service APIを使ってセマンティックタイプを再公開し、インデックスをLucene 8に移行させます。
Results
Talend Data Preparation を使用する準備ができました。