'balance' only supports 'roundrobin',  'static-rr',  'leastconn', 'source', 'uri', 'url_param','hdr(name)','rdp-cookie(name)'
 
'roundrobin',  简单的轮询
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!

'static-rr',    根据权重
server APP03 192.168.109.5:81 cookie app1inst3 check inter 2000 rise 2 fall 5  weight 1
server APP04 192.168.109.3:80 cookie app1inst4 check inter 2000 rise 2 fall 5  weight 5
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!

 'leastconn', 最少连接者先处理
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!

'source',  根据请求源IP
192.168.109.5  It is work!
192.168.109.5  It is work!
192.168.109.5  It is work!
192.168.109.5  It is work!
192.168.109.5  It is work!
192.168.109.5  It is work!
192.168.109.5  It is work!
192.168.109.5  It is work!
192.168.109.5  It is work!
192.168.109.5  It is work!
 
 'uri',    根据请求的URI
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
 
'url_param',  根据请求的URl参数   'balance url_param' requires an URL parameter name
balance url_param
www.blog.51cto.com
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
 
 'hdr(name)' 根据HTTP请求头来锁定每一次HTTP请求
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
 
  'rdp-cookie(name)' 很据cookie(name)来锁定并哈希每一次TCP请求
192.168.109.5  It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!
192.168.109.5  It is work!
192.168.109.3 It is work!