This document covers updating the built-in GeoIP database. See TechTip: Extending the Brocade vTM GeoIP database for instructions on adding custom entries to the database.
Brocade now provides a GeoIP Update package, available in the Related Software section of the http://my.brocade.com portal. This package is updated approximately monthly, and its version number can be compared with the GeoIP database version in $ZEUSHOME/zxtm/etc/geo/version.
To use this update package:
On our AMI on EC2 you don't have the Upgrade UI option, so you must copy the upgrade package to the instance, log in and run /opt/zeus/zxtm/bin/upgrade. e.g.:
/opt/zeus/zxtm/bin/upgrade install geoip_update_20160907.tgz
If you upgrade to a new version of the Traffic Manager it will switch to the GeoIP database version included in that version of the Traffic Manager. If you had previously updated to a later version of the database you will need to reapply the GeoIP update.
The GeoIP database shipped with Brocade vTM is based on the MaxMind GeoLite City database. MaxMind also produce a commercially licensed database of IPv4 locations, GeoIP City, which is more detailed. If you are using version 9.6 or later you can switch to using this database.
First take a copy of the folder $ZEUSHOME/zxtm/etc/geo and the file $ZEUSHOME/zxtmadmin/lib/perl/Zeus/ZXTM/CountryData.pm.
You can switch back to to original GeoIP database by restoring these and restarting the traffic manager.
If you upgrade to a new version of the Traffic Manager, you will need to reapply these changes.