Forum Discussion
ok make sense thanks.
however, can I add another http error code to the above IRULE example? e.g. If I want to monitor 2 http error codes i.e. 503 and 403? also can we not amend the IRULE to mark the VS down if all the nodes in a single pool are responding with error or not available? if so, can you show us an example please?
Many thanks for your help so far.
Regards,
You can only mark a VS down if the default pool assigned to the VS goes down.
This is why I suggested an iRule that sends a response if a pool used in the iRule is down. What you send back to GTM doesn't matter as long as the health monitor marks the VIP down.
When GTM sees that a pool is down, it will mark the whole VIP down. For that reason it makes sense to send the same response for each pool like I've already suggested.