Add ESXi to AD domain from CLI

Steps from VMA (after you connect to host using vifp and vifptarget commands):

Firstly need to be set fqdn:

esxcli -h esx02 system hostname set --fqdn=esx02.vmtest.local

Next line should set DNS server:

esxcfg-dns -D 192.168.100.66 -d esx02.vmtest.local -n esx02

Last step is to add server to domain:

vicfg-authconfig -h esx02.vmtest.local -j vmtest.local -t AD \\
-U domainadmin
No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Free(BSD)
Search for duplicated files

This will be short (but hopefully I will find more time to show entire process to search duplicated files together with some examples). In case you are searching for duplicated files I can recommend two software which actually rocks in openSource world

Azure
NFS issue, cannot be mounted or is not visible

The same kind of issue I have encountered numerous times while working across different environments and with various customers. The problem with NFS mounts connected from remote locations is so common. This issue extends beyond communication solely over WAN and also include connections between datacenters (DC) where we lack control …

Azure
Why Firefox is important and people should use this browser in 2024, my thoughts.

Can you remember the times when everyone was using Internet Explorer? Back in the ’90s and the early part of this century, Internet Explorer dominated the browser market. Software Incompatibility with Other Browsers Incompatibility issues with software and other browsers have been a persistent problem. Even in 2022, this remains …