• XSS.stack #1 – первый литературный журнал от юзеров форума

VMs Не удаётся добавить ESXI в домен ( VMware )

Japok

Pentest
Пользователь
Регистрация
19.12.2021
Сообщения
79
Реакции
32
Гарант сделки
1
Всех приветствую!

При добавлении ESXI хоста в домен из под панели VCenter появляется ошибка - esxi the host does not have a suitable fqdn

В чём может быть проблема? Поделитесь решением
 
Решение
I will tell you some methods here, I hope it will help you in this matter

Let's Go !

1. Verify Hostname and FQDN Configuration:

  • Ensure the ESXi host has a properly configured hostname and FQDN. You can check this by connecting directly to the ESXi host using the vSphere Client or SSH and running:
esxcli network hostname get

  • The output should show both the hostname and the FQDN. If they are not correctly set, you can set them using:

esxcli system hostname set --host=yourhostname
esxcli system hostname set --fqdn=yourhostname.yourdomain.com

2 .DNS Configuration:
  • Ensure that the ESXi host's DNS settings are correctly configured. The host should be able to...
укажи в настройках хоста имя для ески и решится.
 
укажи в настройках хоста имя для ески и решится.
Вот тоже в эту сторону думал, но так и не нашёл где это указывается. Не мог бы подсказать где указывать
 
Вот тоже в эту сторону думал, но так и не нашёл где это указывается. Не мог бы подсказать где указывать
Всё уже нашёл. Спасибо за помощь!
 
I will tell you some methods here, I hope it will help you in this matter

Let's Go !

1. Verify Hostname and FQDN Configuration:

  • Ensure the ESXi host has a properly configured hostname and FQDN. You can check this by connecting directly to the ESXi host using the vSphere Client or SSH and running:
esxcli network hostname get

  • The output should show both the hostname and the FQDN. If they are not correctly set, you can set them using:

esxcli system hostname set --host=yourhostname
esxcli system hostname set --fqdn=yourhostname.yourdomain.com

2 .DNS Configuration:
  • Ensure that the ESXi host's DNS settings are correctly configured. The host should be able to resolve its own FQDN and the FQDN of the vCenter server.
  • Verify DNS settings by checking the contents of the /etc/resolv.conf file on the ESXi host.
  • Ensure the DNS server can resolve the FQDN of the ESXi host. You can test this by using the nslookup or dig commands from another machine on the network.

3 .Check Reverse DNS Lookup:
  • Verify that the reverse DNS lookup for the ESXi host's IP address is correctly configured in your DNS server. This means the IP address should correctly resolve back to the FQDN of the host.
4 .Edit Hosts File (if necessary):

  • If DNS configuration is not possible or practical, you can manually edit the /etc/hosts file on the ESXi host to ensure it can resolve its own FQDN.
vi /etc/hosts

  • Add an entry for the ESXi host similar to:

192.168.0.100 yourhostname.yourdomain.com yourhostname

Restart Management Network:
  • After making changes to DNS or hostname settings, restart the management network on the ESXi host to apply the changes:
/etc/init.d/hostd restart
/etc/init.d/vpxa restart

Check vCenter Settings:
  • Ensure that the vCenter Server is correctly configured and can resolve the FQDN of the ESXi host.
  • Check that the vCenter Server itself has a proper FQDN and is configured correctly in DNS.
Check for vCenter and ESXi Compatibility:
  • Ensure that your version of vCenter is compatible with your version of ESXi. Incompatibilities can sometimes cause issues with adding hosts to domains.
 
Решение


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх