Forum Discussion
Brian_Kinsey_10
Nimbostratus
Mar 28, 2007Forcing down a pool member on a GTM
We have GTMs at two sites; our main production site and a DR site. We also have LTMs at these sites. I have a requirement to send all traffic to the production site as long as it is available, and automatically fail all traffic over to the DR site if the production site is not available. The problem comes in when the production site comes back on line. We do not want traffic to automatically fail back to the production site from the DR site when the production site comes back on line. We want this to be manual so that we don't get traffic bouncing back and forth and so that we can ensure the production site is completely back before sending traffic back to it.
Is there a way to automatically force a pool member down on the GTM if the monitor (which checks to see if a page is returned from the VIP on the LTM) shows that it is unavailable?
I tried the following:
when CLIENT_ACCEPTED {
if { [LB::status pool test_pool member 10.10.10.10] eq down }{
set [LB::status pool test_pool member 10.10.10.10] session_disable
}
}
and got this error:
01070151:3: Rule [DisableDownMember] error:
line 1: [unknown event (CLIENT_ACCEPTED)] [when CLIENT_ACCEPTED {
if { [LB::status pool test_pool member 10.10.10.10] eq down }{
set [LB::status pool test_pool member 10.10.10.10] session_disable
}
}]
- Brian_Kinsey_10
Nimbostratus
This can also be done on the LTM and have the same effect. If a Monitor on the LTM marks down all of the pool members for a Virtual Server, is it possible to have the Virtual Server forced down so that I will have to go into the LTM and enable it when I am ready for traffic to start flowing back to that site? - Claret_Carvalho
Nimbostratus
Not sure about the GTM, but you may want to investigate the 'manual resume' functionality or feature. In essence, when enabled, should the server go down, it stays disabled and has to be manually re-enabled. - Deb_Allen_18Historic F5 AccountActually, you shouldn't need an iRule to accomplish any of your goals...
- Deb_Allen_18Historic F5 Account(Sorry, that last section didn't make sense as first written -- edited above for clarity.)
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