Installing the collector
The installation of the collector is done by running the install command on the binary. The install process will copy the binary to the correct directory and create a service.
Download the collector binary here.
Install command
- Copy the binary to the collector server (location doesn’t matter)
- Run the install command
"factry-collector-binary-path" install --token "token"
Example
./factry-opcua-collector_v1.1.4_linux-x64 install -t "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJodHRwOi8vbG9jYWxob3N0OjgwMDAiLCJleHAiOjI0MzcyMDI0MDcsImdycGMtcG9ydCI6IjgwMDEiLCJpYXQiOjE2NDg4MDI0MDcsImlzcyI6ImZhY3RyeS5pbyIsInJlc3QtcG9ydCI6IjgwMDAiLCJ1dWlkIjoiNjgxZmZiNjQtYjE4Ny0xMWVjLWJlNWYtMDI0MmFjMTgwMDAzIn0.RQlzFoi7I-793-sRIe8bGcQAM5fxQ7lHHkUCVcwxNu8"
Changing environment variables after installation
Linux
You can change the environment variables by changing them in the environment file.
This can be found here /etc/systemd/system/environments
Windows
- open regedit.
- Navigate to
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
- Select factry-collector-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (replace the x’s with the collector ID which you can find in the historian).
- Right click Environment and select “Modify…”
- Edit the environment variables
- Restart the service, service name looks this “Factry Collector (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)”
Configuration
After installation the collector will register itself on the historian server and the collector settings will be ready to be filled in.
Configuration is different for every collector type for more information go here.