The following script shows how to configure a Netscaler load balancer for use with an Octopus High Availability instance.
#Servers
add server octopus-node1_SVR 192.168.0.1
add server octopus-node2_SVR 192.168.0.2
#Service Group
add serviceGroup octopusdeploy_GRP HTTP
bind serviceGroup octopusdeploy_GRP octopus-node1_SVR 80
bind serviceGroup octopusdeploy_GRP octopus-node2_SVR 80
bind serviceGroup octopusdeploy_GRP -monitorName ping
#LB
add lb vserver octopusdeploy_LB HTTP 0.0.0.0 0
bind lb vserver octopusdeploy_LB octopusdeploy_GRP
#HTTP CS
add cs vserver octopusdeploy_CS_HTTP HTTP 10.0.0.1 80 -cltTimeout 180 -listenPolicy None
bind cs vserver octopusdeploy_CS_HTTP -lbvserver ssl-only-redirect_LB
#HTTP CS
add cs vserver octopusdeploy_CS_HTTPS SSL 10.0.0.1 443 -cltTimeout 180 -listenPolicy None
bind cs vserver octopusdeploy_CS_HTTPS -lbvserver octopusdeploy_LB
#Cipher and Cert Bindings
bind ssl vserver octopusdeploy_CS_HTTPS -cipherName DEFAULT_HA_CIPHERS
bind ssl vserver octopusdeploy_CS_HTTPS -certkeyName your-domain.com
Help us continuously improve
Please let us know if you have any feedback about this page.
Page updated on Sunday, January 1, 2023