Forum Discussion
kishore_chennup
Nimbostratus
Jan 07, 2013Persistent vs Active
Hi All,
What is the difference between persiste connectoins and active connectoin on a BIG IP LTM. When I do a show sys conn , is it showing me the active connections or persistent connec...
nitass
Employee
Jan 07, 2013is it showing me the active connections or persistent connections as well.it is active connection.
So when I force a node offline, would it kill the persistent connections instantly? or does it wait for the default timeout s 180 seconds to expire.persistence record is not deleted when forcing node offline.
[root@ve10:Active] config b virtual bar23 list
virtual bar23 {
snat automap
pool foo
destination 172.28.19.252:23
ip protocol 6
persist source_addr
}
[root@ve10:Active] config b pool foo list
pool foo {
members {
200.200.200.101:23 {}
200.200.200.111:23 {}
}
}
initial
[root@ve10:Active] config b pool foo|grep -i pool\ member
+-> POOL MEMBER foo/200.200.200.101:23 active,unchecked
+-> POOL MEMBER foo/200.200.200.111:23 active,unchecked
[root@ve10:Active] config b conn server 172.28.19.252
No Conns were found.
[root@ve10:Active] config b persist
No Persistence Table Entries were found.
telnet to 172.28.19.252
[root@ve10:Active] config b conn server 172.28.19.252
192.168.206.33:64751 <-> 172.28.19.252:23 <-> 200.200.200.101:23 6 1/0
[root@ve10:Active] config b persist
PERSISTENT CONNECTIONS
Type Virtual Node
source addr 172.28.19.252:23 200.200.200.101:23
force node offline
[root@ve10:Active] config b node 200.200.200.101 down
[root@ve10:Active] config b pool foo|grep -i pool\ member
+-> POOL MEMBER foo/200.200.200.101:23 inactive,addr down
+-> POOL MEMBER foo/200.200.200.111:23 active,unchecked
check connection table and persistence record
[root@ve10:Active] config b conn server 172.28.19.252
192.168.206.33:64751 <-> 172.28.19.252:23 <-> 200.200.200.101:23 6 1/0
[root@ve10:Active] config b persist
PERSISTENT CONNECTIONS
Type Virtual Node
source addr 172.28.19.252:23 200.200.200.101:23
telnet to 172.28.19.252 (new session)
[root@ve10:Active] config tcpdump -nni 0.0 port 23
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on 0.0, link-type EN10MB (Ethernet), capture size 108 bytes
12:46:48.131752 IP 192.168.206.33.64752 > 172.28.19.252.23: S 2906823210:2906823210(0) win 8192
12:46:48.131782 IP 172.28.19.252.23 > 192.168.206.33.64752: S 437456650:437456650(0) ack 2906823211 win 3780
12:46:48.133808 IP 192.168.206.33.64752 > 172.28.19.252.23: . ack 1 win 260
12:46:48.133863 IP 200.200.200.10.64752 > 200.200.200.111.23: S 3860596109:3860596109(0) win 4380
12:46:48.134815 IP 200.200.200.111.23 > 200.200.200.10.64752: S 297140567:297140567(0) ack 3860596110 win 5840
12:46:48.134825 IP 200.200.200.10.64752 > 200.200.200.111.23: . ack 1 win 4380
check connection table and persistence record
[root@ve10:Active] config b conn server 172.28.19.252
192.168.206.33:64751 <-> 172.28.19.252:23 <-> 200.200.200.101:23 6 1/0
192.168.206.33:64752 <-> 172.28.19.252:23 <-> 200.200.200.111:23 6 1/0
[root@ve10:Active] config b persist
PERSISTENT CONNECTIONS
Type Virtual Node
source addr 172.28.19.252:23 200.200.200.111:23
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
