# インストール後にTalend Data Stewardshipを設定

## 手順

1. tds/config/data-stewardship.propertiesファイルを開き、次のTalend Data Stewardshipプロパティを編集してサーバーポートを設定します:
   | フィールド | 説明 |
   | --- | --- |
   | gateway.server.port | ${tinstall.tds.gateway.server.port}を19999というポートに置き換えます。 |
   | history.server.port | ${tinstall.tds.history.server.port}を19997というポートに置き換えます。 |
   | core.server.port | ${tinstall.tds.core.server.port}を19994というポートに置き換えます。 |
   | monitoring.server.port | ${tinstall.tds.monitoring.server.port}を19996というポートに置き換えます。 |
   | frontend.server.port | ${tinstall.tds.frontend.server.port}を19998というポートに置き換えます。 |
   | schema.server.port | ${tinstall.tds.schema.server.port}を19995というポートに置き換えます。 |
2. MongoDB用に次のTalend Data Stewardshipプロパティを編集します:
   | フィールド | 説明 |
   | --- | --- |
   | spring.mongodb.host | MongoDBインスタンスのホスト名 |
   | spring.mongodb.port | MongoDBインスタンスのポート番号 |
   | spring.mongodb.database | Talend Data Stewardshipが接続されるデータベースの名前(デフォルトはtds)。 |
   | spring.mongodb.username | データベースへの接続に使用するユーザー名 |
   | spring.mongodb.password | データベースに接続するパスワード。 |
   | spring.mongodb.uri | MongoDBインスタンスの接続先となるURI<br><br>URI経由でMongoDBインスタンスに接続する場合は、spring.mongodb.host、spring.mongodb.port、spring.mongodb.database、spring.mongodb.username、spring.mongodb.passwordのパラメーターを追加する必要があります<br><br>情報メモ注: この設定パラメーターを使用できるのは、Talendが提供するTPS-4354パッチがインストールされている場合のみです。詳細は管理者にお問い合わせください。 |
3. ゲートウェイ設定パラメーターを使用して、次のフィールドをアップデートします。
   | フィールド | 説明 |
   | --- | --- |
   | frontend.url | SSL設定が完了している場合は、${tinstall.tds.tomcat.protocol}をHTTPまたはHTTPSに置き換えます。 |
   | backend.url | SSL設定が完了している場合は、${tinstall.tds.tomcat.protocol}をHTTPまたはHTTPSに置き換えます。 |
   | schemaservice.url | SSL設定が完了している場合は、${tinstall.tds.tomcat.protocol}をHTTPまたはHTTPSに置き換えます。 |
   | semanticservice.url | Talend Cloud Data StewardshipインスタンスへのURL (https://tds.&lt;region&gt;.cloud.talend.com/semanticserviceなど)を入力します。&lt;region&gt;には、自分のアカウントの場所に該当するリージョンを入力します。各データセンターで使用するURLのリストは、[Talend Cloudのアプリケーションにアクセス](https://help.qlik.com/talend/ja-JP/installation-guide-windows/Cloud/talend-cloud-application-url)で確認できます。<br><br>ライセンスにTalend Dictionary Serviceが含まれない場合は、この行を削除します。 |
   | historyservice.url | SSL設定をが完了している場合は、${tinstall.tds.tomcat.protocol}をHTTPまたはHTTPSに置き換えます。 |
   | monitoringservice.url | SSL設定をが完了している場合は、${tinstall.tds.tomcat.protocol}をHTTPまたはHTTPSに置き換えます。 |
4. Apache Kafkaの設定で次のフィールドをアップデートします。
   | フィールド | 説明 |
   | --- | --- |
   | kafka.broker | Apache Kafkaブローカーに対応するホストとポートを入力します。 |
5. Talend Identity and Access Managementの設定で次のフィールドをアップデートします:
   | フィールド | アクション |
   | --- | --- |
   | oidc.url | Talend Identity and Access ManagementへのURLをhttps://iam.&lt;region&gt;.cloud.talend.com/oidcという形式で入力します。&lt;region&gt;には、自分のアカウントの場所に該当するリージョンを入力します。各データセンターで使用するURLのリストは、[Talend Cloudのアプリケーションにアクセス](https://help.qlik.com/talend/ja-JP/installation-guide-windows/Cloud/talend-cloud-application-url)で確認できます。 |
   | oidc.userauth.url | Talend Identity and Access Managementユーザー認証へのURLをhttps://iam.&lt;region&gt;.cloud.talend.com/oidcという形式で入力します。&lt;region&gt;には、自分のアカウントの場所に該当するリージョンを入力します。各データセンターで使用するURLのリストは、[Talend Cloudのアプリケーションにアクセス](https://help.qlik.com/talend/ja-JP/installation-guide-windows/Cloud/talend-cloud-application-url)で確認できます。 |
   | scim.url | Talend Identity and Access Management SCIMへのURLをhttps://api.&lt;region&gt;.cloud.talend.com/v1/scimという形式で入力します。&lt;region&gt;には、自分のアカウントの場所に該当するリージョンを入力します。各データセンターで使用するURLのリストは、[Talend Cloudのアプリケーションにアクセス](https://help.qlik.com/talend/ja-JP/installation-guide-windows/Cloud/talend-cloud-application-url)で確認できます。 |
   | oidc.gateway.id | Talend Management Consoleから取得したクライアントIDを入力します。[Talend Management Consoleでハイブリッドを設定](https://help.qlik.com/talend/ja-JP/hybrid-installation-guide-linux/Cloud/tmc-enable-hybrid "アプリケーションごとにハイブリッドインストールを検出して有効にできるよう、Talend Cloudを設定します。")をご覧ください。 |
   | oidc.gateway.secret | Talend Management Consoleから取得したクライアントシークレットを入力します。[Talend Management Consoleでハイブリッドを設定](https://help.qlik.com/talend/ja-JP/hybrid-installation-guide-linux/Cloud/tmc-enable-hybrid "アプリケーションごとにハイブリッドインストールを検出して有効にできるよう、Talend Cloudを設定します。")をご覧ください。 |
   | oidc.tds.id | Talend Management Consoleから取得したクライアントIDを入力します。[Talend Management Consoleでハイブリッドを設定](https://help.qlik.com/talend/ja-JP/hybrid-installation-guide-linux/Cloud/tmc-enable-hybrid "アプリケーションごとにハイブリッドインストールを検出して有効にできるよう、Talend Cloudを設定します。")をご覧ください。 |
   | oidc.tds.secret | Talend Management Consoleから取得したクライアントシークレットを入力します。[Talend Management Consoleでハイブリッドを設定](https://help.qlik.com/talend/ja-JP/hybrid-installation-guide-linux/Cloud/tmc-enable-hybrid "アプリケーションごとにハイブリッドインストールを検出して有効にできるよう、Talend Cloudを設定します。")をご覧ください。 |
   | oidc.history.id | Talend Management Consoleから取得したクライアントIDを入力します。[Talend Management Consoleでハイブリッドを設定](https://help.qlik.com/talend/ja-JP/hybrid-installation-guide-linux/Cloud/tmc-enable-hybrid "アプリケーションごとにハイブリッドインストールを検出して有効にできるよう、Talend Cloudを設定します。")をご覧ください。 |
   | oidc.history.secret | Talend Management Consoleから取得したクライアントシークレットを入力します。[Talend Management Consoleでハイブリッドを設定](https://help.qlik.com/talend/ja-JP/hybrid-installation-guide-linux/Cloud/tmc-enable-hybrid "アプリケーションごとにハイブリッドインストールを検出して有効にできるよう、Talend Cloudを設定します。")をご覧ください。 |
   | oidc.schema.id | Talend Management Consoleから取得したクライアントIDを入力します。[Talend Management Consoleでハイブリッドを設定](https://help.qlik.com/talend/ja-JP/hybrid-installation-guide-linux/Cloud/tmc-enable-hybrid "アプリケーションごとにハイブリッドインストールを検出して有効にできるよう、Talend Cloudを設定します。")をご覧ください。 |
   | oidc.schema.secret | Talend Management Consoleから取得したクライアントシークレットを入力します。[Talend Management Consoleでハイブリッドを設定](https://help.qlik.com/talend/ja-JP/hybrid-installation-guide-linux/Cloud/tmc-enable-hybrid "アプリケーションごとにハイブリッドインストールを検出して有効にできるよう、Talend Cloudを設定します。")をご覧ください。 |
   | oidc.monitoring.id | Talend Management Consoleから取得したクライアントIDを入力します。[Talend Management Consoleでハイブリッドを設定](https://help.qlik.com/talend/ja-JP/hybrid-installation-guide-linux/Cloud/tmc-enable-hybrid "アプリケーションごとにハイブリッドインストールを検出して有効にできるよう、Talend Cloudを設定します。")をご覧ください。 |
   | oidc.monitoring.secret | Talend Management Consoleから取得したクライアントシークレットを入力します。[Talend Management Consoleでハイブリッドを設定](https://help.qlik.com/talend/ja-JP/hybrid-installation-guide-linux/Cloud/tmc-enable-hybrid "アプリケーションごとにハイブリッドインストールを検出して有効にできるよう、Talend Cloudを設定します。")をご覧ください。 |

   プロパティファイルに入力されたパスワードはすべて、Talend Data Stewardshipインスタンスを開始する時に暗号化されます。
6. Talend Dictionary Serviceへのアクセスを設定するには、次のフィールドを編集します:
   | フィールド | 説明 |
   | --- | --- |
   | tsd.maven.connector.s3Repository.bucket-url | お使いのMinIOかS3リポジトリーバケットのURLを入力します。<br><br>たとえば、s3://talend-app-sharedとなります。 |
   | tsd.maven.connector.s3Repository.base-path | お使いのMinIOかS3リポジトリーのベースパスを入力します。このプロパティはオプションなので、空にしておくこともできます。<br><br>たとえば、semantic-types-repositoryとなります。 |
   | tsd.maven.connector.s3Repository.username | お使いのMinIOかS3リポジトリーのユーザー名を入力します。<br><br>たとえば、username123となります。 |
   | tsd.maven.connector.s3Repository.password | お使いのMinIOかS3リポジトリーのパスワードを入力します。<br><br>たとえば、password123となります。 |
   | tsd.maven.connector.s3Repository.s3.region | お使いのMinIOかS3リポジトリーのリージョンを入力します。<br><br>たとえば、us-east-1となります。 |
   | tsd.maven.connector.s3Repository.s3.endpoint | お使いのMinIOかS3リポジトリーサーバーのURLを入力します。<br><br>たとえば、https://minio-company.comとなります。 |
   | tsd.dictionary-provider-facade.producer-url | Talend Dictionary ServiceインスタンスへのURLを入力します。たとえば: http://localhost:8187。 |
   | tsd.enabled | このパラメーターの値をtrueに設定すると、Talend Data StewardshipとTalend Dictionary Serviceの間で情報をやり取りできます。 |
7. tds.front.deploymentModeの値をHYBRIDに設定します。
8. ハイブリッド固有である次のプロパティを追加します。
   | フィールド | アクション |
   | --- | --- |
   | security.oauth2.resource.jwt.key-uri=${security.oidc.client.keyUri} | Talend Cloudとの通信を有効にします。 |
   | spring.profiles.active=hybrid | ハイブリッドモードを有効にします。 |
   | iam.server.url=https://api.&lt;region&gt;.cloud.talend.com/v1/iam | Talend CloudのTalend Identity and Access ManagementサーバーURL。&lt;region&gt;には、自分のアカウントの場所に該当するリージョンを入力します。各データセンターで使用するURLのリストは、[Talend Cloudのアプリケーションにアクセス](https://help.qlik.com/talend/ja-JP/installation-guide-windows/Cloud/talend-cloud-application-url)で確認できます。 |
   | tds.front.portalUrl=https://portal.&lt;region&gt;.cloud.talend.com/ | Talend CloudのポータルURL。&lt;region&gt;には、自分のアカウントの場所に該当するリージョンを入力します。各データセンターで使用するURLのリストは、[Talend Cloudのアプリケーションにアクセス](https://help.qlik.com/talend/ja-JP/installation-guide-windows/Cloud/talend-cloud-application-url)で確認できます。 |
   | tds.front.pendoDataCenter=&lt;data\_center&gt; | Talend Cloudインストールのデータセンター名。&lt;data\_center&gt;を、AWSの場合はus-east-1、eu-central-1、ap-south-1、ap-southeast-2のいずれかに、Azureの場合はにwest-us置き換えます。 |
   | tds.front.pendoCloudProvider=&lt;cloud\_provider&gt; | Talend Cloudインストールのクラウドプロバイダー。&lt;cloud\_provider&gt;をAWSまたはAzureに置き換えます。 |
   | dataquality.rules.baseUri=https://tds.&lt;region&gt;.cloud.talend.com/rulerepository | Talend CloudアプリケーションURL。&lt;region&gt;には、自分のアカウントの場所に該当するリージョンを入力します。各データセンターで使用するURLのリストは、[Talend Cloudのアプリケーションにアクセス](https://help.qlik.com/talend/ja-JP/installation-guide-windows/Cloud/talend-cloud-application-url)で確認できます。 |
9. ログ監視オプションの無効化:
   | フィールド | アクション |
   | --- | --- |
   | audit.log.enabled | ハイブリッド設定ではこのプロパティをfalseに設定します。ハイブリッドモードでTalend Data Stewardshipを使用している時にこのプロパティをtrueに設定すると、正しく機能しない場合があります。 |
10. Talend Data StewardshipおよびTalend Data Preparationのインストール後にアプリケーションスイッチャーを有効にするよう、 次の行をコメント解除し、Talend Cloud Data PreparationインスタンスへのURLを追加します。

    tds.front.tdpUrl=https://tds.&lt;region&gt;.cloud.talend.com/

    &lt;region&gt;には、自分のアカウントの場所に該当するリージョンを入力します。各データセンターで使用するURLのリストは、[Talend Cloudのアプリケーションにアクセス](https://help.qlik.com/talend/ja-JP/installation-guide-windows/Cloud/talend-cloud-application-url)で確認できます。

    Talend Data Preparationの設定ファイルにはTalend Data StewardshipインスタンスへのURLを追加することも必要です。詳細は、インストール後のTalend Data Preparationの設定に関するセクションをご覧ください。
11. オプション: Apache Tomcatで、Talend Data StewardshipのHTTP圧縮を有効にします。
    1. &lt;Tomcat&gt;\conf\server.xmlを開きます。
    2. Talend Data Stewardshipで使用されるHTTPコネクター設定に次の属性を追加します。
       ```
       compression="on"
       compressionMinSize="2048"
       compressibleMimeType="text/html,text/xml,text/javascript,text/css,application/javascript,application/json"
       ```
12. 保存タスクのストレージ制限を編集する場合は、次のいずれかの方法を実行します:
    * tds.tasks.storage.limit.mode=manualSettingプロパティで制限モードをmanual setting (手動設定)に設定した後、tds.tasks.storage.limit.valueプロパティでGB制限を定義します。デフォルト値は20GBです。
    * tds.tasks.storage.limit.mode=disabledプロパティで制限モードをdisabled (無効化)に設定し、ストレージ制限を削除します。
13. 以下の項目をこの順番で起動し、Talend Data Stewardshipを開始します。
    1. ZooKeeper (start\_zookeeperファイルを使用)
    2. Apache Kafka (start\_kafkaファイルを使用)
    3. MinIO (startファイルを使用)
    4. Talend Data Stewardship (start-tdsファイルを使用)