Configuring Server Load Balancing

IOS SLB Configuration Task List

VS1

TCP

10.10.10.12:23

INSERVICE

2

VS2

TCP

10.10.10.18:23

INSERVICE

2

Router# show ip slb vservers detail

VS1, state = INSERVICE, v_index = 10

virtual = 10.10.10.12:23, TCP, service = NONE, advertise = TRUE server farm = SERVERGROUP1, delay = 10, idle = 3600

sticky timer = 0, sticky subnet = 255.255.255.255 sticky group id = 0

synguard counter = 0, synguard period = 0

conns = 0, total conns = 0, syns = 0, syn drops = 0 standby group = None

VS2, state = INOFSERVICE, v_index = 11

virtual = 10.10.10.18:23, TCP, service = NONE, advertise = TRUE server farm = SERVERGROUP2, delay = 10, idle = 3600

sticky timer = 0, sticky subnet = 255.255.255.255 sticky group id = 0

synguard counter = 0, synguard period = 0

conns = 0, total conns = 0, syns = 0, syn drops = 0 standby group = None

Verifying IOS SLB

The following sections describe how to verify the following different aspects of the IOS SLB feature:

Verifying IOS SLB Installation

Verifying Server Failure Detection

Verifying IOS SLB Installation

To verify that the IOS SLB is installed and working properly, perform the following steps:

Step 1 Telnet to the IOS SLB device.

Step 2 Ping from that device to each of the clients and real servers. If it is not precluded by firewalls or network configuration, ping from the client side to each of the real servers.

Step 3 From the client side, ping the virtual server. Pings are answered by IOS SLB even if no real servers are in service, so this ensures that the IOS SLB device is reachable.

Step 4 For the selected protocol, start a client connection to the virtual server.

Step 5 If you want sticky connections, perform the following steps:

a.Configure the sticky connections.

b.Start a client connection.

c.Enter the show ip slb reals detail and show ip slb conns EXEC commands.

d.Examine the real server connection counts. The real server whose count increased is the one to which the client connection is assigned.

e.Enter the show ip slb sticky EXEC command to display the sticky relationships that IOS SLB stored.

f.End the connection.

g.Ensure that the connection count of the real server decreased.

Cisco IOS IP Configuration Guide

IPC-148

Page 194
Image 194
Cisco Systems 78-11741-02 manual Verifying IOS SLB Installation, IPC-148, 10.10.10.1223, 10.10.10.1823