Forum Discussion
Move active connection from one node to another is same pool
Hi,
I'm hoping someone can help, or clarify if this is possible or not.
Is it possible to move an active connection from one active node to another active node in the same pool? I know you can delete a connection using tmsh delete /sys connection, but this doesn't allow you to target the node you want to move the connection too.
Or could an iRule be created that allows the users themselves to be able to move their connection?
Thanks in advance for any help.
- ldesfosses
Cirrus
On what criteria do you want to move to another active node ? URI ?
you have an example with iRule here :
https://devcentral.f5.com/s/articles/irules-101-05-selecting-pools-pool-members-and-nodes
when HTTP_REQUEST { if { [HTTP::uri] starts_with "/admin" } { node 10.1.1.200 8080 } }
Thanks for replying. The issue is that we have had to quickly ramp up our homeworking provision, which is causing us an issue when trying to remotely manage the users devices. The user needs to be connected to a specific node for us to be able to remote on to them for support. Currently I am having to find out their broadband IP address, and then disable all other nodes before I delete the connection to force it to connect to the only active node to allow management.
I was hoping there was a tmsh command to just move the connection directly to the required node, or some kind of iRule that could help with this?
- ldesfosses
Cirrus
If you have the source IP of your user, you can do something like that :
when HTTP_REQUEST { if { [IP::addr [IP::client_addr] equals 10.10.10.10] } { node youserver } }
Recent Discussions
Related Content
* 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