Clearing the persistent hash table, Reassigning a persistent hash table entry – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual
Page 110
94
Brocade Virtual ADX Server Load Balancing Guide
53-1003247-01
Hash-based SLB with server persistence
2
Clearing the hit count for the persistent hash table
To clear the hit count for the persistent hash table for a virtual server port, enter commands such
as the following.
Virtual ADX(config)#server virtual-name-or-ip http-vs
Virtual ADX(config-vs-http-vs)#port http clear-persist-hash-statistics
Virtual ADX(config-vs-http-vs)#end
Syntax: port port clear-persist-hash-statistics
Clearing the persistent hash table
To clear the persistent hash table (all assignments and hit counts) for a virtual server port, enter
commands such as the following.
Virtual ADX(config)#server virtual-name-or-ip http-vs
Virtual ADX(config-vs-http-vs)#port http clear-persist-hash-buckets
Virtual ADX(config-vs-http-vs)#end
Syntax: port port clear-persist-hash-buckets
Reassigning a persistent hash table entry
To manually reassign a persistent hash table entry to a real server for a specified client IP, enter a
command such as the following.
Virtual ADX#show server manual-persist-assign-hash 10.1.1.33 http-vs 80 http-rs1
80
Hash bucket for Client IP 10.1.1.33 = 36
Server http-rs1 allocation to bucket 36 of specified virtual server for port 80
completed!
Syntax: show server manual-persist-assign-hash client-ip virtual-server-name virtual-port
real-server-name real-port
If you manually assign a real server for a hash table entry for which another real server is currently
assigned, the new real server will replace the old real server for the hash entry as follows.
Virtual ADX#show server manual-persist-assign-hash 10.1.1.33 http-vs 80 http-rs2
80
Hash bucket for Client IP 10.1.1.33 = 36
Replacing current server http-rs1 allocated for hash 36 with server http-rs2
Server http-rs2 allocation to bucket 36 of specified virtual server for port 80
completed!