Post

F5 - GTM (Global Traffic Manager) DNS


F5 Global Traffic Manager (GTM) is a DNS-based load balancing solution that provides global server load balancing and traffic management across multiple data centers or multiple nodes to improve application availability and performance.


Here’s the current topology of my lab

01


F1 and F2 are linux servers serving web on port 80 (http)

02


The plan is to load balance the web request coming to these 2 servers using GTM (Global Traffic Manager) with DNS GSLB (Global Server Load Balancing). Let’s start!



Create DNS Listener on F5


The domain that i have on my lab is helena.gg, and here on F5 i will set it as a nameserver to handle all the DNS query requests for the delegated subdomain of lab.helena.gg


To set it up, go to DNS » Delivery » Listener, and create new

03

Give it a name and an IP Address



Create Datacenter


Next creata a Datacenter, because my topology only spans inside one datacenter, i’ll only create one.
To create, Go to GSLB » Data Centers » Data Center List

04



Create Server List


After that let’s create the server list, go to DNS » GSLB » Server Lists.

The first server list is named GTM, this list will contain all the IP Address of GTM’s external and internal interfaces

05


The second one is the list server containing the linux servers where the webs are hosted

06


And this is the server lists that i end up with

07



Create Server Pool


Next let’s create the server pool containing the linux web servers.
Go to GSLB » Pools » Pool Lists

08



Create Wide IP List


Lastly, create the Wide IP FQDN that will be hit by the DNS Server containing the pool that has just been created

09


And this everything should light green indicating the web servers are reachable.

10


That’s pretty much it for the configuration on the F5 side, now proceed to the DNS Server, which in my case is on my Active Directory Domain Controller



Delegate the Subdomain on DNS Server


On the DNS Manager, create a new Name Server Rntry that points to the F5 DNS Listener

11


Then create a delegation subdomain, which will be subdomain “lab.helena.gg”

12

13


Then add the newly created nameserver entry as this subdomain’s name server

14


Lastly, create a CNAME record that points to FQDN subdomain that exist on F5 Wide IP configuration

15


And that’s pretty much it. Let’s test it



Test the GTM


Pinging the f.helena.gg will give an alternating resolved IP between F1 and F2 servers, because the load balancing algorithm is set to round robin.

16


Same goes if it’s being hit on the port 80 using web browser

17

18


Going to Module Statistics, it shows the counter of how many times it has been hit

19


This post is licensed under CC BY 4.0 by the author.