Nortel Web OS Switch Software Application Manual page 382

Switch software
Table of Contents

Advertisement

Web OS 10.0 Application Guide
Configuring the "Host" Header for Virtual Hosting
To support virtual hosting, configure the switch for Host header-based load balancing with the
following procedure:
1.
Before you can configure header-based server load balancing, ensure that the switch has
already been configured for basic SLB with the following tasks:
n
Assign an IP address to each of the real servers in the server pool.
n
Define an IP interface on the switch.
n
Define each real server.
n
Assign servers to real server groups.
n
Define virtual servers and services.
For information on how to configure your network for server load balancing, see
Balancing" on page
2.
Turn on URL parsing for the virtual server for virtual hosting.
>> # /cfg/slb/virt 1
>> Virtual Server 1 # service 80
>> Virtual Server 1 http Service # httpslb host
3.
Define the host names.
>> # /cfg/slb/layer7/slb/add "www.customer1.com"
>> Server Loadbalance Resource# add "www.customer2.com"
>> Server Loadbalance Resource# add "www.customer3.com"
4.
Configure the real server(s) to handle the appropriate load balancing string(s).
To add a defined string:
>> # /cfg/slb/real 2
>> Real Server 2 # Layer 7
>> Real Server 2 Layer 7 Commands # addlb <ID>(Specify the string ID)
where ID is the identification number of the defined string.
N
OTE
dle any request.
n
382
Chapter 15: Content Intelligent Switching
117.
If you don't add a defined string (or add the defined string "any"), the server will han-
"Server Load
(Select the virtual IP for host
header-based SLB)
(Select the HTTP service)
(
Select the real server)
212777-A, February 2002

Advertisement

Table of Contents
loading

This manual is also suitable for:

Web os 10.0

Table of Contents