Geographic Databases

Managing Geographic Databases

To do geographic based routing, the Director uses geographic location databases. The databases need to be on the format provided by MaxMind.

When first installed, the Director comes with example databases. These are only suitable for testing and evaluation, if geographic routing is to be used in production, proper databases need to be obtained from MaxMind.

For the Director to find them, each database needs to have a specific filename. Three databases are supported:

TypeFilename
City and Country/opt/edgeware/acd/geoip2/GeoIP2-City.mmdb
ASN/opt/edgeware/acd/geoip2/GeoLite2-ASN.mmdb
Anonymous IP/opt/edgeware/acd/geoip2/GeoIP2-Anonymous-IP.mmdb

When updating the database files, the new file is copied over the old file. After that the Director has to be told to reload it. This is done by typing the following:

podman kill --signal HUP router