Upgrading MiNiFi Java agents

Learn how to upgrade your MiNiFi Java agents.

  1. Stop the previous MiNiFi instance.
  2. Unpack the new assembly.
  3. Copy the following files from the conf directory of the previous instance to the conf directory of the new instance:
    • agent-identifier
    • device-identifier (if exists, it is only generated for some platforms)
    • config.yml
    • bootstrap.conf
  4. If upgrading from legacy MiNiFi Java agent, convert the nifi.c2.* properties in bootstrap.conf to c2.* properties, and add all new properties described in the configuration section.
    For more information, see Configuring your MiNiFi Java agent.
  5. Migrate the following directories to the root of the new instance:
    • content_repository
    • flowfile_repository
    • provenance_repository
    • state
  6. Start the new MiNiFi instance.