Forum Discussion
Active standby selection of a server through Irule.
Hello Team, I need a help to configure F5 through Irule. The requirement is as below.
Server A listening on port 2700. Server B listening on port 2700
I need to configure F5 in such a way that all connection should always go to Server A. In case server A fails it should switch to server B.
a> F5 will monitor server A and send all connections to server A b> If server A fails it will send it to server B. c> Once the server A is back it should switch back to same server A from server B.
2 Replies
- amolari
Cirrostratus
why you need an iRule for that? Priority group activation will achieve it.
About priority-based member activationPriority-based member activation is a feature that allows you to categorize pool members into priority groups, so that pool members in higher priority groups accept traffic before pool members in lower priority groups. The priority-based member activation feature has two configuration settings:
Priority group activationFor the priority group activation setting, you specify the minimum number of members that must remain available in each priority group in order for traffic to remain confined to that group. The allowed value for this setting ranges from 0 to 65535. Setting this value to 0 disables the feature (equivalent to using the default value of Disabled). Priority group When you enable priority group activation, you also specify a priority group for each member when you add that member to the pool. Retaining the default priority group value of 0 for a pool member means that the pool member is in the lowest priority group and only receives traffic when all pool members in higher priority groups are unavailable.
If the number of available members assigned to the highest priority group drops below the number that you specify, the BIG-IP system distributes traffic to the next highest priority group, and so on.
- Deepakkhatoi_19
Nimbostratus
Thanks Amolari for your suggestion. I will configure the same and this should meet my requirement. Thanks for all your help :)
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