22.3 分散サーバ上でのコンテナの更新

22.3.1 OpenText Identity Managerエンジンコンテナの更新

  1. 共有ディレクトリ/dataに次の内容でcredentials.propertiesファイルを作成します。

    ID_VAULT_ADMIN_LDAP="<ID_VAULT_ADMIN_LDAP>"
    ID_VAULT_PASSWORD="<ID_VAULT_PASSWORD>"

    ここで、ID_VAULT_ADMIN_LDAPは、コンマ区切り形式である必要があります。

    次に例を示します。

    ID_VAULT_ADMIN_LDAP="cn=admin,ou=sa,o=system"

    ID_VAULT_PASSWORD="novell"

  2. Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。

  3. docker-imagesディレクトリに移動します。

  4. 次のコマンドを実行して、イメージをロードします。

    docker load --input IDM_410_identityengine.tar.gz
  5. オーバーレイネットワークを使用してOpenText Identity Managerエンジンを展開する場合は、次のコマンドを使用してコンテナを更新します。

    docker run --restart unless-stopped -d --ip=192.168.0.12 --network=idmoverlaynetwork --hostname=identityengine.example.com --name=engine-container -v /etc/hosts:/etc/hosts -v /data:/config -p 8028:8028 -p 524:524 -p 389:389 -p 8030:8030 -p 636:636 -e SILENT_INSTALL_FILE=/config/credentials.properties --stop-timeout 100 identityengine:idm-4.10.0-533

    ホストネットワークを使用してOpenText Identity Managerエンジンを展開する場合は、次のコマンドを使用してコンテナを更新します。

    docker run --restart unless-stopped -d --network=host --name=engine-container -v /etc/hosts:/etc/hosts -v /data:/config -e SILENT_INSTALL_FILE=/config/credentials.properties --stop-timeout 100 identityengine:idm-4.10.0-533

22.3.2 リモートローダコンテナの更新

  1. (状況によって実行)ドライバRPMアップデートまたはサードパーティファイルを処理するには、RPM更新とサードパーティファイルの処理の手順を実行します。

  2. (状況によって実行)コンテナを使用してリモートローダインスタンスを自動的に起動するには、リモートローダコンテナの展開を使用したリモートローダインスタンスの自動起動の手順を実行します。

  3. Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。

  4. docker-imagesディレクトリに移動します。

  5. 次のコマンドを実行して、イメージをロードします。

    docker load --input IDM_410_remoteloader.tar.gz
  6. 次のコマンドを実行してコンテナを展開します。

    docker run --restart unless-stopped -d --ip=192.168.0.2 --network=idmoverlaynetwork --hostname=remoteloader.example.com -p 8090:8090 --name=rl-container -v /etc/hosts:/etc/hosts -v /data:/config --stop-timeout 100 remoteloader:idm-4.10.0-533

    ドライバファイルはコンテナの/opt/novell/eDirectory/lib/dirxml/classes/ディレクトリにあります。

  7. (状況によって実行)リモートローダインスタンスが実行されていない場合は、リモートローダインスタンスを起動します。

22.3.3 ファンアウトエージェントコンテナの更新

  1. Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。

  2. docker-imagesディレクトリに移動します。

  3. 次のコマンドを実行して、イメージをロードします。

    docker load --input IDM_410_fanoutagent.tar.gz
  4. 次のコマンドを使用してコンテナを更新します。

    docker run --restart unless-stopped -d --ip=192.168.0.3 --network=idmoverlaynetwork --hostname=fanoutagent.example.com --name=foa-container -v /etc/hosts:/etc/hosts -v /data:/config --stop-timeout 100 fanoutagent:idm-4.10.0-533
  5. ファンアウトエージェントを起動します。

22.3.4 OSPコンテナの更新

  1. Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。

  2. docker-imagesディレクトリに移動します。

  3. 次のコマンドを実行して、イメージをロードします。

    docker load --input IDM_410_osp.tar.gz
  4. 次のコマンドを使用してコンテナを更新します。

    docker run --restart unless-stopped -d --ip=192.168.0.5 --network=idmoverlaynetwork --hostname=osp.example.com -p 8543:8543 --name=osp-container -v /etc/hosts:/etc/hosts -v /data:/config -e MASTER_KEYSTORE_PWD=<keystore-pwd> --stop-timeout 100 osp:idm-4.10.0-533

    例:

    docker run --restart unless-stopped -d --ip=192.168.0.5 --network=idmoverlaynetwork --hostname=osp.example.com -p 8543:8543 --name=osp-container -v /etc/hosts:/etc/hosts -v /data:/config -e MASTER_KEYSTORE_PWD=changeit --stop-timeout 100 osp:idm-4.10.0-533

  5. 次のコマンドを実行してコンテナにログインします。

    docker exec -it <container> <command>

    次に例を示します。

    docker exec -it osp-container bash

22.3.5 PostgreSQLコンテナの更新

メモ:PostgreSQLコンテナを更新する前に、Identity ApplicationsやIdentity Reportingなどの依存コンテナを必ず停止してください。

  1. Dockerホストで、任意の場所に移動します。例:

    cd /tmp

  2. 次のコマンドを実行して、既存のPostgreSQLコンテナのデータのバックアップを取ります。

    docker exec postgresql-container pg_dumpall -U postgres > dump.sql
  3. PostgreSQLコンテナを停止します。

    docker stop <container name>

    次に例を示します。

    docker stop postgresql-container

  4. PostgreSQLコンテナを削除します。

    docker rm <container name>

  5. 既存のPostgreSQLデータディレクトリを削除します。

    rm -rf /data/postgres

  6. (状況によって実行) PostgreSQL Dockerイメージを削除します。

    docker rmi <image ID>

  7. 共有ディレクトリ/dataの下にサブディレクトリ、たとえばpostgresを作成します。

    mkdir postgres

  8. Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。

  9. docker-imagesディレクトリに移動します。

  10. 次のコマンドを実行して、イメージをロードします。

    docker load --input IDM_410_postgres.tar.gz
  11. 次のコマンドを使用してコンテナを更新します。

    docker run --restart unless-stopped -d --ip=192.168.0.6 --network=idmoverlaynetwork --hostname=postgresql.example.com --name=postgresql-container -p 5432:5432 -e POSTGRES_PASSWORD=<password> -v /data/postgres:/var/lib/postgresql/data -v /etc/hosts:/etc/hosts -v /data:/config --stop-timeout 100 postgres:14.14

    次に例を示します。

    docker run --restart unless-stopped -d --ip=192.168.0.6 --network=idmoverlaynetwork --hostname=postgresql.example.com --name=postgresql-container -p 5432:5432 -e POSTGRES_PASSWORD=novell -v /data/postgres:/var/lib/postgresql/data -v /etc/hosts:/etc/hosts -v /data:/config --stop-timeout 100 postgres:14.14

  12. Dockerホスト上にバックアップしたデータファイル(ステップ 2)を新しいPostgreSQL dataディレクトリにコピーします。

    cp /tmp/dump.sql /data/postgres

  13. 次のコマンドを実行してコンテナにログインします。

    docker exec -it <container> <command>

    次に例を示します。

    docker exec -it postgresql-container bash

  14. /var/lib/postgresql/data/ディレクトリに移動します。

  15. ステップ 2でバックアップしたデータを新しいPostgreSQLコンテナに復元します。

    psql -U postgres < dump.sql >

  16. 次のコマンドを実行して、コンテナを終了します。

    exit

  17. postgresフォルダに移動します。cd /data/postgres/

  18. pg_hba.confファイルを編集します。

  19. "host all all all scram-sha-256"行をコメント化します。

  20. ファイルに"host all 0.0.0.0/0 trust"を追加します。

  21. postgresコンテナを再起動します。

    docker restart postgresql-container

22.3.6 Identity Applicationsコンテナの更新

  1. Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。

  2. docker-imagesディレクトリに移動します。

  3. 次のコマンドを実行して、イメージをロードします。

    docker load --input IDM_410_identityapplication.tar.gz
  4. 次のコマンドを使用してコンテナを更新します。

    docker run --restart unless-stopped -d --ip=192.168.0.7 --network=idmoverlaynetwork --hostname=identityapps.example.com -p 18543:18543 --name=idapps-container -v /etc/hosts:/etc/hosts -v /data:/config -e MASTER_KEYSTORE_PWD=<keystore-pwd> --stop-timeout 100 identityapplication:idm-4.10.0-533

    例:

    docker run --restart unless-stopped -d --ip=192.168.0.7 --network=idmoverlaynetwork --hostname=identityapps.example.com -p 18543:18543 --name=idapps-container -v /etc/hosts:/etc/hosts -v /data:/config -e MASTER_KEYSTORE_PWD=changeit --stop-timeout 100 identityapplication:idm-4.10.0-533

22.3.7 フォームレンダラコンテナの更新

  1. Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。

  2. docker-imagesディレクトリに移動します。

  3. 次のコマンドを実行して、イメージをロードします。

    docker load --input IDM_410_formrenderer.tar.gz
  4. 次のコマンドを使用してコンテナを更新します。

    docker run --restart unless-stopped -d --ip=192.168.0.8 --network=idmoverlaynetwork --hostname=formrenderer.example.com -p 8600:8600 --name=fr-container -v /etc/hosts:/etc/hosts -v /data:/config --stop-timeout 100 formrenderer:idm-4.10.0-533

22.3.8 ActiveMQコンテナの更新

  1. Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。

  2. docker-imagesディレクトリに移動します。

  3. 次のコマンドを実行して、イメージをロードします。

    docker load --input IDM_410_activemq.tar.gz
  4. 次のコマンドを使用してコンテナを更新します。

    docker run --restart unless-stopped -d --ip=192.168.0.9 --network=idmoverlaynetwork --hostname=activemq.example.com -p 61616:61616 --name=amq-container -v /etc/hosts:/etc/hosts -v /data:/config --stop-timeout 100 activemq:idm-4.10.0-533

22.3.9 Identity Reportingコンテナの更新

  1. Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。

  2. docker-imagesディレクトリに移動します。

  3. 次のコマンドを実行して、イメージをロードします。

    docker load --input IDM_410_identityreporting.tar.gz
  4. 次のコマンドを使用してコンテナを更新します。

    docker run --restart unless-stopped -d --ip=192.168.0.10 --network=idmoverlaynetwork --hostname=identityreporting.example.com -p 28543:28543 --name=rpt-container -v /etc/hosts:/etc/hosts -v /data:/config -e MASTER_KEYSTORE_PWD=<keystore-pwd> --stop-timeout 100 identityreporting:idm-4.10.0-533

    例:

    docker run --restart unless-stopped -d --ip=192.168.0.10 --network=idmoverlaynetwork --hostname=identityreporting.example.com -p 28543:28543 --name=rpt-container -v /etc/hosts:/etc/hosts -v /data:/config -e MASTER_KEYSTORE_PWD=changeit --stop-timeout 100 identityreporting:idm-4.10.0-533

22.3.10 SSPRコンテナの更新

  1. Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。

  2. docker-imagesディレクトリに移動します。

  3. 次のコマンドを実行して、イメージをロードします。

    docker load --input IDM_410_sspr.tar.gz
  4. 次のコマンドを使用してコンテナを更新します。

    docker run --restart unless-stopped -d --ip=192.168.0.11 --network=idmoverlaynetwork --hostname=sspr.example.com --name=sspr-container -v /etc/hosts:/etc/hosts -v /data/sspr:/config -p 8443:8443 --stop-timeout 100 sspr/sspr-webapp:4.8.0.1-533

22.3.11 OpenText Identity Consoleコンテナの更新

詳細については、「Upgrading OpenText Identity Console As Docker Container」を参照してください。