Forum Discussion
Mike_Maher
Nimbostratus
Jul 02, 2010Switching Classes on ASM based on pool availability
I have an ASM with no LTM license, currently it is setup that traffic comes into the VS and is sent to a class based on Host, then run through ASM policy and sent to a pool which contains a node for a...
Chris_Miller
Altostratus
Jul 02, 2010Your iRule should always take priority so I don't see a problem with having two classes (or none for that matter) attached to your VS. If you don't want to use a default pool, you should be able to specify the pool within the iRule as well.
Using what you have above:
when HTTP_REQUEST {
if { [active_members [LB::server pool]] } { < 1
HTTP::class select $anotherHttpClass
pool server pool }
else {
HTTP::class select $anotherHttpClass
pool another pool
}
}
Obviously spaces aren't compatible, but you get the idea.
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