Disabling and enabling real servers, Ip address ranges using imask – Nortel Networks WEB OS 212777 User Manual

Page 129

Advertising
background image

Web OS 10.0 Application Guide

Chapter 6: Server Load Balancing

n

129

212777-A, February 2002

Disabling and Enabling Real Servers

If you need to reboot a server, you must make sure that new sessions are not sent to the real
server and that old sessions are not discarded. When the session count gets to zero, you may
shut down the server. Use the following command to disable real servers:

When maintenance is complete, use the following command to enable the real server:

IP Address Ranges Using imask

The

imask

option lets you define a range of IP addresses for the real and virtual servers con-

figured under SLB. By default, the

imask

setting is 255.255.255.255, which means that each

real and virtual server represents a single IP address. An imask setting of 255.255.255.0 would
mean that each real and virtual server represents 256 IP addresses. Consider the following
example:

n

A virtual server is configured with an IP address of 172.16.10.1.

n

Real servers 172.16.20.1 and 172.16.30.1 are assigned to service the virtual server.

n

The imask is set to 255.255.255.0.

If the client request was sent to virtual server IP address 172.16.10.45, the unmasked portion of
the address (0.0.0.45) gets mapped directly to whichever real server IP address is selected by
the SLB algorithm. Thus, the request would be sent to either 172.16.20.45 or 172.16.30.45.

>> #

/oper/slb/dis

<real server number>

>> #

/oper/slb/ena

<real server number>

Advertising