Forum Discussion
nitass
Jan 10, 2012Employee
doesn't the active_members Aaron suggested work?
[root@ve1023:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.19.79:80
ip protocol 6
rules myrule
profiles {
http {}
tcp {}
}
}
[root@ve1023:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
log local0. "\[active_members -list foo2\]: [active_members -list foo2]"
}
}
[root@ve1023:Active] config b pool foo2 list
pool foo2 {
members {
200.200.200.102:80 {}
200.200.200.103:80 {}
}
}
[root@ve1023:Active] config curl -I http://172.28.19.79
HTTP/1.1 200 OK
Date: Wed, 11 Jan 2012 00:36:34 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Fri, 11 Nov 2011 14:48:14 GMT
ETag: "4183e4-3e-9c564780"
Accept-Ranges: bytes
Content-Length: 62
Set-Cookie: BROWSER=MOZILLA%20INTERNET_EXPLORER%20CHROME; path=/
Content-Type: text/html; charset=UTF-8
[root@ve1023:Active] config cat /var/log/ltm
Jan 10 16:36:21 local/tmm info tmm[26866]: Rule myrule HTTP_REQUEST: [active_members -list foo2]: {200.200.200.102 80} {200.200.200.103 80}