Jump to content
Welcome to our new Citrix community!

Netscaler Load Balancer preferred Server


Recommended Posts

I missed your reference to LDAP, option 1 a lb vserver that points to service 1 and an 2nd lb vserver that points to service 2 configured as the backup lb vserver to server 1, is the best approach here.  Could use regular load balancing and direct all traffic to server 1; until its down and then spillover to a backup lb vserver.

If you just need a simple and single active server to passive server failover use the "backup lb vserver" protection method:  https://docs.citrix.com/en-us/netscaler/12/load-balancing/load-balancing-protect-configuration/config-backup-vserver.html

add service svc_ldap1 <ip1> ...

add service svc_ldap2 <ip2> ...

add lb vserver lb_vsrv_ldap_primary ssl_tcp <vip1> 636  # set protocol to tcp:389 or ssl_tcp:636 as appropriate...

add lb vserver lb_vsrv_ldap_backup ssl_tcp 0 # can be non-addressable if you don't need it to have a VIP and used as the backup entity only

bind lb vserver lb_vsrv_ldap_primary svc_ldap1

bind lb vserver lb_vsrv_ldap_backup svc_ldap2 

set lb vserver lb_vsrv_ldap_primary -backupvserver lb_vsrv_ldap_backup

# backup will only be used when primary services are down


For other more complicated scenarios (but probably not useful for your use case), Priority Load Balancing was introduced in 11.1 and later I think (has a nice graphic in the gui).

If you need a more complicated or multiple tier, try priority load balancing:   https://docs.citrix.com/en-us/citrix-adc/12-1/priority-load-balancing.html

(which is really just CS + LB) and a three tier failover model

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...