免責事項: これは英文の記事「In the vSphere Client, the message "The new host TPM endorsement key doesn't match the one stored in the DB" appears.」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。
TPM が搭載されたシステムボードを変更すると、vSphere Client 内で次のメッセージが表示されることがあります:
新しいホスト TPM の承認キーが DB に保管されているものと一致しません
VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x
このメッセージは新しい TPM から生成されたキーの値と vCenter Server の VCDB の VPX_HOST テーブルに格納されているキーの値が一致しないために表示されます。
メッセージを表示しないようにするには、VPX_HOST テーブルのキーの値(endorsement_key, attestation_identity_key)を空にし、その後に該当ホストの切断/再接続を行います。
service-control --stop vmware-vpxd
注 : このコマンドを実行するには、bashシェルプロンプトが必要です。- Enable and Access the Bash Shell from the Appliance Shell/opt/vmware/vpostgres/current/bin/pg_dump -U postgres -t VPX_HOST VCDB > /var/core/VPX_HOST.sql
/opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB -h localhost -c "select ID,DNS_NAME,endorsement_key,attestation_identity_key from VPX_HOST;"
注 : 上記のコマンドは、vCenter Server に接続されているすべてのホストの "endorsement_key, attestation_identity_key "を表示します。/opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB -h localhost -c "select id,dns_name,endorsement_key,attestation_identity_key from VPX_HOST WHERE dns_name = '影響を受けるホストの FQDN';"
上記のコマンドの '影響を受けるホストの FQDN' を影響を受けるホストの FQDN に置き換えてください。
注:ホスト ID はブラウザからも識別/確認することができます。
/opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB -h localhost -c "update VPX_HOST set endorsement_key='', attestation_identity_key='' where id = <手順6で確認した Host ID>;"
注:出力は以下のようになります。
UPDATE 1
/opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB -h localhost -c "select ID,DNS_NAME,endorsement_key,attestation_identity_key from VPX_HOST;"
service-control --start vmware-vpxd
/opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB -h localhost -c "select ID,DNS_NAME,endorsement_key,attestation_identity_key from VPX_HOST;"
Workaround
事象に該当している場合、以下の操作により対応が可能です。
注: 影響を受けるホストが vSAN クラスタの一部である場合、VVOL ストレージがある場合、または分散スイッチ(VDS)がある場合は、回避策を実行しないでください
もし インベントリから削除のオプションがグレーアウトしている場合は、次の KB を参照下さい。Remove from Inventory" option grayed out for ESXi host