how to use iRule control traffic by http html content(GET result). Please give some advice.
Environment:
1. F5 LTM V10, Loadbalance for TOMCAT.
2.
Can get server's
performance
parameter
through url.
e.g.
We can get one number, from 1 to 100.
That's mean server's load percent.
This address can return a value: True or False.
That's mean the server should accept new connection or not.
Requirement and Question:
1. How to get html body value use iRule?
Which http:: command I should use?
2. we can use GET at http monitor, but just can enable or disable nodes.
Can we use monitor do more feature?
e.g.
If one node receive string( load percent) > 75
Then traffic -> other nodes
If one node receive string(acceptnewconnection) = false
Then traffic -> other nodes
I just iRule
fresher, please give me some advice or
example case.
thanks