Load Balancer

Load balancing distributes incoming requests across multiple servers, preventing performance degradation during heavy traffic and eliminating downtime caused by system or application failure. ADSelfService Plus supports load balancing to ensure a consistent and reliable experience for end users.

Note: Load balancing can only be implemented if the Professional Edition of ADSelfService Plus with the Failover and Secure Gateway Services add-on has been purchased. Visit our store

How it works

Load balancer architecture in ADSelfService Plus

One instance of ADSelfService Plus is designated as the primary node. All remaining instances act as secondary nodes and share the database configured on the primary node. Incoming requests are distributed across all nodes by a load balancer service, which runs on the configured virtual IP address and load balancing port. This is accessible via a dedicated load balancer URL, which should be set as the product access URL.

Initially, the load balancing service runs on the primary server. When it fails, the load balancing service on the secondary server takes over. All configuration changes must be made from the primary node.

Limitations

Prerequisites

Ensure the following before configuring load balancing:

Configuration instructions

Setting up load balancing

  1. Start ADSelfService Plus on all machines.
  2. Log in as an administrator to the ADSelfService Plus instance designated as the primary node.
  3. Navigate to Admin > Enterprise Essentials > Load Balancer.
  4. The Primary Server URL will be automatically populated.
  5. In the Secondary Server(s) section, enter the hostname or IP address of the secondary ADSelfService Plus instance in the Secondary Server URL field.
  6. Enter the credentials of a user with Super Admin privileges in the Admin Username and Admin Password fields.
  7. Under Access Mode, fill in the following fields:
    • Virtual IP (required): Enter a virtual IP address. This IP will automatically bind to the active server in the failover setup. You can map this virtual IP to a virtual hostname in the DNS.
    • Virtual Hostname (optional): Enter a virtual hostname if required.
    • Load Balancing Port (required): Enter a valid port number for the load balancer service. This must be different from the port used by ADSelfService Plus.
    • If the primary and secondary servers are on different subnets, select the Primary and Secondary Servers are on Different Subnets checkbox. In this case, the Virtual IP field is not required — create a virtual host and provide the hostname in the Virtual Hostname field instead.
  8. To add more secondary nodes, click + Add Secondary Server and repeat steps 5 and 6.
  9. Click Configure. The primary node will automatically restart first. Once it is up, all secondary nodes will restart automatically.

Configuring load balancing in ADSelfService Plus

Modifying the load balancing configuration

All modifications must be made from the primary node. Navigate to Admin > Enterprise Essentials > Load Balancer to access the configuration.

To add a new node:

  1. Click + Add Secondary Server.
  2. Enter the hostname or IP address and port number of the new secondary instance in the Secondary Server URL field.
  3. Enter the Super Admin username and password for the new node.
  4. Click Configure. The new node will restart automatically.

To remove the load balancing configuration:

  1. Click Remove Configuration.
  2. Confirm the action in the pop-up that appears.

Managing scheduled jobs

By default, scheduled jobs such as report generation and directory synchronization run from the primary node. You can configure them to run from a secondary node to reduce load on the primary server.

Configuring scheduled jobs for load balancing in ADSelfService Plus

  1. Log in as an administrator to the primary node.
  2. Navigate to Admin > Enterprise Essentials > Load Balancer.
  3. Click Manage Scheduled Jobs in the top-right corner.
  4. From the Run Scheduled Jobs On drop-down, select the node you want to handle scheduled jobs.
  5. Select the Enable Scheduler Failover checkbox to automatically move scheduled jobs to the first available node if the selected node goes down.
  6. Click Save and restart the server for the changes to take effect.

Troubleshooting

1. Build number is different from the primary node

2. Scheduled jobs are not running. Please restart this server.

3. Protocol mismatch found. Make sure all the nodes involved in load balancing use the same protocol.

.4. Communication issue. Make sure port 7800 is not blocked by the firewall in both the primary and secondary nodes.

5. A node is unreachable.

Tips

Thanks!

Your request has been submitted to the ADSelfService Plus technical support team. Our technical support people will assist you at the earliest.

 

Need technical assistance?

  • Enter your email ID
  • Talk to experts
  •  
     
  •  
  • By clicking 'Talk to experts' you agree to processing of personal data according to the Privacy Policy.

Don't see what you're looking for?

  •  

    Visit our community

    Post your questions in the forum.

     
  •  

    Request additional resources

    Send us your requirements.

     
  •  

    Need implementation assistance?

    Try OnboardPro

     

Copyright © 2026, ZOHO Corp. All Rights Reserved.