Forum Discussion
Manikanta
Nimbostratus
Jun 19, 2019VIP monitoring multiple Pools
Our application is having a specific requirement where based on the URI we route the request between multiple Pools using an irule. The problem we are having is on health check part, where cur...
JG
Cumulonimbus
Jun 20, 2019A very basic example:
when HTTP_REQUEST {
if { [ active_members pool_1 ] < 1 or [ active_members pool_2 ] < 1 or [ active_members pool_3 ] < 1 } {
HTTP::respond 503 content {
<html>
<head>
<title>Service Error</title>
</head>
<body>
<font color="red">We are sorry, but the site you are trying to access is currently unavailable.<p>
</body>
</html>
} "Content-Type" "text/html"
}
}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