gc_33734
Jan 24, 2008Nimbostratus
Ratio load balancing syntax
I am not so sure this is an "advanced" question, but I was unable to find this answered specifically enough anywhere else.
I am using an f5
version: BIG-IP 9.4.3 Build 1.4 Final
I am in a situation where I need to use the console/command line interface to configure my load balancer. I have a user that wants a pool set up with 2 devices, load balanced with a weighted ratio of 75%-25%. I need to know the syntax for creating a pool with 2 members, one which will receive 75% of incoming connections, with the other member receiving 25%. Here is what I used to configure the BIGIP the way it is right now:
node 10.10.145.10 {
ratio 75
}
node 10.10.145.11 {
ratio 25
}
pool TestPool_10049 {
lb method member ratio
member 10.10.145.10:10049 ratio 75
member 10.10.145.11:10049 ratio 25
}
virtual TestPool_10049 {
destination 10.193.64.222:10049
pool TestPool_10049
}
If I am in the console/command line interface and I do a "show" on this pool I get:
POOL TestPool_10049 LB METHOD member ratio MIN/CUR ACTIVE MEMBERS: 0/0
| conns (cur, max, limit, tot) = (0, 2, 0, 10)
| (pkts,bits) in = (55, 28320), out = (50, 29040)
+-> POOL MEMBER TestPool_10049/10.10.145.10:10049 ACTIVE,UNCHECKED SESSIONS ENABLED
| | priority 1 ratio 75 dynamic ratio 1
| | conns (cur, max, limit, tot) = (0, 1, 0, 5)
| | (pkts,bits) in = (28, 14416), out = (25, 14520)
| | requests (total) = 5
+-> POOL MEMBER TestPool_10049/10.10.145.11:10049 ACTIVE,UNCHECKED SESSIONS ENABLED
| priority 1 ratio 25 dynamic ratio 1
| conns (cur, max, limit, tot) = (0, 1, 0, 5)
| (pkts,bits) in = (27, 13904), out = (25, 14520)
| requests (total) = 5
So I must be doing something wrong, since the connections are being sent 50/50 to each member of the pool. Please help me out, and remember that I only have the console/command line interface right now.
Thanks