ユース ケース: サーバー同期のセットアップ – 初回 - Teradata Data Mover

Teradata® Data Mover ユーザー ガイド

Product
Teradata Data Mover
Release Number
17.10
Published
2021年6月
Language
日本語
Last Update
2021-07-16
dita:mapPath
ja-JP/fcu1619423186706.ditamap
dita:ditavalPath
ja-JP/fcu1619423186706.ditaval
dita:id
B035-4101
Product Category
Analytical Ecosystem
  1. アクティブ リポジトリ サーバーで、cd /var/opt/teradata/postgres/dataに移動してPostgresの構成を変更します。
  2. postgres.confで、wal_levelwal_level = logicalに変更します。
  3. アクティブ リポジトリを再起動します。
    /etc/init.d/postgresql stop
    /etc/init.d/postgresql start
  4. アクティブ サーバーで、sync.propertiesファイルを編集し、sync.isMasterプロパティをtrueに設定します。
  5. スタンバイ サーバーで、sync.propertiesファイルを編集し、sync.isMasterプロパティをfalseに設定します。
  6. アクティブ サーバーで、sync.propertiesファイル内のdm.pg.jobstore.production.hostプロパティをアクティブ サーバーのホスト名に設定します。
    ホスト名にはlocalhost以外の名前を使用します。
  7. アクティブ サーバーで、同期サービスを構成します。
    /opt/teradata/datamover/sync/nn.nn/dmsync config
    ここで、パス中のnn.nnはData Moverのバージョン番号を指します。
  8. プロンプトが表示されたら、次のオプションを選択します。
    Set up a new replication service between this active repository and one or more standby repositories
  9. 次のプロンプトに応答します。
       
    Enter remote standby host name スタンバイ サーバー名を入力します。
    Enter the database super user postgres password on standby repository スタンバイ サーバーでPostgresユーザー パスワードを入力します。
    Replication service set up requires that the active and standby repositories are in sync before configuring. Do you need to back up the active repository to the standby repository? [y or n]
    • スタンバイ リポジトリがまだ同期されていない場合は、Yと入力します。
    • スタンバイ リポジトリがすでに同期されている場合は、Nと入力します。
    Do you need to set up replication for another standby repository? [y or n]:
    • 複数のスタンバイ サーバーがこのアクティブ サーバーに接続する必要がある場合は、Yと入力します。
    • 1つのスタンバイのみが必要な場合は、Nと入力します。