Forum Discussion
Ganesh_Balasubr
May 16, 2012Nimbostratus
LoadBalance between the 2 Virtual IP via 3rd Virtual IP
I'm new to LoadBalancer thing and trying to sort out a problem. We have users from 2 different region accessing application server. Say User from Region A will access server via VIP 10.223.9.x and use...
John_Alam_45640
May 16, 2012Historic F5 Account
You cannot use a virtual as a pool member on the same BigIP LTM. (though the GUI allows it)
Even if it did work, you would still have to have everyone change their DNS entries to point to the third virtual. I don't see the benefit.
If it is the backend pools you are concerned about, use an irule like this on one of the virtuals, and only have one region change.
when CLIENT_ACCEPTED { if { [IP::remote_addr] starts with "10" } { pool regionA_pool } else { pool regionA_pool } }
If you must LB between virtuals, then use something like this iRule on one of the virtuals:
use the "virtual" command: https://devcentral.f5.com/wiki/iRules.virtual.ashx
when CLIENT_ACCEPTED { if { [IP::remote_addr] starts with "10" } { virtual regionA_virt } else { virtual regionA_virt } }
HTH.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects