Forum Discussion
Can APM be configured with two proxy addresses
- Feb 22, 2023
When 2 proxy servers are configured, the APM will attempt to connect to the first proxy server in the list. If the first proxy server is unavailable or fails to connect, then only APM will attempt to connect to the second proxy server in the list.
- Feb 22, 2023
I think the two "expr" statements together will cause an error. This right-side of the custom expression expects a TCL statement, or TCL code that has a "return" line in it. If you want two address in there, you should use a single statement, such as:
return {'10.10.10.10:10443, 10.10.10.11:10443'}
The problem though, is that I don't think we can use multiple IPs here in the VMWare view proxy address. If you're trying to load balance between two proxy servers maybe you could do something like this so that half of the users get one and half get the other:
if {[clock seconds] % 2} { return "10.10.10.10:10443" } else { return "10.10.10.11:10443" }
I think the two "expr" statements together will cause an error. This right-side of the custom expression expects a TCL statement, or TCL code that has a "return" line in it. If you want two address in there, you should use a single statement, such as:
return {'10.10.10.10:10443, 10.10.10.11:10443'}
The problem though, is that I don't think we can use multiple IPs here in the VMWare view proxy address. If you're trying to load balance between two proxy servers maybe you could do something like this so that half of the users get one and half get the other:
if {[clock seconds] % 2} { return "10.10.10.10:10443" } else { return "10.10.10.11:10443" }
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