Product Documentation

locationFile

Sep 12, 2016

The following operations can be performed on "locationFile":

add | rm | show | import

add locationFile

Loads the static location database from the specified file.

Synopsys

add locationFile <locationFile> [-format <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 NetScaler appliances.

format

Format of the location file. Required for the NetScaler appliance 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 netscaler

rm locationFile

Removes the currently loaded static location database from the NetScaler appliance.

Synopsys

rm locationFile

Example

rm locationfile

show locationFile

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

Synopsys

show locationFile

Outputs

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 NetScaler appliance, assigns it the specified name.

Synopsys

import locationFile <locationFile> <src>

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 NetScaler appliances.

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