Skip to content

Instantly share code, notes, and snippets.

@hgomez
Created March 28, 2013 22:46
Show Gist options
  • Select an option

  • Save hgomez/5267463 to your computer and use it in GitHub Desktop.

Select an option

Save hgomez/5267463 to your computer and use it in GitHub Desktop.
load-balancing for devops mercenaries lab
worker.list=sh4relb
# LB
worker.sh4relb.type=lb
worker.sh4relb.balance_workers=runner1,runner2
# Set properties for merc-runner1
worker.runner1.type=ajp13
worker.runner1.host=merc-runner1.hgomez.net
worker.runner1.port=8009
# Set properties for merc-runner2
worker.runner2.type=ajp13
worker.runner2.host=merc-runner2.hgomez.net
worker.runner2.port=8009
#
# Alternate settings for active/passive with failover
#
#worker.runner1.redirect=runner2
#worker.runner2.activation=disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment