In this section, I will explain how to configure real servers, server farms, and virtual servers in IOS SLB and CSMs.
Configuration relating to SLB is done with the
slb command, or in SLB configuration mode. Real servers and virtual servers
must be on different VLANs when using SLB.
When using SLB, real servers are not configured independently, but rather, within server farms.
Server farms are created in SLB with the
farm-name command. Here, I've created a server farm named
nat server command is a default and
will be inserted by IOS:
ip slb serverfarm GAD-FARM nat server
Don't bother trying to come up with names for your servers in lowercase or a combination of upper- and lowercase. No matter how you enter names when using SLB or CSMs, the parser will convert them to uppercase.
ip slb configuration mode, add the real
servers to be included in the server farm with the
ip-address command. Here, I've configured two real servers.
The first one is in service, and the second is out of service:
real 10.10.10.100 inservice ! real 10.10.10.101 no inservice
The final configuration for the server farm is as follows:
ip slb serverfarm GAD-FARM nat server real 10.10.10.100 inservice ! real 10.10.10.101 no inservice
Virtual servers are configured in SLB with the
server-name command. You must configure the IP address for the virtual server, the port or ports ...