Forum Discussion

Andy_Litzinger's avatar
Dec 15, 2008

Can I use iControl to force disconnect of all tcp sessions on a pool member?

We are planning some simple HA for two databases, Node A and Node B (active/standby). When we take one DB node offline we'd like to be able to forcibly reset any active tcp connections that are connected to that node. This should at a minimum clear the connections off the bigIP. It would be nice to reset the connections on both the client and server side so we can be sure that neither side has any lingering connections.

 

 

A simple setup would be as follows:

 

Node A has PGA priority of 5

 

Node B has PGA priority of 1

 

No traffic should go to Node B while Node A is active. For example, Node B is either kept 'forced offline' state or PGA turned on with no monitors attached to the node or pool.

 

 

The steps for a manual connection failure to Node B would be as follows:

 

 

1) shut down DB service on Node A

 

2) put Node A into forced down mode (which only allows active connections)

 

3) force disconnect of any active connections to node A

 

4) bring up node B

 

 

I'd like to trigger this via iControl. Most steps seem pretty trivial except for step 3 - how to force the disconnect of any active tcp sessions that are connected to node A after node A has been disabled.

 

 

Our first go round is a manual failover soln. Once we've determined potential monitor points we may re-visit to automate failure via irule.

 

 

thanks!

 

andy

11 Replies