e.g.
config
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm virtual bar
ltm virtual bar {
destination 172.28.20.15:80
ip-protocol tcp
mask 255.255.255.255
pool foo
profiles {
http { }
oneconnect { }
tcp { }
}
rules {
myrule
}
source 0.0.0.0/0
source-address-translation {
type automap
}
vs-index 24
}
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm pool foo
ltm pool foo {
members {
200.200.200.101:80 {
address 200.200.200.101
}
}
}
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm rule myrule
ltm rule myrule {
when CLIENT_ACCEPTED {
log local0. "[IP::client_addr]:[TCP::client_port]"
}
when SERVER_CONNECTED {
log local0. "[IP::local_addr]:[TCP::local_port]"
}
}
client
[root@centos20 ~] ab -n 5 http://172.28.20.15/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking 172.28.20.15 (be patient).....done
Server Software: Apache/2.2.3
Server Hostname: 172.28.20.15
Server Port: 80
Document Path: /
Document Length: 89 bytes
Concurrency Level: 1
Time taken for tests: 0.31097 seconds
Complete requests: 5
Failed requests: 0
Write errors: 0
Total transferred: 1917 bytes
HTML transferred: 445 bytes
Requests per second: 160.79 [/sec] (mean)
Time per request: 6.219 [ms] (mean)
Time per request: 6.219 [ms] (mean, across all concurrent requests)
Transfer rate: 32.16 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 1 0.0 1 1
Processing: 3 4 2.3 5 8
Waiting: 2 4 2.2 4 7
Total: 4 5 2.3 6 9
Percentage of the requests served within a certain time (ms)
50% 5
66% 7
75% 7
80% 9
90% 9
95% 9
98% 9
99% 9
100% 9 (longest request)
bigip
[root@ve11a:Active:In Sync] config tail -f /var/log/ltm
Dec 24 01:25:42 ve11a info tmm[2836]: Rule /Common/myrule : 172.28.20.20:47046
Dec 24 01:25:42 ve11a info tmm[2836]: Rule /Common/myrule : 200.200.200.14:47046
Dec 24 01:25:42 ve11a info tmm1[2836]: Rule /Common/myrule : 172.28.20.20:47047
Dec 24 01:25:42 ve11a info tmm1[2836]: Rule /Common/myrule : 200.200.200.14:47047
Dec 24 01:25:42 ve11a info tmm[2836]: Rule /Common/myrule : 172.28.20.20:47048
Dec 24 01:25:42 ve11a info tmm1[2836]: Rule /Common/myrule : 172.28.20.20:47049
Dec 24 01:25:42 ve11a info tmm[2836]: Rule /Common/myrule : 172.28.20.20:47050