Forum Discussion
David_G__33241
Nimbostratus
Aug 18, 2016APM for Global Remote Access
I need to load balance Edge Client sessions over multiple internet connections in two data centers. I am first using GTM to respond with the IP of a dedicated virtual in one of the data centers and ...
Stanislas_Piro2
Cumulonimbus
Aug 19, 2016Hi,
you do not need to create a dedicated VS but use the following irule on the APM virtual server:
when RULE_INIT {
set static::apm_local us-1.company.com
}
when HTTP_REQUEST {
if {[HTTP::host] equals vpn.company.com } {
HTTP::respond 302 Location "https://$static::apm_local[HTTP::uri]"
}
in this configuration, GTM will load balance to both datacenter, then the irule will redirect to the local URL.
another advice, your irule does not need
ACCESS::restrict_irule_events disable, and disabling irule restriction may cause different behavior. do not use this command if not necessary.
this command allow to raise events like HTTP_REQUEST even for APM URI :
- /my.policy
- /vdesk/*
- ...
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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