Skip To Content

ZooKeeper on-disk storage

ArcGIS GeoEvent Server and the ArcGIS GeoEvent Gateway service use Apache ZooKeeper to store and manage the configuration. ZooKeeper is a centralized coordination utility used to backup and manage both GeoEvent Server and Apache Kafka configurations. The data managed by ZooKeeper is stored on disk for availability and disaster recovery.

GeoEvent Server ZooKeeper settings

You can modify the location of the ZooKeeper data storage folder by modifying the ZooKeeper properties file.

Note:

Before editing the property file below, you must stop the GeoEvent Server Windows services or Linux daemons, depending on your operating system. Once the files are saved and closed, start the GeoEvent Server services, and the updated properties will be used.

ZooKeeper properties file

The properties file containing the ZooKeeper settings (zookeeper.properties) for GeoEvent Server and the ArcGIS GeoEvent Gateway service can be found in one of the following directories, depending on your operation system.

  • Windows (default)—C:\Program Files\ArcGIS\server\geoevent\gateway\etc\zookeeper.properties
  • Linux (default)—/home/arcgis/server/GeoEvent/gateway/etc/zookeeper.properties

Configuration storage

In the ZooKeeper properties file, there are only two settings that can be changed: the gateway data directory and the data directory. By default, the ZooKeeper configuration files are stored in one of the following directories, depending on your operation system.

  • WindowsC:\ProgramData\ESRI\GeoEvent-Gateway\zookeeper-data\
  • Linux/home/arcgis/.esri/GeoEvent-Gateway/config.[machine name]/zookeeper-data (for example, /home/arcgis/.esri/GeoEvent-Gateway/config.gesdev01/zookeeper-data)

To change the directory where the ZooKeeper configuration files are stored, update the settings below in the properties file for your operating system.

Windows default properties:

  • gateway.data.dir=C://ProgramData//Esri//GeoEvent-Gateway//
  • data.dir=zookeeper-data

Linux default properties:

  • gateway.data.dir=/home/arcgis/.esri/GeoEvent-Gateway/config.[machine name] (e.g. /home/arcgis/.esri/GeoEvent-Gateway/config.gesdev01)
  • data.dir=zookeeper-data