Learn how to install the MiNiFi Java Agent on Windows.
Ensure that you meet the prerequisites:
Install JDK 21 64 bit.
Install Java to C:/java instead of C:/Program
Files because recent Windows versions mark everything in
C:\Program Files as read only.
Set the JAVA_HOME environment variable using the 8.3 style naming
conventions. For example: C:\Program\jdk21.
Ensure that the JAVA_HOME environment variable is pointing to a 64-bit
JRE/JDK.
Ensure that the Domain user has administrator privilege.
Ensure that your system meets the minimum memory requirement for Windows
which is 4 GB.
Download the MiNiFi Java installer on your PC through the paywall.
Double-click the executable file.
The CEM MiNiFi setup wizard appears, as shown in the
following image:
Configure the following parameters:
Package directory
The installation directory of
MiNiFi.
java command
The path of the Java installation you
would like to use.
java.arg.2
Sets initial and minimum heap size of
JVM.
java.arg.3
Sets the maximum heap size of
JVM.
MiNiFi service username/password
The MiNiFi service
is configured to be executed by either a local user in the computer,
or a domain user in the Active Directory. These parameters are the
username/password pairs for the given user. For detailed user
configuration, see Configuring users for running MiNiFi Java
on Windows.
Enable C2
If you want to integrate your agent with
EFM you can set up the following basic C2 parameters:
Agent class: The agent class name.
Agent identifier: The ID of your agent. If
you skip this, an unique identifier is generated.
Server heartbeat url: The heartbeat URL of
EFM.
Server acknowledge url: The acknowledge URL
of EFM.
Heartbeat period: The frequency of
heartbeats in milliseconds.
Enable C2 Security: If you would like to
communicate with EFM in a secure way, you can set up C2
security parameters after you enable this checkbox.
Select the truststore location/password and
truststore type from the dropdown.
Select the keystore location/password and truststore
type from the dropdown.
Click Install.
Windows starts configuring NiFi MiNiFi, as shown in the following image:
Click OK when installation completes.
Search for services in the Start menu of your PC and
open it, as shown in the following image:
You can also run services by pressing [Windows key + R] and then typing
services.msc in the Open field,
as shown in the following image:
After you click OK, the
Services window appears.
In the Services window, double-click Apache
MiNiFi.
The Apache MiNiFi Properties (Local Computer) window
appears.
Check the services setup and click OK.
In the Task Manager window confirm whether the process
is running.