BIG-IP DNS Load Balancing
BIG-IP DNS Load Balancing
Version 12.0
Table of Contents
Table of Contents
Legal Notices..............................................................................................................................5
Legal notices......................................................................................................................5
3
Table of Contents
Preparing BIG-IP DNS for Static Persist Load Balancing for Transaction-Oriented
Traffic....................................................................................................................................37
About Static Persist load balancing..................................................................................37
About configuring BIG-IP DNS to provide Static Persist load balancing ..............37
Configuring CIDR options for Static Persist load balancing..................................37
4
Legal Notices
Legal notices
Publication Date
This document was published on February 8, 2016.
Publication Number
MAN-0593-00
Copyright
Copyright © 2015-2016, F5 Networks, Inc. All rights reserved.
F5 Networks, Inc. (F5) believes the information it furnishes to be accurate and reliable. However, F5 assumes
no responsibility for the use of this information, nor any infringement of patents or other rights of third
parties which may result from its use. No license is granted by implication or otherwise under any patent,
copyright, or other intellectual property right of F5 except as specifically described by applicable user
licenses. F5 reserves the right to change specifications at any time without notice.
Trademarks
AAM, Access Policy Manager, Advanced Client Authentication, Advanced Firewall Manager, Advanced
Routing, AFM, APM, Application Acceleration Manager, Application Security Manager, AskF5, ASM,
BIG-IP, BIG-IP EDGE GATEWAY, BIG-IQ, Cloud Extender, Cloud Manager, CloudFucious, Clustered
Multiprocessing, CMP, COHESION, Data Manager, DDoS Frontline, DDoS SWAT, Defense.Net, defense.net
[DESIGN], DevCentral, DevCentral [DESIGN], DNS Express, DSC, DSI, Edge Client, Edge Gateway,
Edge Mobile, Edge Mobility, Edge Portal, ELEVATE, EM, ENGAGE, Enterprise Manager, F5, F5
[DESIGN], F5 Agility, F5 Certified [DESIGN], F5 Networks, F5 SalesXchange [DESIGN], F5 Synthesis,
f5 Synthesis, F5 Synthesis [DESIGN], F5 TechXchange [DESIGN], Fast Application Proxy, Fast Cache,
FCINCO, Global Traffic Manager, GTM, GUARDIAN, iApps, IBR, iCall, iControl, iHealth, Intelligent
Browser Referencing, Intelligent Compression, IPv6 Gateway, iQuery, iRules, iRules OnDemand, iSession,
L7 Rate Shaping, LC, Link Controller, LineRate, LineRate Point, LineRate Precision, LineRate Systems
[DESIGN], Local Traffic Manager, LROS, LTM, Message Security Manager, MobileSafe, MSM,
OneConnect, Packet Velocity, PEM, Policy Enforcement Manager, Protocol Security Manager, PSM, Ready
Defense, Real Traffic Policy Builder, SalesXchange, ScaleN, SDAS (except in Japan), SDC, Signalling
Delivery Controller, Solutions for an application world, Software Designed Application Services, Silverline,
SSL Acceleration, SSL Everywhere, StrongBox, SuperVIP, SYN Check, SYNTHESIS, TCP Express, TDR,
TechXchange, TMOS, TotALL, TDR, TMOS, Traffic Management Operating System, Traffix, Traffix
[DESIGN], Transparent Data Reduction, UNITY, VAULT, vCMP, VE F5 [DESIGN], Versafe, Versafe
[DESIGN], VIPRION, Virtual Clustered Multiprocessing, WebSafe, and ZoneRunner, are trademarks or
service marks of F5 Networks, Inc., in the U.S. and other countries, and may not be used without F5's
express written consent.
All other product and company names herein may be trademarks of their respective owners.
Patents
This product may be protected by one or more patents indicated at: https://f5.com/about-us/policies/patents
Legal Notices
RF Interference Warning
This is a Class A product. In a domestic environment this product may cause radio interference, in which
case the user may be required to take adequate measures.
FCC Compliance
This equipment has been tested and found to comply with the limits for a Class A digital device pursuant
to Part 15 of FCC rules. These limits are designed to provide reasonable protection against harmful
interference when the equipment is operated in a commercial environment. This unit generates, uses, and
can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual,
may cause harmful interference to radio communications. Operation of this equipment in a residential area
is likely to cause harmful interference, in which case the user, at his own expense, will be required to take
whatever measures may be required to correct the interference.
Any modifications to this device, unless expressly approved by the manufacturer, can void the user's authority
to operate this equipment under part 15 of the FCC rules.
Standards Compliance
This product conforms to the IEC, European Union, ANSI/UL and Canadian CSA standards applicable to
Information Technology products at the time of manufacture.
6
About Global Server Load Balancing
8
BIG-IP® DNS: Load Balancing
9
About Global Server Load Balancing
10
BIG-IP® DNS: Load Balancing
Consider the fictional company SiteRequest. One of the servers, serverMain, at the Tokyo data center has
two virtual servers: vsContact, which points to the contacts page of the web site, and vsMail, which points
to the mail system. The vsMail virtual server is in the Dependency List of the vsContact virtual server. As
a result, BIG-IP DNS considers the vsContact virtual server available only if the vsMail virtual server is
also available.
Configuring virtual server availability to be dependent on the status of other virtual servers
Ensure that multiple virtual servers are configured on the server. Determine the virtual servers upon which
you want the availability of a virtual server to be dependent.
Configure a virtual server to be available based on the availability of other virtual servers by configuring a
Dependency List for the virtual server.
1. On the Main tab, click DNS > GSLB > Servers.
The Server List screen opens.
2. In the Server List, click a server name.
The server settings and values display.
3. On the menu bar, click Virtual Servers.
A list of the virtual servers configured on the server displays.
4. In the Virtual Servers list, click a virtual server name.
The virtual server settings and values display.
5. From the Configuration list, select Advanced.
Additional controls display on the screen.
6. In the Dependency List area, from the Virtual Servers list, select each virtual server on which you want
the virtual server to be dependent, and then click Add.
The virtual servers display in the list as you add them.
7. Click Finished.
11
About Global Server Load Balancing
The virtual server is now available only when the virtual servers on the dependency list are also available.
The Global Availability load balancing method instructs BIG-IP DNS to select the first pool in the wide IP
pool list until it becomes unavailable, and then to select the next pool in the list until the first pool becomes
available again. This ensures that the most robust pool receives DNS name resolution requests, while the
other pools act as backups in case the primary pool becomes unavailable.
Testing global server load balancing without verifying availability of virtual servers
You can configure BIG-IP DNS load balancing in a staging environment to load balance DNS name resolution
requests to virtual servers without verifying the availability of the virtual servers.
12
BIG-IP® DNS: Load Balancing
1. On the Main tab, click DNS > Settings > GSLB > Load Balancing.
The Load Balancing configuration screen opens.
2. Deselect the Verify Virtual Server Availability check box.
3. Click Update.
The Ratio load balancing method distributes DNS name resolution requests among the virtual servers in a
pool or among pools in a multiple pool configuration using weighted round robin, a load balancing pattern
in which requests are distributed among several resources based on a priority level or weight assigned to
each resource.
Using the Ratio method, you can configure BIG-IP® DNS to send twice as many connections to a fast, new
server, and half as many connections to an older, slower server.
About wide IPs and weighting pools for the Ratio load balancing method
When you configure a wide IP to use the Ratio load balancing method, BIG-IP®DNS load balances DNS
name resolution requests across the pools in the wide IP based on the weight assigned to each pool. BIG-IP
DNS uses pool weight as a percentage of the total of the weights of all the pools in the wide IP to determine
the frequency at which a pool receives connection requests.
Consider the fictional company SiteRequest, where the wide IP www.siterequest.com contains three
pools, with the following weight assignments:
• Pool 1: weight 50
• Pool 2: weight 25
• Pool 3: weight 25
Each time BIG-IP DNS selects this wide IP, it load balances DNS name resolution requests across all three
pools. Over time, the load balancing statistics for this wide IP appear as follows:
• Pool 1: selected 50 percent of the time
• Pool 2: selected 25 percent of the time
• Pool 3: selected 25 percent of the time
About pools and weighting pool members for the Ratio load balancing method
When you configure a pool to use the Ratio load balancing method, BIG-IP® DNS, formerly Global Traffic
Manager™ (GTM™), load balances requests across the pool members based on the weight assigned to each
pool member (virtual server). The system uses pool member weight as a percentage of the total of the
weights of all the members assigned to the pool to determine the frequency at which a pool member receives
connection requests.
Consider the fictional company SiteRequest, where the wide IP www.siterequest.com contains a pool
named poolMain. This pool contains three members, with the following weight assignments:
• Virtual Server 1: weight 50
13
About Global Server Load Balancing
The Round Robin load balancing method distributes DNS name resolution requests in a circular and sequential
pattern among the virtual servers in a pool. Over time, each virtual server receives an equal number of
connections.
14
BIG-IP® DNS: Load Balancing
Note: This method can be used only for distributing requests to pool members controlled by BIG-IP® Local
Traffic Manager™ (LTM™) systems.
Note: This method can be used only with servers for which BIG-IP DNS can collect the kilobytes per second
metric.
15
About Global Server Load Balancing
Use this method when you want to temporarily remove a pool from service or when you want to limit a
pool, in a single pool configuration, to only one or two request attempts.
16
BIG-IP® DNS: Load Balancing
Verifying the availability of virtual servers when using the fallback load balancing method
You can configure BIG-IP DNS to verify that a virtual server is up before returning the IP address of the
virtual server in a response to a DNS name resolution request. Do this when the preferred and alternate load
balancing methods assigned to a pool do not return a valid response and BIG-IP DNS begins to use the
configured fallback load balancing method.
1. On the Main tab, click DNS > Settings > GSLB > Load Balancing.
The Load Balancing configuration screen opens.
2. Select the Respect Fallback Dependency check box.
3. Click Update.
If the alternate load balancing method for a pool is None, BIG-IP DNS skips the alternate method and
immediately tries the fallback method. If the fallback method is None, and there are multiple pools configured,
BIG-IP DNS uses the next available pool. If all pools are unavailable, BIG-IP DNS returns an aggregate of
the IP addresses of all pool members using BIND. Alternatively, when the preferred method for all pools
is configured, but the alternate and fallback methods are set to None, if the preferred method fails, BIG-IP
DNS uses the next available pool.
The equation for calculating the overall Quality of Service (QoS) score is:
Pool members (virtual servers) inherit the QoS settings from the pool. In the equation, the value of
POOL_CONFIG->"setting name" can be found in the properties of a pool, the value of GLOBALS->"setting
name" in the global BIG-IP DNS setting, and the value of path->"setting name" These are measured values
that come from path metrics. If there are no path metrics, the system does not perform path metric calculations
17
About Global Server Load Balancing
and computes the QoS score using the other calculations. vs->"field" These are measured values that come
from measurements the system makes on virtual servers. If there are no measurements, the system does not
perform these calculations and computes the QoS score using the other calculations. Each QoS coefficient,
its scale, default value, upper limit, and whether a higher or lower value is more efficient are defined in the
table.
When you customize the QoS equation, consider these three concepts:
Scale
The raw metrics for the coefficients in the QoS equation are on different scales. For example, completion
rate is measured in percentages, while packet rate is measured in packets per second.
Normalization
BIG-IP DNS normalizes the raw metrics to values in the range of 0 - 10.
Emphasis
You can adjust coefficients to emphasize one normalized metric over another.
18
BIG-IP® DNS: Load Balancing
When you customize the QoS equation configuration using the values in the table, if the completion rates
for two virtual servers are close, the system chooses the virtual server with the best packet rate. If both the
completion rates and the packet rates are close, the round trip time (RTT) breaks the tie. In this example,
BIG-IP DNS does not use the metrics for topology, hops, link capacity, vs capacity, and kilobytes/second
to determine how to distribute connections.
Note: You can set a value for either RTT or hops. If you set both, BIG-IP DNS incorporates the RTT and
resets the hops to 0 (zero).
Coefficient Value
Round Trip Time 50
Hops 0
Topology 0
Completion Rate 5
Packet Rate 10
VS Capacity 0
Bits/second 35
Link Capacity 30
Virtual Server Score 10
Kilobytes/Second (KBPS) 3
Determine the pool to which you want to apply a customized QoS equation.
Customize the QoS equation to load balance the DNS name resolution requests the members of this pool
handle.
1. On the Main tab, click DNS > GSLB > Pools.
2. Click the name of the pool for which you want to modify the QoS equation.
The Pool Properties screen displays.
3. On the menu bar, click Members.
The Members Properties screen displays.
4. Select Quality of Service from either the Preferred or Fallback list.
The Quality of Service Weights area displays.
5. Define the QoS coefficients for this pool.
6. Click Update.
Consider a pool named primaryOne, which contains two virtual servers: memberOne and memberTwo.
primaryOne is configured with the Preferred load balancing method set to Round Trip Time. BIG-IP DNS
19
About Global Server Load Balancing
determines that the round trip time for memberOne is 50 microseconds and the round trip time for
memberTwo is 100 microseconds. When the Dynamic Ratio setting on the primaryOne pool is disabled,
BIG-IP DNS always sends DNS name resolution requests to memberOne, because that virtual server has
the lowest round trip time value. When the Dynamic Ratio setting on the primaryOne pool is enabled,
BIG-IP DNS treats the round trip time values as ratios and sends twice as many DNS name resolution
requests to memberOne as it sends to memberTwo, because the round trip time for memberOne is twice as
fast as the round trip time for memberTwo.
Determine the pool to which you want to apply the dynamic ratio feature.
Configure BIG-IP DNS to use dynamic load balancing values as ratios, and distribute DNS name resolution
requests to virtual servers in a pool in proportion to these ratios.
1. On the Main tab, click DNS > GSLB > Pools.
The Pools list screen opens.
2. Click the name of the pool that you want to modify.
3. From the Configuration list, select Advanced.
4. Select the Dynamic Ratio check box.
5. Click Update.
Using the preferred load balancing method when metrics are unavailable
Configure BIG-IP DNS to use the preferred load balancing method assigned to a pool even when metrics
for the pool are unavailable. BIG-IP DNS uses old metrics, rather than the alternate load balancing method
assigned to the pool.
1. On the Main tab, click DNS > Settings > GSLB > Load Balancing.
The Load Balancing configuration screen opens.
2. Select the Ignore Path TTL check box.
3. Click Update.
BIG-IP DNS uses path information gathered during metrics collection even if the time-to-live (TTL) value
of that information has expired.
20
BIG-IP® DNS: Load Balancing
After a virtual server in this pool goes offline, you must manually enable the virtual server before BIG-IP
DNS can resume sending requests to the virtual server.
The virtual server is now available to receive DNS name resolution requests.
How do I ensure that the BIG-IP® DNS (formerly GTM) has timely access to path and network
traffic metrics?
Run a big3d agent on at least one BIG-IP® system in each data center to ensure that the BIG-IP DNS has
timely access to path and network traffic metrics.
How do I ensure that BIG-IP DNS can gather information for dynamic load balancing?
If you use dynamic load balancing modes, you must run a big3d agent on every BIG-IP system in your
network.
21
About Global Server Load Balancing
Troubleshooting
If you turn off the big3d agent on a BIG-IP system, the BIG-IP DNS can no longer check the availability
of the server or its virtual servers. Therefore, the statistics screens display the status of these servers as
unknown.
22
Using Topology Load Balancing to Distribute DNS Requests
to Specific Resources
A region is a customized collection of topologies that defines a specific geographical location that has
meaning for your network. For example, you can create two custom regions named Region_east and
Region_west. Region_east includes the states on the east coast of the United States. Region_west includes
the states on the west coast of the United States Then, you can use those custom regions as the Request
Source or Destination of a topology record you create.
This table describes how the use of topology regions improves the load-balancing performance of the
BIG-IP® system.
Using Topology Load Balancing to Distribute DNS Requests to Specific Resources
Create regions to customize the Topology load balancing capabilities of the BIG-IP® system. For example,
you can create two regions to represent the data centers in your network: dc1_pools and dc2_pools.
Alternatively, you can create a region to which you can add IP subnets as you expand your network. Then,
when you create a topology record, you can use the custom regions as the Request Source or Destination
of the record.
1. On the Main tab, click DNS > GSLB > Topology > Regions.
2. Click Create.
The new record screen opens.
3. In the Name field, type a unique identifier for the region.
4. To add members to the region, do the following for each member you want to add to the region:
a) From the Member Type list, select a type of identifier.
b) Select an operator, either is or is not.
c) From the Continent list, select the continent that contains the locations in the region you are creating.
d) Click Add.
5. Click Create.
You can now create a topology record using the custom region you created.
When Longest Match is enabled, the BIG-IP® system sorts the topology records by the LDNS request source
statement, the destination statement, and the weight of the record.
The system first sorts the topology records by the type of LDNS request source statement using this order
from highest to lowest:
24
BIG-IP® DNS: Load Balancing
1. IP subnet in CIDR format (the system places the most specific IP subnet at the top of the list; for example,
10.15.1.1/32, 10.15.1.0/24, 10.15.0.0/16, 10.0.0.0/8)
2. Region
3. ISP
4. State
5. Country
6. Continent
7. LDNS Request Source negation (record that excludes an LDNS)
8. Wildcard records (the system sorts records that include a wildcard to the bottom of the list, because
these records are the least specific)
If the type of LDNS request source statement is the same in multiple topology records, the BIG-IP system
then sorts these records by the type of destination statement using this order from highest to lowest:
1. IP subnet in CIDR format (the system places the most specific IP subnet at the top of the list; for example,
10.15.1.1/32, 10.15.1.0/24, 10.15.0.0/16, 10.0.0.0/8)
2. Data center
3. Pool
4. Region (customized collection of criteria)
5. ISP
6. State
7. Country
8. Continent
9. Destination negation (record that excludes a destination)
10. Wildcard records (the system sorts records that include a wildcard to the bottom of the list, because
these records are the least specific)
If the type of LDNS request source statement is the same in multiple topology records and the type of
destination statement is the same in those records, the system then uses the value of the weight from lowest
to highest to sort the records.
The example shows a list of topology records sorted automatically using Longest Match. Note that the
fourth and fifth records have the same LDNS subnet and the destinations are both of type State. Therefore,
the weight determines the position in the list; thus, the record with the lower weight is first.
Determine the order in which you want the topology records you create to be sorted.
Change the sort order of the topology records when you do not want the system to use the Longest Match
sort order.
1. On the Main tab, click DNS > GSLB > Topology > Records.
2. Click the Change Order button.
3. Clear the Longest Match check box.
25
Using Topology Load Balancing to Distribute DNS Requests to Specific Resources
4. To change the order of the records in the Topology Record List, do the following:
a) From the list, select a topology record.
b) Click the Up or Down button to move the record to the preferred position in the list.
5. Click Update.
The BIG-IP system uses the customized Topology Record List for topology load balancing.
Important: The BIG-IP system saves only one set of ordered topology records; if you re-enable Longest
Match, your custom ordering will no longer be available.
The BIG-IP system uses Longest Match sorting to order the topology records in a list.
Tip: The BIG-IP system is more efficient when using regions for Topology load balancing.
26
BIG-IP® DNS: Load Balancing
Note: You cannot modify topology records; you can delete records and create new ones that meet your
needs.
Figure 1: Topology records for a wide IP configured for Topology load balancing
The first topology record directs all DNS name resolution requests from an LDNS in the IP subnet
11.1.0.0/16 to Pool1. The second topology record directs all DNS name resolution requests from an
LDNS in the IP subnet 10.1.0.0/16 to Pool2. The third topology record is a wildcard. It directs DNS
27
Using Topology Load Balancing to Distribute DNS Requests to Specific Resources
name resolution requests from an LDNS in any IP subnet to Pool3. However, it is important to note that
the weight of the third topology record is lower than the weights of the other topology records.
Figure 2: BIG-IP system load balancing DNS requests using a wide IP configured for Topology load
balancing
28
BIG-IP® DNS: Load Balancing
(Pool1); therefore, the BIG-IP system assigns a score of zero to Pool1. Pool2 matches the second topology
record in the list, because both the LDNS request source (10.1.0.1) and the Destination (Pool2) of the
DNS request match the second topology record; therefore, the BIG-IP system assigns a score of 100 to
Pool2. Pool3, matches the third topology record in the list, because both the LDNS request source
(10.1.0.1) and the Destination (Pool3) of the DNS request match the third topology record; therefore,
the BIG-IP system assigns a score of 10 to Pool3. The BIG-IP system directs the LDNS to send the
request to the pool with the highest score.
8. The LDNS sends the DNS request to Pool2 in the South America data center. How the system distributes
the DNS requests to the members of Pool2 is not shown in this illustration, but is based on the load
balancing method configured for Pool2.
9. A client in Chicago makes a DNS request.
10. LDNS 12.1.0.1 queries the BIG-IP system in the North America data center.
11. The BIG-IP system directs the LDNS to Pool3. To determine this answer, for each pool, one at a time,
the BIG-IP system iterates through the list of two topology records to find a match. For Pool1, there is
not a matching topology record that contains both the LDNS request source (12.1.0.1) and the Destination
(Pool1); therefore, the BIG-IP system assigns a score of zero to Pool1. For Pool2, there is not a matching
topology record that contains both the LDNS request source (12.1.0.1) and the Destination (Pool1);
therefore, the BIG-IP system assigns a score of zero to Pool2. Pool3, matches the third topology record
in the list, because both the LDNS request source (12.1.0.1) and the Destination (Pool3) of the DNS
request match the third topology record; therefore, the BIG-IP system assigns a score of 10 to Pool3.
The BIG-IP system directs the LDNS to send the request to the pool with the highest score.
12. The LDNS sends the DNS request to Pool3 in the North America data center. How the system distributes
the DNS requests to the members of Pool3 is not depicted in this illustration, but is based on the load
balancing method configured for Pool3.
Repeat this process for each wide IP that you want to configure for Topology load balancing.
29
Using Topology Load Balancing to Distribute DNS Requests to Specific Resources
Figure 3: Topology records for a pool configured for Topology load balancing
The first topology record directs all DNS name resolution requests from an LDNS in Bolivia to the South
America DC. The second topology record directs all DNS name resolution requests from an LDNS in Peru
to the South America DC. The third topology record directs all DNS name resolution requests from an
LDNS in the United States to the North America DC. The fourth topology record directs all DNS name
resolution requests from an LDNS in Canada to the North America DC.
30
BIG-IP® DNS: Load Balancing
31
Using Topology Load Balancing to Distribute DNS Requests to Specific Resources
topology record that contains both the LDNS request source (Bolivia) and the Destination (North America
DC); therefore, the BIG-IP system assigns a score of zero to each of those pool members. Pool members
11.10.10.1 - 11.10.10.3 each match the first topology record in the list, because both the LDNS request
source (Bolivia) and the Destination (South America DC) of the DNS request match the first topology
record; therefore, the BIG-IP system assigns a score of 10 to each of those pool members. The BIG-IP
system directs the LDNS to send the request to the pool member with the highest score.
8. The LDNS sends the DNS request to a pool member in the South America DC. Because all of the pool
members in the South America DC have the same score, the system distributes the DNS requests to the
pool members in a round robin fashion.
Repeat this process for each pool that you want to configure for Topology load balancing.
About Topology load balancing for both wide IPs and pools
You can configure a wide IP for Topology load balancing. You can also configure each pool in the wide
IP for Topology load balancing. When you configure both a wide IP and the pools in the wide IP for Topology
load balancing, the BIG-IP® system uses topology records to load balance DNS name resolution requests
first to a pool in the wide IP, and then, to a member of the pool.
Note:
When configuring both the wide IP and the pools in the wide IP for Topology load balancing, it is important
to set the Fallback load balancing method for each pool to None. If you do not, DNS can send a DNS
request to a pool in the wide IP even when no pool members are available. In this case, the load balancing
algorithm for the pool would then fall back to BIND (static DNS). When you set the Fallback load balancing
method for each pool to None, if no members of a pool are available, BIG-IP DNS sends the DNS request
to another pool in the wide IP.
32
BIG-IP® DNS: Load Balancing
About Topology load balancing for CNAME wide IPs and pools
For a CNAME query against a CNAME wide IP with a CNAME pool, you can use Topology load balancing
at the wide IP level to make a pool selection, given that matching topology entries are configured to specify
a CNAME pool on the wide IP. However, when using Topology load balancing at the pool level to make
pool member selections, the BIG-IP® system relies on a metrics pull-up to get the topology scores needed
to pick a pool member because the pool members are non-terminal.
If the pool members are terminal members (for example, on an A or AAAA type pool), then you can use
them to match against the topology entries and get scores. But Topology load balancing cannot be used to
get scores for non-terminal members without doing a metrics pull-up because there is no way to specify a
wide IP or DNS name in a given topology entry. Therefore, for a CNAME query against a CNAME wide
IP with a CNAME pool, you can use Topology load balancing to pick a pool at the wide IP level, but it will
not be used (even if configured) at the pool level to pick a pool member because the BIG-IP system will
not perform a metrics pull-up.
Note: If you require geolocation data at the city-level, contact your F5® Networks sales representative to
purchase additional database files.
33
Using Topology Load Balancing to Distribute DNS Requests to Specific Resources
7. In the Ready to Download table, click the download method that you want to use.
8. In the dialog box, click OK.
9. Select the directory in which you want to save the compressed file, and then decompress the file to save
the RPM files on the system.
10. To install and load one of the RPM files, run this command (the path and file name are case-sensitive):
geoip_update_data -f </path to RPM file and file name >.
The system installs and loads the specified database file.
11. Repeat step 10 for each of the RPM files that you saved to the system in step 9.
You can access the ISP and organization-level geolocation data for IPv4 addresses only using the iRules®
whereis command.
geoip-data-ISP-1.0.0-20110203.61.0
geoip-data-Region2-1.0.0-20110203.61.0
geoip-data-Org-1.0.0-20110203.61.0
2. To uninstall the RPMs, run this command for each RPM in the list:
rpm -e --dbpath /shared/lib/rpm/ <name of file>
For example, to uninstall geoip-data-ISP-1.0.0-20110203.61.0, run this command: rpm -e
--dbpath /shared/lib/rpm/ geoip-data-ISP-1.0.0-20110203.61.0
34
BIG-IP® DNS: Load Balancing
geoip-data-ISP-1.0.0-20110203.61.0
geoip-data-Region2-1.0.0-20110203.61.0
geoip-data-Org-1.0.0-20110203.61.0
2. To uninstall the RPMs, for each RPM in the list, run this command:
rpm -e --dbpath /shared/lib/rpm/ <name of file>
For example, to uninstall geoip-data-ISP-1.0.0-20110203.61.0, run this command: rpm -e
--dbpath /shared/lib/rpm/ geoip-data-ISP-1.0.0-20110203.61.0
4. Log on to tmsh.
5. Run this command:
load / sys geoip
The system reloads the default geolocation database files that are stored in /usr/share/GeoIP.
35
Preparing BIG-IP DNS for Static Persist Load Balancing for
Transaction-Oriented Traffic
You can now configure a pool for Static Persist load balancing.
Index
Index
B K
BIG-IP DNS Kilobyte/Second load balancing method, about 15
about 7
introducing 7
L
C Least Connections load balancing method, about 15
limit settings, defined 12
CIDR load balancing
configuring for Static Persist load balancing 37 about pool-level 14
CNAME pools about Topology 23
and Topology load balancing 33 about wide IPs and pool order 12
CNAME wide IPs and limit settings 12
and Topology load balancing 33 and resource availability 11
Completion Rate load balancing method, about 16 and sort order of topology records 24
CPU load balancing method, about 16 and virtual server dependency 11
using tiered 7
using wide IP-level 7
D load balancing methods
database about Static Persist 37
installing geolocation 33 about Topology 23
dependencies, and virtual server status 11 and dynamic ratio 20
Drop Packet load balancing method, about 14 Completion Rate 16
dynamic load balancing methods 9 CPU 16
dynamic ratio load balancing 20 customizing QoS 19
Dynamic Ratio setting, about 19 Drop Packet 14
dynamic 9
Fallback IP 16
F Global Availability 12
Hops 16
Fallback IP load balancing method, about 16
Kilobyte/Second 15
fallback load balancing method, and verifying virtual server
Least Connections 15
availability 17
None 17
Packet Rate 15
G QoS 17
Ratio 13
geolocation data Return to DNS 16
about 33 Round Robin 14
and topology records 33 Round Trip Times 15
downloading and installing updates 33 static 7
reloading default data 34 Static Persist 16, 37
reloading default data using tmsh 34 understanding QoS equation 17
Global Availability load balancing method, about 12 Virtual Server Capacity 15
global server load balancing, and virtual server dependency Virtual Server Score 15
11 Longest Match sorting
and topology records 24
H disabling 25
enabling 26
Hops load balancing method, about 16
M
I
manual resume feature
IP geolocation data and pools 20
and topology records 33 and virtual servers 21
downloading and installing updates 33
39
Index
N T
None load balancing method, about 17 tiered load balancing 7
tmsh, and reloading default geolocation data 34
Topology load balancing
P about 23
Packet Rate load balancing method, about 15 and an example for pools 30
pool-level load balancing, about 14 and an example for wide IPs 27
pools and Longest Match sorting of records 24
and example Topology load balancing configuration 30 and pools 32
and pool member weighting 13 and regions 23
and the manual resume feature 20 and wide IPs 27, 29
and Topology load balancing 32 Topology load balancingand creating regions 24
and Topology load balancing method 30 Topology load balancing method 23
organizing within wide IPs 12 topology records
restoring availability manually 20 about 23
weighting in wide IPs 13 and IP geolocation data 33
preferred load balancing method, using when pool metrics are and Longest Match sorting 24
unavailable 20 changing sort order 25
configuring Longest Match sort order 26
creating 26
Q deleting 27
QoS equation
19 U
about customizing 18
understanding 17 user-defined regions
QoS method about 23
about 17 creating for Topology load balancing 24
customizing equation 19
V
R verifying virtual server availability, and fallback load balancing
Ratio load balancing method method 17
about 13 virtual server availability, verifying 17
and pool member weighting 13 Virtual Server Capacity load balancing method, about 15
and pool weighting in wide IPs 13 virtual server dependency, and load balancing 11
regions virtual servers
and Topology load balancing 23 and configuring dependencies 11
creating for Topology load balancing 24 and weighting of pool members 13
resource availability, and load balancing 11 restoring availability manually 21
Return to DNS load balancing method, about 16 Virtual Server Score load balancing method, about 15
Round Robin load balancing method, about 14
Round Trip Times load balancing method, about 15 W
wide IP-level load balancing 7
S wide IPs
static load balancing methods 7 and example Topology load balancing configuration 27
Static Persist load balancing and pool order 12
and configuring CIDR options 37 and pool weighting 13
Static Persist load balancing method and Topology load balancing 27, 32
37
about 16, 37
40