If I join esxi to an Active Directory domain, how does it choose which DC to authenticate to

active-directoryauthenticationdomain-controllernetworkingvmware-esxi

I'm familiar to vSphere and large installations, and not at all familiar with the free products.

Topology & configuration

We have some branch offices that use ESXi and have a DC resident on them, as a virtualized host. This is the only local DC they can access.

To make things more complex, these remote offices are the "spokes" in a hub and spoke configuration. No spoke can ever talk to another spoke (through lack of routing) and each spoke has a RODC.

Question

To make management easier, I'm considering adding these hosts to our domain, but unsure if I'll lose "local admin" capability, or what will happen when the DC is unavailable.

That being said, I see an entry to configure an AD domain. It's not clear how the DCs will be selected, or how fault tolerance works, if at all on esxi.

I'm looking for someone smarter than me to help me think through the implications of connecting esxi to AD in the following scenarios:

  • ESXI is hosting a VM that is a DC and is hung (1/100 DCs failed)
  • ESXI can't access the servers in the hub (99/100 DCs failed)
  • Normal access, where spokes are unreachable (80/100 unreachable, might seem failed)

I think these scenarios are interesting because it's entirely possible that ESXI will get a list of every NS for ADDomain.com, which equals every domain controller hosting LDAP.*

*Footnote: I assume ESXI is using LDAP.. but I'm not sure

Bottom line

Should I connect esxi in a spoke to the domain in this configuration?

Will I lose local access if no DC is available?

Best Answer

ESXi (just like any other system) will always allow local authentication (i.e. the local root user and any local user account you created) when other authentication methods are unavailable; if you have local credentials, you'll always be able to login to an ESXi server, even if vCenter, AD, or whatever else is not available.

Documentation:

http://pubs.vmware.com/vsphere-51/index.jsp#com.vmware.vsphere.security.doc/GUID-D7AEC653-EBC8-4573-B990-D8E58742F8ED.html