priority-group
5 Topicspriority groups and priority group activation
Hi, newbie here. I have a VS setup with 1 pool, that has 4 members. 2 members are set in a priority group with no.10, the other 2 in priority group with no.5. Priority group activation is set to Less than 1 available member. So, the requirement now is, when either of the members fail in PG10, traffic needs to go to PG5, regardless if the other member in PG10 is available. So essentially traffic gets failed over and stays there. And the same scenario for when PG5 loses a member. Traffic needs to go back to PG10 and stay there. Question is, can this be done? And are priority groups and PG activation the way to go for this? Is there an iRule that can facilitate this better? Thanks in advance for any responses, hope the explanation was clear enough.Solved500Views0likes2CommentsLoad balance to lower priority group member with iRule
Hello, I have following scenario: 4 pool members - 3 of them with priority 2 and 1 with priority 1. I want all traffic to go to higher priority group and with an iRule, I want to forward traffic from one specific source IP to lower priority group member. As I cannot this test in advance I'd like to ask if it will work before I'll start with implementation . iRule would be: when CLIENT_ACCEPTED { if { [LB::status pool $poolname member $ip $port] eq "up"} { if { [IP::addr [IP::client_addr] equals 192.168.1.1] } { pool $poolname member $ip $port } } } that should work fine my only concern is if F5 won't have problem to send the traffic to lower priority group member when there are available members in higher priority group. ThanksSolved460Views0likes4CommentsPriority Group Activiation all or nothing?
Quick question. If I have two priority groups with two servers each, and I have the activation of the lower priority priority group if less than 2 available. So we have this serverA and serverB are PrioirtyGroup 10, serverY and ServerZ are PriorityGroup 5. Scenario: Let's say serverA goes offline, thereby activating PriorityGroup 5. My question is, I know serverY and serverZ are activated now, however is serverB still active as well? serverB, serverY, and serverZ are active in the pool? Sorry for the confusion, but just want some clarification.Solved442Views0likes4CommentsCreating and managing priority groups with iControl
I am attempting to configure a special load balancing strategy that will be based on priority groups. Essentially I want my pool of n-nodes to have 2 priority groups (PGs): blue and green. Each PG has n/2 pool members in it (hence if the pool has 10 nodes, 5 are in the "blue" PG and 5 are in the "green" PG). At any given time, one of the two PGs will have a higher priority (blue or green). I simply want the PG with the higher priority to be served traffic (and, within the PG, all nodes being round robined). Hence, if the blue PG has a priority value of, say, 4, and green's value is 2, then F5 should only serve traffic to the blue PG nodes, and should round robin within that PG. If the priorities/values for the PGs are swapped, and now green's value is 4 and blue's value is 2, now only the green nodes are served traffic, and in round robin fashion. Etc. To do this I need to: Programmatically create the blue/green PGs in the first place Programmatically set the priorities of each PG (say, initialize blue to 4 and green to 2) Programmatically get the priorities of each PG I found this article which I believe helps me accomplish the last two items (except I do have a question about it), but am still at a loss as to how to programmatically create PGs and assign nodes to them. So I ask: * What iControl API methods do I engage to create PGs and assign nodes to them? * If LocalLBPool.set_member_priority is what I need to set PG priorities, I'm confused about the args I should be passing into it. I would have expected the argument to take the name of the PG to set the priority for. Instead it takes a list of pool names, and respective nodes and priorities to set within those pools. This leads me to believe that PGs are more of a UI construct (in the F5 web app), and that the iControl API just sets priorities individually. Any thoughts/ideas about my questions?199Views0likes0CommentsQuestion on Priority Group Activation
Hi, I want to make my virtual server with 9 pool member automatically disabled when four of its pool member are down. Can I achieve this with below settings : 1. Put all the pool members to the same priority group for example 5 2. Under Priority Group Activation, I would select 6 viz., traffic should be processed by the pool members of group 5 till the pool have 6 minimum active members failing which the group shall not process the traffic. Now, as all the pool members belong to same priority group 5 and when PGA conditions fails would the virtual server would be down as there are no more pool members to accept the traffic ?? Please provide your inputs. Thanks, MSK198Views0likes1Comment