Skip to content

locationFile

The following operations can be performed on "locationFile":

show| import| rm| add|

show locationFile

Displays the name, including the absolute path, and format of the location file currently loaded on the Citrix ADC.

Synopsis

show locationFile

Arguments

Output

locationFile The name of the location file.

format The format of the location file.

Example

show locationfile

import locationFile

Imports the specified location file to the Citrix ADC, assigns it the specified name.

Synopsis

import locationFile

Arguments

locationFile Name of the location file, with or without absolute path. If the path is not included, the default path (/var/netscaler/locdb) is assumed. In a high availability setup, the static database must be stored in the same location on both Citrix ADCs.

src URL (protocol, host, path, and file name) from where the location file will be imported. NOTE: The import fails if the object to be imported is on an HTTPS server that requires client certificate authentication for access.

Example

import locationfile locfile_1 http://www.example.com/file_1

rm locationFile

Removes the currently loaded static location database from the Citrix ADC.

Synopsis

rm locationFile

Example

rm locationfile

add locationFile

Loads the static location database from the specified file.

Synopsis

add locationFile [-format ]

Arguments

locationFile Name of the location file, with or without absolute path. If the path is not included, the default path (/var/netscaler/locdb) is assumed. In a high availability setup, the static database must be stored in the same location on both Citrix ADCs.

format Format of the location file. Required for the Citrix ADC to identify how to read the location file.

Possible values: netscaler, ip-country, ip-country-isp, ip-country-region-city, ip-country-region-city-isp, geoip-country, geoip-region, geoip-city, geoip-country-org, geoip-country-isp, geoip-city-isp-org Default value: netscaler

Example

add locationfile /var/nsmap/locationdb -format Citrix ADC

Was this article helpful?