Table of Contents
To complete BIG-IP LTM Lab topology, we need some web servers to be used as example web servers behind the LTM load-balancer.
In this section we show how to prepare sample web servers with SliTaz, a lightweight Linux operating system.
F5 BIG-IP LTM Lab Topology overview
This is the lab topology that we initialized and configured in the previous section.
A management interface with an IP address of 192.168.1.186, an external interface on the subnet 192.168.2.0/24 and an IP address of .186, and an internal interface on the subnet 192.168.10.0/24 and an IP address of 192.168. 10.1”.
However, to configure and test different load balancing scenarios, we need some servers behind BIG-IP LTM to be used during the course.
We prepare three web servers with IP addresses “.111”, “.112” and “.113” that can be accessed via the BIG-IP load-balancer solution and a virtual IP address.
As recommended by the F5 community, we use the lightweight Linux operating system SliTaz for the web servers. In this section you will learn how to prepare these small web servers
Prepare Lightweight Web Servers using SliTaz
To prepare lightweight web servers, we first need to download the Slitaz Linux operating system.
This website is the original source to download the SliTaz image file.
But the VMware OVF version of SliTaz can be downloaded from this link that I used for my topology.
The downloaded ZIP file contains three files, “ovf”, “vmdk”, and “mf” files that we use to load SliTaz into VMware ESX environment.
After OVF is imported into the VMware ESX environment, we need to change the IP address of the virtual machine and also configure a sample web page for the pre-configured web server.
To login to the SliTaz virtual machine, the default password of “root” user is “root” and there is also the username “vmware“, with password “vmware” pre-configured for SSH access.
Right-click on the desktop, “favorite Applications” and then “Terminal” to access the shell command.
In the terminal, use “nano /etc/network.conf” to change the IP address and gateway of the eth0 interface according to your topology.
Then use “/etc/init.d/network.sh restart” to restart the network service.
Now you can access the virtual machine with the new IP address via both SSH and the web.
The last step is to change the content of the web page.
For three web servers, I use the following simple HTML code in “/var/www/index.html” to load three different web servers with different names and different colors so that I can easily distinguish which of the three servers we are accessing through LTM virtual IP, which is very important to test different load balancing algorithm.