Forum Discussion
juergen_lampar1
Nimbostratus
Jun 24, 2014dynamic loadbalancing using value from node
hi,
can i dynamic loadbalaning with values from the node´s application?
the application writes a score from 1 to 10 in a file.
can the LTM this score in a table writing and the node with the best sco...
juergen_lampar1
Nimbostratus
Jul 03, 2014hi, with Version 10.2.4:
!/bin/bash define pool namepool="local-pool";
define pool member listener portport=80;
arr=($(tmsh list ltm pool $pool |grep "local ip range" | cut -d : -f1 ));
for x in "${arr[@]}" do score=
curl -fNs http://$x/score.php;
tmsh modify ltm pool $pool members modify { $x:$port { ratio $score } };
done
but can i Trigger the script via external montior?
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