Hash persist hold down timer – Brocade Communications Systems ServerIron ADX 12.4.00 User Manual

Page 94

Advertising
background image

82

ServerIron ADX Global Server Load Balancing Guide

53-1002437-01

Weighted distribution of sites with hash-based persistence

1

ServerIronADX(config-gslb-policy)# hash-persist disable-weight-rehash

Use the following command line interface to disable rehashing on weight change for host-level
GSLB policy.

ServerIronADX# config t

ServerIronADX(config)# gslb-host-policy test

ServerIronADX(config-gslb-host-policy-test)# hash-persist disable-weight-rehash

Syntax: [no] hash-persist disable-weight-rehash

If the weight of an IP for a domain is changed and this command is configured, then a message,
stating that the ServerIron ADX needs to be rehashed at a later time, will be displayed.

If user configures this command, he or she will have to manually rehash at a later convenient time.
This command can be used when user does not want to break the persistence for the existing IP
addresses due to a change in weight configuration. User will disable rehashing on weight
configuration change to preserve persistence and instead will rehash manually at a later
convenient time, such as during a maintenance window for the GSLB controller.

Hash persist hold down timer

Hash persist hold down timer is provided to handle the boot up case when rehash on state change
from down to up or rehash on weight configuration change is disabled. This hold down timer
specifies how long after boot up, the disabling of rehash on state or weight change takes effect.
Any change to the configured hash weight will result in a rehash during the hold-down time i.e. even
if you have disabled rehash on weight change, it will become effective only after this hold-down
time has elapsed.

After the GSLB ServerIron ADX boots up, it will perform a back-end query for the IP addresses
associated with the domain. Once it obtains these addresses, the ServerIron ADX will determine
their health. Therefore after boot up, the IPs may come up one after another instead of at the same
time. The weights will get associated with the IPs as they come up; this means that even if rehash is
disabled, a rehash must still be performed to handle this scenario.

To specify how long the disabling of rehash on weight change becomes effective after boot up,
enter a command such as the following:

ServerIronADX(config)# gslb policy

ServerIronADX(config-gslb-policy)# hash-persist hold-down 5

Syntax: hash-persist hold-down <time>

Syntax: [no] hash-persist hold-down <time>

The <time> parameter specifies the number of minutes (1-255) before rehash disable become
effective after boot up.

The default is five minutes.

NOTE

This command is provided in the existing hash-based persistence. The same command will be used
for the weighted hash-based persistence as well.

Advertising