lboogie25_20449
Feb 17, 2016Nimbostratus
VIP with multiple pools and TCP ports
Hello, all. I'm hoping to configure a single VIP to serve multiple pools. I'm using data groups to separate the port objects (not sure if I did that right). Here is my config, with the data groups first.
- Name - App901 address record 1.1.1.1:=901
- name - App902 address record 1.1.1.1:=902
-
name - App903 address record 1.1.1.1:=903
when CLIENT_ACCEPTED { if {[class match [TCP::local_port] equals App901]} { pool pl_901 } elseif {[class match [TCP::local_port] equals App902]} { pool pl_902 } elseif {[class match [TCP::local_port] equals App903]} { pool pl_903 } else { reject } }