Windows install folders and file locations
You’ll receive two installers: NexalisAgent-[VERSION]-win-x64 (for example, NexalisAgent-1.1.6-win-x64) or NexalisAgent-[VERSION]-win-x86 (for example, NexalisAgent-1.1.6-win-x86) Run the installer that matches your system architecture (x64 or x86). In x64 the installer installs the agent, gRPC_kafka and connectors insideC:\Program Files\Nexalis\NexalisAgent.
In x86 the installer installs the agent, gRPC_kafka and connectors inside C:\Program Files (x86)\Nexalis\NexalisAgent.
For consistency, the data and logs are written inside %ProgramData%\Nexalis\NexalisAgent, usually C:\ProgramData\Nexalis\NexalisAgent.
gRPC_kafka has its default directory at %ProgramData%\Nexalis\NexalisAgent\gRPC_kafka.
Connectors have their default directory inside %ProgramData%\Nexalis\NexalisAgent\connectors\.
For example, the opcua_connector default directory is %ProgramData%\Nexalis\NexalisAgent\connectors\opcua_connector
This directory contains:
- device_models — configurations
- certs — configuration certificates.
%ProgramData%\Nexalis\NexalisAgent\gRPC_kafka\persistent_buffer.
It is created when gRPC_kafka is configured and running.
You can find the latest NexalisAgentService logs in %ProgramData%\Nexalis\NexalisAgent\logs\nexalis_agent_service\NexalisAgentService.log.
You can configure other logs connection for gRPC_kafka in their respective configurations.
If not configured the default log location will be inside the connector data directory.
For example, the opcua connector logs will be by default inside %ProgramData%\Nexalis\NexalisAgent\connectors\opcua_connector
NexalisAgent Windows commands
The installer adds NexalisAgent to your PATH. After running the installer, you can open a new Administrator PowerShell window (after a few seconds) and runversion command
Version shows the version of the installed agent.status command
Status allows you to query the current status of the agent/gRPC_kafka and all the connectors and to view the JSON configuration errors fromconfig.json, connectors and gRPC_kafka.
See Errors section if you have an error.
start, stop, restart command
A JSON status is printed. The status field indicates whether the operation was successful.
reload command
gRPC_kafka JSON config.
This allows you to not restart everything when changing just a configuration.
However the reload command does not check credentials or certificates or connections for changes.
For Example:
- adding, removing or changing configuration inside config.json will start,stop or restart the appropriate connector.
- changing JSON content of a device_model will trigger restart for that specific connector.
- changing opcua credentials in the device model, will trigger restart of the connector.
- changing gRPC_kafka credentials or any environment variables will not trigger restart.
- changing connector specific files like certificates will not trigger restart of the connector.
A JSON status is printed. The status field indicates whether the operation was successful.When a configuration is invalid, you will see the error in the error fields.
gRPC_kafka-sasl-login command
You can update the gRPC_kafka credentials with this command. Enter the password and then pressEnter to set the password.
- KAFKA_SASL_USERNAME
- KAFKA_SASL_PASSWORD
authorize-opcda-clsid command
opcda32_connector and opcda64_connector require service permission
to access DCOM and to communicate with the configured interface.
You can run