Forum Discussion
9 Replies
Sort By
- The_Bhattman
Nimbostratus
Unfortunatly with v9.3.0 you can only get the of active members in a pool. - hooleylist
Cirrostratus
In addition to CB's good suggestion, depending on what you're trying to do you might be able to use LTM's default pool selection to accomplish it. If you provide more detail we might be able to provide another suggestion. - shan_83900
Nimbostratus
Thanks CB and Aaron!! - The_Bhattman
Nimbostratus
Is your goal for the irule to simply move the connection over to the next active member when a node is down? - shan_83900
Nimbostratus
Actually not only when a node is down, but, always if we get response code other than 2XX or 3XX. - The_Bhattman
Nimbostratus
Well if you are looking for a response other then 2xx ro 3xx the active_members function is not going to work because it's basing that off a health check. What you would need to probably is determine which server is throwing the status beyond 2xx or 3xx and simply choose another node to send the traffic to. - shan_83900
Nimbostratus
Yes!! that's what is the plan. - The_Bhattman
Nimbostratus
Keep in mind that that v9.3.x is a maintanence branch and v9.4.x is feature branch. The idea is that maintanence branches are more about stability then having releasing features. - hooleylist
Cirrostratus
You could use LB::down (Click here) to mark the current pool member (or node) down if it responds with a non-2xx or 3xx response and then reselect a new member. Keep in mind that you Would probably only want to consider marking the server down if it responds with a 5xx error. A 4xx level response indicates a client error--not a server error. So you could find yourself DOS'd if a search engine or malicious user simply requested objects which don't exist in your application.