Web OS 10.0 Application Guide
5.
Apply and save your configuration changes.
6.
Identify the defined string IDs.
>> # /cfg/slb/layer7/slb/cur
For easy configuration and identification, each defined string has an ID attached, as shown in
the following example:
Number of entries: six
ID
1
2
3
4
5
6
7.
Configure the real server(s) to support WCR.
N
OTE
dle any request.
Add the defined string(s) to the real servers:
>> # /cfg/slb/real 2/layer7/addlb <ID>
where ID is the identification number of the defined string.
The server can have multiple defined strings. For example: "/images", "/sales", ".gif"
With these defined strings, the server can handle requests that begin with "/images" or "/sales"
and any requests that contain ".gif".
8.
Define a real server group and add real servers to the group.
The following configuration combines three real servers into a group:
>> # /cfg/slb/group 1
>> Real server group 1# add 1
>> Real server group 1# add 2
>> Real server group 1# add 3
n
400
Chapter 15: Content Intelligent Switching
SLB String
any
.gif
/sales
/xitami
/manual
.jpg
–
If you don't add a defined string (or add the defined string "any"), the server will han-
(Select real server group 1)
(Add real server 1 to group 1)
(Add real server 2 to group 1)
(Add real server 3 to group 1)
212777-A, February 2002