Skip to content

Instantly share code, notes, and snippets.

@caquino
Created May 18, 2013 03:01
Show Gist options
  • Select an option

  • Save caquino/5603080 to your computer and use it in GitHub Desktop.

Select an option

Save caquino/5603080 to your computer and use it in GitHub Desktop.
virtual_server 192.168.0.10 1433 {
delay_loop 5
lb_algo lc
lb_kind DR
protocol TCP
real_server 192.168.1.10 1433 {
weight 1
MISC_CHECK {
misc_path /path/to/check_mssql_mirror.py
}
}
real_server 192.168.1.11 1433 {
weight 1
MISC_CHECK {
misc_path /path/to/check_mssql_mirror.py
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment