Advance Health Check Sample ALT 29.0.0.0 zhanquan © 2009 Radware, Inc. All rights reserved.
Health Check 逻辑与 /c/slb/real 111 ena /c/slb/advhc/health 10 HTTP ipver v4 dport 80 rip 10.10.1.111 /c/slb/advhc/health 10 HTTP/http /c/slb/real 112 path "/HacmeBank_v2_Website/aspx/login.aspx" rip 10.10.1.112 /c/slb/advhc/health 20 HTTP dport 8080 /c/slb/group 1 /c/slb/advhc/health 20 HTTP/http path "/" health 30 /c/slb/advhc/health 30 LOGEXP add 111 name "advance_health_check" add 112 logexp "10&20“ /c/slb/virt 1/service 80 http group 1 rport 80 /
Health Check 逻辑与
Health check 逻辑或 /c/slb/real 121 ena ipver v4 /c/slb/advhc/health 10 HTTP rip 10.10.1.111 dport 80 /c/slb/real 122 /c/slb/advhc/health 10 HTTP/http path "/HacmeBank_v2_Website/aspx/login.aspx" rip 10.10.1.112 /c/slb/group 2 /c/slb/advhc/health 20 HTTP dport 8080 health 40 /c/slb/advhc/health 20 HTTP/http add 121 path "/" add 122 /c/slb/advhc/health 40 LOGEXP /c/slb/virt 1 name "advance-health10-or-20" logexp "10|20“ vip 1.1.1.1 /c/slb/virt 1/service 333 http group 3 rport 333 /
Health check 逻辑或
逻辑与和逻辑或混合健康检查,应用在Real Server下 /c/slb/advhc/health 111 HTTP /c/slb/real 200 dport 80 ena dest 4 10.10.1.111 ipver v4 /HacmeBank_v2_Website/aspx/login.aspx“ rip 10.10.1.120 health 50 /c/slb/group 3 /c/slb/advhc/health 112 HTTP dport 8080 health icmp dest 4 10.10.1.112 add 200 /c/slb/advhc/health 112 HTTP/http path "/“ /c/slb/virt 1 /c/slb/advhc/health 50 LOGEXP logexp "basic_icmp&(111|112)“ vip 1.1.1.1 /c/slb/advhc/health basic_icmp ICMP /c/slb/virt 1/service 333 http name "icmp“ group 3 rport 80
逻辑与和逻辑或混合健康检查,应用在Real Server下
在Real server上配置健康检查的小TIP 在前面的例子中,如果不绑定Basic_icmp这个健康检查条目是否可以? 即: /c/slb/advhc/health 50 LOGEXP logexp "111|112“ 在提交的时候会出现以下提示: >> Real Server Group 10# apply ERROR: The real server 10 - Has no Basic HC. Error: Apply not done. Use 'diff' to see pending changes, then use configuration menus to correct errors. 解决方法: 在 Real Serveru上配置复杂的健康检查条件的时候,一定要绑定一个 Basic HC 条目,(Basic HC条目,指对这个real server的健康检查条目)