Forum Discussion
Move active connection from one node to another is same pool
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?
- ldesfossesApr 21, 2020
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 } }
- Nick_MatthewsApr 21, 2020
Cirrus
I forgot to say this is DirectAccess using IP-HTTPS
- Nick_MatthewsApr 21, 2020
Cirrus
Thanks, I will give this a try and hopefully it will work if the user is already connected to another node. Should probably use a Data Group to make it easier to manage multiple IPs?
- ldesfossesApr 22, 2020
Cirrus
I'm not sure to understand your issue tbh, I just pointed you a method to change a connection to another server in the pool.
But don't hesitate to give me more details if you think it can help.
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