Forum Discussion
Flipping Clusters for a Virtual Server
- A virtual Server xyz.xyz.com (1.1.1.1) has a pool of 4 members of which 2 should be active at one time. How can I automate the switch-over or the flipping of the active/inactive members?
Manually, I can go to Local Traffic ›› Pools : Pool List ›› and under the members tab I can enable or disable specific members. But doing this to 20-40 different pools will be a pain. Therefore I'm hoping I can automate this process.
With our current "old" Cisco CSS 11501, we run a script command with the CSS which enables the suspended pair and disables the currently active pair of IPs with no service interruptions.
Can anyone help me out?
Regards,
Sev
1 Reply
- hoolio
Cirrostratus
Hi Sev,
You've included the hostname of your BIG-IP in the quote "Local Traffic ›› Pools : Pool List ››". You might want to edit your post to change that to text instead of a URL.
You can create two separate pools of servers and then use the active_members command to select a pool:when CLIENT_ACCEPTED { if {[active_members primary_pool]}{ Use the primary pool pool primary_pool } elseif {[active_members secondary_pool]}{ pool secondary_pool } else { Take some default action? } }
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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