Upgrading MiNiFi Java agents
Learn how to upgrade your MiNiFi Java agents.
- Stop the previous MiNiFi instance.
- Unpack the new assembly.
-
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
-
If upgrading from legacy MiNiFi Java agent, convert the
nifi.c2.*
properties inbootstrap.conf
toc2.*
properties, and add all new properties described in the configuration section.For more information, see Configuring your MiNiFi Java agent. -
Migrate the following directories to the root of the new instance:
- content_repository
- flowfile_repository
- provenance_repository
- state
- Start the new MiNiFi instance.