vCenter login slowness using LDAP SSO Identity Provider
search cancel

vCenter login slowness using LDAP SSO Identity Provider

book

Article ID: 393798

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Environment

vCenter 7.x

vCenter 8.x

Cause

This issue occurs when the vCenter Identity Source is configured using the root domain name instead of specific hostnames. When pointing to the root domain, vCenter queries DNS for all A records (Domain Controllers) and may randomly attempt to connect to firewalled, unreachable, or high-latency DCs, leading to authentication timeouts.

Resolution

Configure Specific Domain Controllers:

  1. Navigate to Administration > Single Sign-On > Configuration.
  2. Edit the Identity Source.
  3. Change the Connect to option to Specific Domain Controllers.
  4. Add the FQDNs of known healthy DCs that the VCSA has no issues communicating with (e.g., ldap://dc01.example.com:389).
    1. If when attempting to save the configuration you receive an error similar to “cannot configure identity source due to failed to probe provider connectivity [UR… caused by: can’t contact ldap server” remove the secondary DC URL listed and try to save with only one DC. If that saves successfully you can test the other DC(s) by replacing the single URL DC FQDN with one of the others and attempt to save. This can be done for the remaining DCs to test for each.
  5. Save the configuration and verify login performance.

 

If desiring to return back to using the root domain as URL for round robin use of multiple domain controllers do the following.

  1. Test network communication between the VC and the DCs currently failing in order to try and determine the cause of the communication issues and resolve those.
  2. Once communication issues are resolved change the LDAP IdP configuration URL back to the domain for round.