Hi All
Is it possible to flush /delete the src-address persistence records on a D68 9.4.6 for a particular virtual ?
i have searched and read the Manual .. and its just not crystal clear to me
any guidance appreciated
Thanks
ian
Hi All
Is it possible to flush /delete the src-address persistence records on a D68 9.4.6 for a particular virtual ?
i have searched and read the Manual .. and its just not crystal clear to me
any guidance appreciated
Thanks
ian
Hi Ian,
You can use ‘b persist virtual VS_NAME show all’ to list the entries and ‘b persist virtual VS_NAME delete’ to delete them.
Aaron
Hey Aaron , wonder if you could help again :
is there a way to clear a specific record from the persistence table when using source address persistence ?
additionally , is there a way to generate a record for a specific host , i.e. sent client X to server Y
Before you ask , i know this is random requests , but we are having issues with the intermittent performance of a server , and want to set a one client to use a specific server to allow us to narrow the fault domain down.
Thanks
Ian
Hi Ian,
I haven’t tested this, but I think you can use ‘b persist client 1.1.1.1 delete’ to delete a client’s persistence records.
I don’t think there is a way to add a persistence record using the ‘b persist’ command. If you want to isolate one client to a specific pool member on a temporary basis, you could use an iRule which checks the client IP address and specifies the particular pool member:
when CLIENT_ACCEPTED {
Check if client is 1.1.1.1
if {[IP::addr [IP::client_addr] equals 1.1.1.1]}{
Force the client to the current pool's 2.2.2.2:80 member
pool [LB::server pool] member 2.2.2.2 80
}
}
Aaron
Thanks Aaron , i can confirm the command to delete a single client does work ..
Do you know how I can do this for a Virtual Server that isn’t in the Common partition? I changed the persistence method for a Virtual Server from source address to Universal persistence using the JSESSIONID in an iRule. Since I did this the source address persistence records haven’t gone away in over two weeks. When I tried the command you suggested I get the following error:
[root@f5bigipa6:Active] config b persist virtual VS_Name delete
BIGpipe unknown operation error:
01070823:3: Read Access Denied: The current update partition (Common) does not match the object’s partition (Partition_Name), stats not reset
Do I need to adds something to the command? Or logon as an admin user for the particular partition and do the same command?
I know it has been a while but just in case anyone else stumbles upon this post by searching for the error message, here is the command to switch partitions in the shell.
‘b shell partition “partition_name”’
Then run the commands above to clear persistence.
and what is the tmsh equivalent of the b command to do this? ahem…
thanks.
try this
15 13 * * 0 export REMOTEUSER=root ; tmsh -c “delete ltm persistence persist-records virtual nameofvirtualserver”
thanks.. that does it. also found a document that maps bigpipe to tmsh equivalent.. whew…
Here’s the link for future reference:
http://devcentral.f5.com/wiki/default.aspx/tmsh/BigpipeMappings.html
Aaron
Guys I hate to revive this but I have an issue and was wondering…
Will this command posted by hoolio actually delete all persistence records for a specific virtual?
‘b persist virtual VS_NAME delete’
e.g.
[root@ve10:Active] config b virtual list
virtual bar80 {
snat automap
pool foo
destination 172.28.19.252:80
ip protocol 6
persist source_addr
}
virtual bar81 {
snat automap
pool foo
destination 172.28.19.252:81
ip protocol 6
persist source_addr
}
[root@ve10:Active] config b persist
PERSISTENT CONNECTIONS
Type Virtual Node
source addr 172.28.19.252:80 200.200.200.101:80
source addr 172.28.19.252:81 200.200.200.101:80
[root@ve10:Active] config
[root@ve10:Active] config b persist virtual bar80 delete
[root@ve10:Active] config b persist
PERSISTENT CONNECTIONS
Type Virtual Node
source addr 172.28.19.252:81 200.200.200.101:80