Upgrade Guide
Also available as:
PDF

Backing up Your Configuration

The HCP upgrade uses the default configuration for the new Metron version. If you made any changes to the Metron configuration in the previous version, you need to back up your old configuration so you can incorporate those changes into the new Metron configuration. You will also need to re-enter values for the Metron properties in Ambari.

  1. Create a backup directory.

    mkdir /$HCP_BACKUP_DIRECTORY
  2. Back up your configuration information in ZooKeeper to your backup directory:

    ${METRON_HOME}/bin/zk_load_configs.sh -m DUMP -z $ZOOKEEPER > /$HCP_BACKUP_DIRECTORY/$BACKUP_CONFIG.txt
  3. Back up the following property files in the $METRON_HOME/config directory to your backup directory:

    • elasticsearch.properties

    • enrichment.properties

    • pcap.properties

    • profiler properties

    For example:

    cp elasticsearch.properties /$HCP_BACKUP/elasticsearch.properties
  4. Copy the zookeeper directory to your backup directory:

    cp -R zookeeper/ /$HCP_BACKUP/zookeeper
  5. Back up your Metron configuration.

    The easiest way to do this is to take a screenshot of each of the Metron configuration pages that you modified in Ambari. At a minimum, take a screen shot of the following configuration pages:

    • Index Settings

    • Parsers

    • REST