To provide high availability and failover protection, the installation of two or more Okta Active Directory (AD) Agents on separate servers in each domain is recommended. If an Okta AD Agent stops running or loses network connectivity, authentication requests are automatically routed to other Okta AD Agents.
To add an additional Okta AD Agent to a domain, the installation process is identical to your first agent installation. If you created an Okta service account during the first Okta AD Agent installation, you must provide your password during the second Okta AD Agent installation.
Installing multiple agents in close geographical proximity to your users does not enhance performance. When you have multiple agents installed, the process randomly selects which agent it uses so user location is not a factor. In addition, setting up large numbers of agents in this manner can cause problems when the system attempts to perform status checks on their performance.
Each agent connects to Okta independently. To communicate with an AD instance (for example, to authenticate a user), Okta selects an available agent and sends it a task to complete. If one of the agents becomes unavailable, it is automatically removed from the queue and not given additional tasks.
Okta AD Agents send periodic messages to Okta. If Okta does not receive a message for 120 seconds, the Okta AD Agent is marked as unavailable. After 30 days of inactivity, the API token assigned during the agent installation expires and you'll need to re-install the agent.
The Okta AD Agent relies on the underlying operating system for domain controller selection.
On the host server, sign in to Okta with Super Admin permissions and click Admin to access the Okta Admin Console.
- In the Admin Console, go to Directory > Directory Integrations.
- Click Active Directory.
- Click the Agents tab and click Add Agent.
- Review the installation requirements, click Set Up Active Directory, and then click Download Agent.
- Run the installer. See Install the Okta Active Directory agent.