Im deploying loadbalancers on my Edge with a script and setting them as "enabled" in their loadbalancer configs, however they wont work until ive also enabled the loadbalancer slider in the Load Balancer Global Configuration. I can do this manually but I cant seem to find any information in the API manual on how to do it via this method. Im currently attempting the following call, which yields an error:
Anyone who can tell me if this is the way to set the global configs? Or how to do it via the API?
I presume you are talking about here right?
As per the API guide the correct syntax that you need is:
<enabled>true</enabled> inside <loadBalancer> properties.
However this is the same you pointed in the post:
Yes that is the one, and as you see im already setting that in my query unless im misunderstanding something, however its not working. Maybe the Global Load Balancer Configuration need to be set seperate from the Virtual Server somehow?
For instance I expected that I would have to set the Global Load Balancer Configurations like so, but there are no documentation on it as it only covers Global routing. Enabling loadbalancers is only mentioned in the Virtual Server objects, which im not sure is the right place to set a Global Config.