免責事項: これは英文の記事「vCenter Server fails to join Active Directory domain with Error 0x0000a606」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。
domainjoin-cli ユーティリティを使用して vCenter Server Appliance (VCSA) を Active Directory ドメインに参加させようとすると、構成ステージのエラーでプロセスが失敗します。これは通常、システムが FQDN を無効であると識別した場合、または参加プロセスに必要なフォーマット要件を満たしていない場合に発生します。root@localhost [ /opt/likewise/bin ]# ./domainjoin-cli join <domain-name> user@<domain-name>Error: Required configuration stage not enabled [code 0x0000a606]The configuration of module 'set computer hostname' is required. Please either allow this configuration stage to be performed automatically (by passing '--enable hostname'), or manually perform these configuration steps and rerun the domain join:The following step(s) are required: Change the fqdn from '########' to '########.fqdn.dom'. The current fqdn is invalid because it does not contain a dot in the name. Changing the fqdn could be done via DNS, but this program will change it with the following steps: * Making sure local comes before bind in nsswitch * Adding the fqdn before all entries in /etc/hosts that contain VMware vCenter Server 7.x
VMware vCenter Server 8.x
この問題は、VCSA のホスト名とプライマリネットワーク ID (PNID) が一致していないために発生します。具体的には、ホスト名がショートネームに設定されているにもかかわらず、PNID が IP アドレスや異なる形式の FQDN に設定されている場合、Likewise サービス (ドメイン参加で使用) が ID を照合できず、0x0000a606 構成エラーが発生します。
# hostname<vCenter FQDN>
#/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost<vCenter IP Address>
この問題を回避するには、PNID を更新して目的の FQDN と一致させる必要があります。
https://<vCenter FQDN>:5480 で vCenter Server 管理インターフェイス (VAMI) にアクセスします。[ネットワーク] > [編集] に移動します。 <Temporary FQDN> に変更します。(https://<Temporary FQDN>:5480) へアクセスします。[ネットワーク] > [編集] に移動します。<vCenter FQDN> に変更します。