Forum Discussion
Jim_24689
Nimbostratus
Aug 24, 2010Monitor question
Hello,
We have several server pools configured in the following way:
server_pool_1
min active members 1
member dog:8080 priority 2
member cat:8080 priority 1
server_pool_2
min active members 1
member dog:7070 priority 2
member cat :7070 priority 1
server_pool_3
min active members 1
member dog:5700 priority 2
member cat :5700 priority 1
.
.
server_pool_30
The application team has requested that traffic should be directed to the cat server only if the dog server is completely unavailable . That is, nothing is running on dog.
It's an all or nothing event. Either the application and all its services are running on dog or on cat. I'm having trouble coming up with a monitor for this. I would appreciate any insight.
Thank you -Jim
2 Replies
- Hamish
Cirrocumulus
I can think of a couple of ways to approach this...
1. 3 really smart external monitors that saves their state in an external file. Then check the other two external files when they run. If one of the others is down, then save your (Correct state), and report down anyway.
2. Use an iRule to check the status of the other pools before dispatching... Dispatch to cat if any of the 3 dog poolmembers aren't available. Otherwise dispatch to dog.
H - Jim_24689
Nimbostratus
Thank you! I will give it a shot. -Jim
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