コンテナは次の順序で更新する必要があります。
共有ディレクトリ/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"
Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。
docker-imagesディレクトリに移動します。
次のコマンドを実行して、イメージをロードします。
docker load --input IDM_410_identityengine.tar.gz
オーバーレイネットワークを使用して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
(状況によって実行)ドライバRPMアップデートまたはサードパーティファイルを処理するには、RPM更新とサードパーティファイルの処理の手順を実行します。
(状況によって実行)コンテナを使用してリモートローダインスタンスを自動的に起動するには、リモートローダコンテナの展開を使用したリモートローダインスタンスの自動起動の手順を実行します。
Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。
docker-imagesディレクトリに移動します。
次のコマンドを実行して、イメージをロードします。
docker load --input IDM_410_remoteloader.tar.gz
次のコマンドを実行してコンテナを展開します。
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/ディレクトリにあります。
(状況によって実行)リモートローダインスタンスが実行されていない場合は、リモートローダインスタンスを起動します。
Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。
docker-imagesディレクトリに移動します。
次のコマンドを実行して、イメージをロードします。
docker load --input IDM_410_fanoutagent.tar.gz
次のコマンドを使用してコンテナを更新します。
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
ファンアウトエージェントを起動します。
Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。
docker-imagesディレクトリに移動します。
次のコマンドを実行して、イメージをロードします。
docker load --input IDM_410_osp.tar.gz
次のコマンドを使用してコンテナを更新します。
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
次のコマンドを実行してコンテナにログインします。
docker exec -it <container> <command>
次に例を示します。
docker exec -it osp-container bash
メモ:PostgreSQLコンテナを更新する前に、Identity ApplicationsやIdentity Reportingなどの依存コンテナを必ず停止してください。
Dockerホストで、任意の場所に移動します。例:
cd /tmp
次のコマンドを実行して、既存のPostgreSQLコンテナのデータのバックアップを取ります。
docker exec postgresql-container pg_dumpall -U postgres > dump.sql
PostgreSQLコンテナを停止します。
docker stop <container name>
次に例を示します。
docker stop postgresql-container
PostgreSQLコンテナを削除します。
docker rm <container name>
既存のPostgreSQLデータディレクトリを削除します。
rm -rf /data/postgres
(状況によって実行) PostgreSQL Dockerイメージを削除します。
docker rmi <image ID>
共有ディレクトリ/dataの下にサブディレクトリ、たとえばpostgresを作成します。
mkdir postgres
Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。
docker-imagesディレクトリに移動します。
次のコマンドを実行して、イメージをロードします。
docker load --input IDM_410_postgres.tar.gz
次のコマンドを使用してコンテナを更新します。
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
Dockerホスト上にバックアップしたデータファイル(ステップ 2)を新しいPostgreSQL dataディレクトリにコピーします。
cp /tmp/dump.sql /data/postgres
次のコマンドを実行してコンテナにログインします。
docker exec -it <container> <command>
次に例を示します。
docker exec -it postgresql-container bash
/var/lib/postgresql/data/ディレクトリに移動します。
ステップ 2でバックアップしたデータを新しいPostgreSQLコンテナに復元します。
psql -U postgres < dump.sql >
次のコマンドを実行して、コンテナを終了します。
exit
postgresフォルダに移動します。cd /data/postgres/
pg_hba.confファイルを編集します。
"host all all all scram-sha-256"行をコメント化します。
ファイルに"host all 0.0.0.0/0 trust"を追加します。
postgresコンテナを再起動します。
docker restart postgresql-container
Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。
docker-imagesディレクトリに移動します。
次のコマンドを実行して、イメージをロードします。
docker load --input IDM_410_identityapplication.tar.gz
次のコマンドを使用してコンテナを更新します。
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
Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。
docker-imagesディレクトリに移動します。
次のコマンドを実行して、イメージをロードします。
docker load --input IDM_410_formrenderer.tar.gz
次のコマンドを使用してコンテナを更新します。
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
Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。
docker-imagesディレクトリに移動します。
次のコマンドを実行して、イメージをロードします。
docker load --input IDM_410_activemq.tar.gz
次のコマンドを使用してコンテナを更新します。
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
Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。
docker-imagesディレクトリに移動します。
次のコマンドを実行して、イメージをロードします。
docker load --input IDM_410_identityreporting.tar.gz
次のコマンドを使用してコンテナを更新します。
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
Identity_Manager_4.10.0_Containers.tar.gzファイルを抽出した場所に移動します。
docker-imagesディレクトリに移動します。
次のコマンドを実行して、イメージをロードします。
docker load --input IDM_410_sspr.tar.gz
次のコマンドを使用してコンテナを更新します。
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
詳細については、「Upgrading OpenText Identity Console As Docker Container」を参照してください。