
Pools
BIG-IP® Reference Guide 4-9
To switch a pool to ratio_member mode from the
command line
To switch a pool to ratio_member load balancing, use the modify keyword
with the bigpipe pool command. For example, if you want to change the
pool my_pool, to use the ratio_member load balancing mode and to assign
each member its ratio weight, you can type the following command:
b pool my_pool modify { lb_method ratio_member member 11.12.1.101:80 ratio 1 member
11.12.1.100:80 ratio 3}
Setting ratio weights for node addresses
The default ratio setting for any node address is 1. If you use the Ratio (as
opposed to Ratio Member) load balancing mode, you must set a ratio other
than 1 for at least one node address in the configuration. If you do not
change at least one ratio setting, the load balancing mode has the same effect
as the Round Robin load balancing mode.
To set ratio weights using the Configuration utility
1. In the navigation pane, click Nodes.
2. In the Nodes list, click the Node Addresses tab.
The Node Addresses screen opens.
3. In the Node Addresses screen, click the Address of the node.
The Global Node Address screen opens.
4. In the Ratio box, type the ratio weight of your choice.
5. Click the Apply button to save your changes.
To set ratio weights from the command line
The bigpipe ratio command sets the ratio weight for one or more node
addresses:
b ratio <node_ip> [<node_ip>...] <ratio weight>
For example, the following command sets the ratio weight to 3 for a specific
node address:
b ratio 192.168.103.20 3
Note
The <weight> parameter must be a whole number, equal to or greater
than 1.
Displaying ratio weights for node addresses
To display the ratio weights for all node addresses
The following command displays the current ratio weight settings for all
node addresses.
Kommentare zu diesen Handbüchern