Forum Discussion

Jim_24689's avatar
Jim_24689
Icon for Nimbostratus rankNimbostratus
Aug 24, 2010

Monitor 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's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    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