Upgrade Steps

General guidance for upgrading Metron

  1. Cut-off all inputs to Metron
  2. Monitor processing until all in-flight data is indexed and stored
  3. Stop Metron service
  4. Run the Metron Upgrade Helper script in backup mode - does these 2 tasks
    1. Export zookeeper based metron configs
    2. Export ambari-based metron configs
  5. Delete the metron service via Ambari
  6. Upgrade OS, if applicable
  7. Major Hadoop platform upgrade steps (example. using HDP 2.6 to 3.x) - https://docs.cloudera.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-upgrade-major/content/ambari_upgrade_guide.html
    1. Update Ambari to latest version
    2. Update to HDP 3.1 using existing Ambari/HDP update documentation (including Solr/ES etc).
  8. Reinstall Metron mpack using “--force” option
  9. Reinstall Metron service
  10. Turn off Metron service
  11. Tweak any configs required to support new Metron version
    1. Minimally, you should update metron.home in Ambari -> Metron -> Configs -> Advanced metron-env -> Metron home to point to the new Metron home dir.
  12. Run upgrade helper script in restore mode - does these 2 tasks
    1. Re-import zookeeper based metron configs
    2. Re-import ambari-based zookeeper configs
  13. Turn on Metron service