Alteon Application Switch Operating System Application Guide
Global Server Load Balancing
732 Document ID: RDWR-ALOS-V2900_AG1302
1. Add the rule to the configured virtual server. Using the basic GSLB example, add the following
command to the virtual server configuration as shown in step 5 in To configure the San Jose Site
for GSLB, page 717:
2. Apply and save the configuration.
Using the Availability Metric in a Rule
The availability metric selects the next server in a priority list when any capacity thresholds of the
previous servers has been reached.
To use the availability metric in a rule
1. Set the availability metric for metric 2 in Rule 1.
2. Set the availability values for the real/virt servers. For example:
3. Apply and save the configuration.
>> # /cfg/slb/gslb/net 48/sip 48.0.0.0/mask 240.0.0.0/addreal 2/en
>> # /cfg/slb/gslb/rule 4/start 18 00/end 7 00/ena
>> # /cfg/slb/gslb/rule 4/metric 1/gmetric network/addnet 48
>> # /cfg/slb/gslb/rule 4/metric 2/gmetric geographical
>> # /cfg/slb/gslb/rule 4/metric 3/gmetric random
>> # /cfg/slb/virt 1/addrule 2/addrule 4
(Add Rules 2 and 4 to the virtual
server/domain)
>> Rule 2 Metric 4# apply
>> Rule 2 Metric 4# save
>> # /cfg/slb/gslb/rule 1/metric 2/gmetric availability
>> Rule 1# /cfg/slb/virt 1/avail 11
(Set available weight for virtual
server)
>> Rule 1# /cfg/slb/real 10/avail 22
(Set available weight for real
server)
>> Rule 1# /cfg/slb/real 11/avail 33
(Set available weight for real
server)
>> Rule 1 Metric 4# apply
>> Rule 1 Metric 4# save