#adsense(728x90)
[root@bigip:Active] config # bigpipe virtual server-name '{ destination ip-addr:port pool pool-name ip protocol tcp profile profile-name persist persist-name rule rule-name }'
[root@bigip:Active] / # bigpipe pool pool-name { lb method method persist_mode mode min active members 2 member ip-addr:port [ratio ratio] [priority priority] member ip-addr:port [ratio ratio] [priority priority] }
[root@bigip:Active] / # bigpipe pool pool-name { \ lb method member ratio \ min active members 2 member 172.16.20.1:80 ratio 4 priority 2 member 172.16.20.2:80 ratio 2 priority 2 member 172.16.20.3:80 }
[root@bigip:Active] / # bigpipe pool pool-name add { ip-addr:port [option] }
[root@bigip:Active] / # bigpipe pool pool-name delete { ip-addr:port [option] }
[root@bigip:Active] / # bigpipe ratio ip-addr [ip-addr...] ratio
[root@bigip:Active] / # bigpipe pool pool-name member ip-addr:port session disable
[root@bigip:Active] / # bigpipe pool pool-name member ip-addr:port down
[root@bigip:Active] / # bigpipe pool pool-name member ip-addr:port up session enable
[root@bigip:Active] / # bigpipe pool [pool-name] list pool pool-name { monitor http member 192.160.0.32:80 member 192.160.0.33:80 member 192.160.0.34:80 }
[root@bigip:Active] / # bigpipe monitor monitor-name '{ defaults from tepmlate-name [interval interval-time] [timeout timeout-time] [dest ip-addr:port] [send \"(GET|POST) path\" recv \"receive-text\"] }'
ex) L7 レベルのチェック (HTTP のコンテンツ)
[root@bigip:Active] / # bigpipe monitor http_mon '{ defaults from http interval 5 timeout 16 dest *:80 send \"GET /\" recv \"Server\" }'
ex) L3 レベルのチェック (Ping の応答)
[root@bigip:Active] / # bigpipe monitor icmp_mon '{ defaults from icmp interval 15 timeout 46 }'
[root@bigip:Active] / # bigpipe pool pool-name '{ monitor all monitor-name }'
[root@bigip:Active] / # bigpipe pool pool-name '{ member ip-addr:port monitor monitor-name }'
[root@bigip:Active] / # bigpipe node all '{ monitor icmp_mon }'
ex) プールへの関連付け
[root@bigip:Active] / # bigpipe pool http_pool '{ monitor all http_mon }'
ex) ノードへの関連付け
[root@bigip:Active] / # bigpipe pool https_pool '{ member 172.16.20.1:443 monitor https_mon }'
ex)
[root@bigip:Active] / # bigpipe node all '{ monitor icmp_mon '}
[root@bigip:Active] / # bigpipe node ip-addr { screen screen-name }
[root@bigip:Active] / # bigpipe node screen-name session disable
[root@bigip:Active] / # bigpipe node screen-name down
[root@bigip:Active] / # bigpipe node screen-name up session enable
[root@bigip:Active] / # bigpipe node screen-name show NODE 192.168.0.32 UP SESSIONS ENABLED | conns (cur, max, limit, tot) = (0, 100, 0, 46.95M) | (pkts,bits) in = (320.5M, 630.0G), out = (375.1M, 1.858T) | requests (total) = 46.95M
[root@bigip:Active] / # bigpipe node screen-name list node 192.168.0.32 { screen web01 } node 192.168.0.33 { screen web02 } node 192.168.0.34 { screen web03 }
[root@bigip:Active] config # bigpipe profile persist src_addr_persist { defaults from source_addr mode source addr mask 255.255.255.255 timeout 20 }
[root@bigip:Active] config # bigpipe virtual vs_http { persist src_addr_persist }
profile http name { defaults from http fallback "http://sorry-url" }
profile clientssl profile-name { defaults from clientssl key "key-filename" cert "cert-filename" ca file "ca-filename" }
ex) URI に txt を含むものは、rule_pool に、それ以外は http_pool にバランシングする
[root@bigip:Active] config # bigpipe rule text_rule { when HTTP_REQUEST { if {[HTTP::uri] contains \"txt\"} { pool rule_pool } else { pool http_pool } } }
[root@bigip:Active] config # bigpipe virtual vs_text { profile http rule text_rule }
[root@bigip:Active] config # bigtop | bits since | bits in prior | current | MMM DD HH:MM:SS | 5 seconds | time BIG-IP ACTIVE |---In----Out---Conn-|---In----Out---Conn-| HH:MM:SS bigip 372.5G 1.356T 125.6M 94424 64568 19 VIRTUAL ip:port |---In----Out---Conn-|---In----Out---Conn-|-Nodes Up-- 10.0.0.32:http 1.575G 47.59G 23307 21072 13616 1 3 10.0.0.32:https 7.325G 21.14G 578740 0 0 0 3 NODE ip:port |---In----Out---Conn-|---In----Out---Conn-|--State---- 192.168.0.32:http 1.575G 47.59G 23244 21072 13616 20 UP 192.168.0.33:http 7.374G 21.63G 580135 0 0 0 DOWN 192.168.0.34:http 280.7M 11.89G 741 21129 12098 23 UP 192.168.0.34:https 3.195G 7.839G 63973 0 0 0 UNCHECKED 192.168.0.34:https 311.0M 1.296G 25066 0 0 0 UNCHECKED 192.168.0.34:https 390.8M 752.1M 23582 0 0 0 UNCHECKED
#adsense(728x90)