Forum Discussion
Frank_Mancini_3
Nimbostratus
Dec 22, 2006Pool failover from one to another.
I have a pool of 5 nodes that are my web servers and I have a pool of 3 nodes which are my gone fishing web servers when I'm out of town. I shut down my 5 web servers when I'm out of town and it goes to the secondary gone fishing pool.
I need help in writing the irule for this.
should I use a CLIENT_ACCEPTED or HTTP_REQUEST. What are the advantages of using either? especially since I'm using https in some cases.
when HTTP_REQUEST {
if { [active_members regular-site-pool] > 0 } {
log local0. "regular pool"
pool regular-site-pool
} else {
log local0. "gone fishin pool"
pool gone-fishing-pool
}
}
should this work? what are the affects if i use a peristence method in the irule with the pool? will it always stick with the pool even if all node members go down or will the irule kick in and go to the active_members that are up?
with ya:, franko
1 Reply
Sort By
- Mael_RIVOAL_641
Nimbostratus
You can also try that.
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