Citrix ADC

Add custom entries to a static proximity database

Custom entries take precedence over static entries in the proximity database. You can add a maximum of 500 custom entries. For a custom entry, denote all omitted qualifiers with an asterisk (*) and, if qualifiers have a period or space in the name, enclose the parameter in double quotation marks. The first 31 characters are evaluated for each qualifier. You can also provide the longitude and latitude of the geographical location of the IP address-range for selecting a service with the static proximity GSLB method.

To add custom entries by using the command line interface

在命令提示符下,键入以下命令to add a custom entry to the static proximity database and verify the configuration:

add location < IPfrom> < IPto>  [-longitude [-latitude ]] show location 

Example:

>add location 192.168.100.1 192.168.100.100 *.us.ca.mycity 
>show location 

Parameters for adding custom entries

  • IPfrom

    First IP address in the range, in dotted decimal notation. This is a mandatory argument.

  • IPto

    Last IP address in the range, in dotted decimal notation. This is a mandatory argument.

  • preferredLocation

    String of qualifiers, in dotted notation, describing the geographical location of the IP address range. Each qualifier is more specific than the one that precedes it, as in continent.country.region.city.isp.organization. For example,”NA.US.CA.San Jose.ATT.citrix”.

    Note: A qualifier that includes a dot (.) or space ( ) must be enclosed in double quotation marks.

    This is a mandatory argument. Maximum Length: 197

  • longitude

    Numerical value, in degrees, specifying the longitude of the geographical location of the IP address-range.

    Note: Longitude and latitude parameters are used for selecting a service with the static proximity GSLB method. If they are not specified, selection is based on the qualifiers specified for the location.

    Maximum value: 180

  • latitude

    Numerical value, in degrees, specifying the latitude of the geographical location of the IP address-range.

    Note: Longitude and latitude parameters are used for selecting a service with the static proximity GSLB method. If they are not specified, selection is based on the qualifiers specified for the location.

    Maximum value: 180

To add custom entries by using the configuration utility

Navigate toAppExpert>Location, click theCustom Entriestab, and add the custom entries.

Add custom entries to a static proximity database