Manual Chapter : Configuring the BIG-IP System to Auto-Populate Pools

Applies To:

Show Versions Show Versions

BIG-IP LTM

  • 12.1.6, 12.1.5, 12.1.4, 12.1.3, 12.1.2, 12.1.1, 12.1.0
Manual Chapter

Configuring the BIG-IP System to Auto-Populate Pools

Overview: Using host names to identify pool members and nodes

You create nodes on the BIG-IP® system to represent the backend servers on your network. In turn, you create pool members to represent the backend servers on your network when you create a pool and want to load balance traffic to multiple backend servers.

You can configure a BIG-IP system with nodes and pool members that are identified with fully-qualified domain names (FQDNs). When you configure pool members with FQDN, addresses will dynamically follow DNS changes. Fully dynamic DNS-managed pools may even be created. In the following illustration, the BIG-IP Local Traffic Manager™ creates an ephemeral pool member for each IP address returned in the DNS response.

BIG-IP system auto-populating a pool and routing traffic to the pool members

This next illustration shows another option. With this configuration, the system sends a DNS query for the FQDN, and then creates only one ephemeral node or pool member using the first IP address returned in the DNS response. An advantage to this configuration is that you can change the IP addresses of the backend servers that host the domain without reconfiguring the BIG-IP system. However, if your DNS servers are configured to round robin DNS responses, this feature is not recommended.

BIG-IP system routing traffic to a node identified by a host name

About modes of failure and related nodes or pool members

If a node or pool member that is identified by a fully-qualified domain name (FQDN) is down for a specified amount of time, the BIG-IP® system marks the node or pool member down. Failure to resolve a FQDN will not cause the marking down of nodes or pool members currently in service. While the status of the FQDN node or pool member for DNS is reflected in the status of the FQDN node, since the FQDN node or pool member does not itself monitor any servers, its status does not contribute to the status of the pool in any way.

Failure of a monitored ephemeral to respond to monitor probes results in the marking down of a specific node. Niether the FQDN or any of the related ephemeals are directly affected. Because ephemeral objects monitor servers, the status of the epemeral node or pool member affects the pool status in the same way as any other pool member or node.

Task summary

Perform these tasks to configure the BIG-IP® system to auto-populate pools.

Creating a default gateway pool

Create a default gateway pool for the system to use to forward traffic.
  1. On the Main tab, click Local Traffic > Pools .
    The Pool List screen opens.
  2. Click Create.
    The New Pool screen opens.
  3. In the Name field, type a unique name for the pool.
  4. For the Health Monitors setting, from the Available list, select the gateway_icmp monitor and move the monitor to the Active list.
  5. Using the New Members setting, add each router that you want to include in the default gateway pool:
    1. Type the IP address of a router in the Address field.
    2. Type an asterisk (*) in the Service Port field, or select *All Services from the list.
    3. Click Add.
  6. Click Finished.

Configuring the BIG-IP system to handle DNS lookups

Configure how the BIG-IP® system handles DNS lookups when you want to use fully-qualified domain names (FQDNs) to identify nodes and pool members.
  1. On the Main tab, click System > Configuration > Device > DNS .
    The DNS Device configuration screen opens.
  2. In the DNS Lookup Server List area, in the Address field, type the IP address of the DNS server(s) you want to add.
    The system uses these DNS servers to validate DNS lookups and resolve host names. Then, click Add.
    Note: If you did not disable DHCP before the first boot of the system, and if the DHCP server provides the information about your local DNS servers, then this field is automatically populated.
  3. Click Update.

Creating nodes using host names

Determine the fully-qualified domain name (FQDN) that you want to use to identify a node.
You can create nodes identified by FQDNs and then create a pool and add pool members from a list of nodes.
  1. On the Main tab, expand Local Traffic, and click Nodes.
    The Node List screen opens.
  2. Click the Create button.
    The New Node screen opens.
  3. In the Name field, type a descriptive label for the node.
    Names are case-sensitive.
  4. For the Address setting, select FQDN, and then type the host name in the field.
  5. In the Configuration area, from the Health Monitors list, select the way that you want the system to apply monitors to the node.
    The default setting is Node Default.
    Option Description
    Node Default Specifies that the system uses the defined default monitors for nodes. The default monitors are defined on the Default Monitors screen of the BIG-IP Configuration utility.
    Node Specific Specifies that the system monitors this node with the monitors that you configure in the Select Monitors setting.
    Note: When you select the Node Specific option, the screen refreshes to display the Select Monitors setting.
    None Specifies that the system does not monitor this node.
  6. In the Ratio field, type a number for the ratio weight of the node.
  7. In the Connection Limit field, type a number for the maximum established connection limit for the node.
  8. In the Connection Rate Limit field, type a number that specifies the number of new connections accepted per second for the node.
  9. From the Address Type list, select whether the node resolves to an IPv4 or IPv6 address. The default is IPv4.
  10. From the Auto Populate list, select Enabled. The options are:
    Option Description
    Enabled The system automatically creates ephemeral nodes using the IP addresses returned by the resolution of a DNS query for the FQDN, that is, for each DNS entry of the resolved FQDN.
    Disabled The system automatically creates a node that corresponds to the IP address of only the first DNS entry of the resolved FQDN.
  11. In the Interval field, type the number of seconds before the system creates new ephemeral nodes or deletes expired ephemeral nodes based on the IP addresses returned in response to a DNS query for the FQDN of the node. The default is the TTL of the IP address in the DNS response.
  12. In the Down Interval field, type the number of seconds the system waits to mark an FQDN node down following a DNS query failure.
  13. Click Finished.
    The screen refreshes, and the new node appears in the node list.

Creating a pool using host names

Before creating a pool, determine the servers that you want to add to the pool using a fully-qualified domain name (FQDN).

Ensure that your DNS servers are not configured for round robin DNS resolutions; instead, ensure that your DNS servers return all available IP addresses in a DNS resolution.

When you want the BIG-IP® system to automatically update pool members as you make changes to the IP addresses of servers in your network, you can create a pool of servers that are identified by FQDNs.
  1. On the Main tab, click Local Traffic > Pools .
    The Pool List screen opens.
  2. Click Create.
    The New Pool screen opens.
  3. In the Name field, type a unique name for the pool.
  4. For the Health Monitors setting, from the Available list, select a monitor and move the monitor to the Active list.
    Note: A pool containing nodes represented by FQDNs cannot be monitored by inband or sasp monitors.
  5. From the Load Balancing Method list, select how the system distributes traffic to members of this pool.
    The default is Round Robin.
  6. In the New Members setting, add at least one node with a static IP address. This node serves as a fallback if a DNS query returns no records for the nodes identified by FQDNs.
    1. Select Node List.
    2. From the Address list, select a node identified by a static IP address.
    3. From the Service Port list, make a selection.
    4. Click Add.
  7. In the New Members setting, add the members that you want to include in the pool using FQDNs.
    1. Select FQDN Node List.
    2. From the Address list, select a node identified by an FQDN.
    3. Make a selection from the Service Port list.
  8. In the New Members setting, select Enabled. The options are:
    Option Description
    Enabled The system generates an ephemeral node for each IP address returned in response to a DNS query for the FQDN of the node. Additionally, when a DNS response indicates the IP address of an ephemeral node no longer exists, the system deletes the ephemeral node.
    Disabled The system selects the first address and generates an ephemeral for that address.
  9. Click Add.
  10. Repeat steps 7-9 to add additional members to the pool.
  11. Click Finished.
    The screen refreshes, and you see the new pool in the Pool list.

About modifying nodes and pool members identified by host names

When you change the configuration of a fully-qualified domain name (FQDN) pool member or node, any ephemeral pool members or nodes that the BIG-IP® system created based on the IP addresses returned in a DNS response for that FQDN are automatically modified, as well. For example, if you change the monitor on an FQDN node, the system automatically changes the monitor assigned to the ephemeral nodes associated with that node.

When you want to modify an FQDN pool member or node, but you want persistent and active connections to be completed before the BIG-IP system marks the pool member or node as down, disable the pool member or node first, and then make modifications.

Task summary

Disabling a node

Determine the node that you want to disable.

You can disable a node when you want to make changes to your network, but you want persistent and active connections to be completed before the BIG-IP® system marks the node as down.
  1. On the Main tab, click Local Traffic > Nodes .
    The Node List screen opens.
  2. In the Name column, click a node name.
  3. In the State area, click Disabled (Only persistent or active connections allowed).
    Note: You can only disable the parent FQDN node or pool member. After disabling, the ephemeral dependents are then disabled, but you cannot directly disable an ephemeral node.
  4. Click Update.
    The screen refreshes, and the status in the Availability area changes.

Disabling a pool member

Determine the pool member that you want to disable. You can only disable a parent fully-qualified domain name (FQDN) node or pool member. The ephemeral dependents are then disabled. You cannot directly disable the ephemerals.

Disable a pool member when you want to make changes to your network, but you want persistent and active connections to be completed before the BIG-IP® system marks the pool member as down.
  1. On the Main tab, click Local Traffic > Pools .
    The Pool List screen opens.
  2. Click a pool name in the Pool List.
  3. On the menu bar, click Members.
  4. In the Member list, select the relevant pool member.
  5. In the State area, click Disabled (Only persistent or active connections allowed).
  6. Click Update.
    The screen refreshes, and the status in the Availability area changes.

About pool member and node statistics

You can view statistics about pool members and nodes identified by host names.

Task summary

Viewing statistics for a specific node

Ensure that at least one LTM® node exists on the BIG-IP® system.
You can view statistics for an LTM node when you want to analyze BIG-IP system traffic.
  1. On the Main tab, click Statistics > Module Statistics > Local Traffic .
    The Local Traffic statistics screen opens.
  2. From the Statistics Type list, select Nodes.
    Information displays about the node.

Viewing statistics for ephemeral pool members

Ensure that at least one LTM® node exists on the BIG-IP® system.
When you want to analyze how the BIG-IP system is handling traffic, you can view statistics for pools and pool members, including the ephemeral pools created when the pool member is identified by a fully-qualified domain name (FQDN) and Auto Populate is enabled for the pool member.
  1. On the Main tab, click Statistics > Module Statistics > Local Traffic .
    The Local Traffic statistics screen opens.
  2. From the Statistics Type list, select Pools.
    Information displays about the pools configured on the BIG-IP system. The ephemeral pool members are shown indented below their parent pool member and with two dashes preceding the pool member name.