is 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