Forum Discussion
Manuel_Gabaldon
Jun 16, 2008Nimbostratus
Hi,
1. Yes. The pool member must exist in the pool in order to be assigned
2. Sorry, I don't know about the statistics part, but you are correct in that the node command doesn't require a previous pool definition.
3. When assigning a pool to the connection, the LTM will load balance the request based on the load balancing policy that is configured in the pool. LB_SELECTED triggers just after the pool/node statement, so you can't reselect a pool/node after it. That just explains your 4th question.
4. "node 192.168.0.20 2" is the last valid statement in the iRule. I'm sure that "pool $default_pool member $a_member 3" fails because 192.168.0.20:3 is not specified as a pool member in default_pool.
The "node 192.168.0.20 8080" statement is not being used since you can't modify the pool after the LB_SELECTED event.
Maybe you can do a LB:reselect, i'll try and see if it works.
Regards.