Manually forcing rehash for a domain, Clear gslb phash counters, Show commands – Brocade Communications Systems ServerIron ADX 12.4.00 User Manual

Page 95

Advertising
background image

ServerIron ADX Global Server Load Balancing Guide

83

53-1002437-01

Weighted distribution of sites with hash-based persistence

1

Manually forcing rehash for a domain

Consider the case where user disables rehashing on introduction of a new IP address or change of
IP address state from down to healthy or on change in the IP weight configuration, as described
earlier.

In such a scenario, user may wish to force a rehash at a feasible time in order to allow the new
configuration to also be included in the hash table. User can manually rehash the hash table by
using the following command.

ServerIronADX# clear gslb phash table zone-name gslb.com host-name www

Syntax: clear gslb phash table [zone-name <zone-name> host-name <host-name> | all]

Clear GSLB phash counters

ServerIronADX# clear gslb phash counter

Syntax: clear gslb phash counter [all | zone-name <name> host-name <name>]

Show commands

NOTE

The following commands should be used on the Barrel Processors only. You should use the "rconsole
<slot> <processor>" command to go to the desired Barrel Processor and then use these commands
on the Barrel Processor.

The following command will display whether weighted hash-based persistence is enabled for global
GSLB policy or not.

Syntax: show gslb policy

The following command will display whether weighted hash-based persistence is enabled for
host-level GSLB policy or not.

Syntax: show gslb policy host-policy-name <policy-name>

The following command will display the hash table and related information for all domains or for a
specific domain.

Syntax: show gslb phash table [all | zone-name <name> host-name <name>]

The following command will display hash bucket number of a client IP address and DNS domain IP
that is associated with that hash bucket. This command will also display the number of hashed and
active DNS domain IPs for the given domain.

Syntax: show gslb phash allocation <client-ip-address> <zone-name> <host-name>

The command should be used on Barrel Processors only. User should use the "rconsole <slot>
<processor>" command to go the desired Barrel Processor and should use this command on the
Barrel Processor.

Here is the sample output of this command.

======================================================================
==========

GSLB-Controller-A1/1# show gslb phash allocation 30.30.1.2 l47qa.com www

********************************************************

GSLB weighted persist hash

Advertising