You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
47
47
* MongoDB as the real-time core database, persistence layer, config store, SOE historian.
48
48
* Event-based realtime async data processing with MongoDB Change Streams.
49
49
* Portability and modular interoperability over Linux, Windows, Mac OSX, x86/64, ARM.
50
-
* Windows installer available in the [releases section](https://github.com/riclolsen/json-scada/releases/tag/V0.34-alpha).
50
+
* Windows installer available in the [releases section](https://github.com/riclolsen/json-scada/releases/tag/V0.35-alpha).
51
51
* Unlimited tags, servers, and users.
52
52
* Horizontal scalability, from a single computer to big clusters (MongoDB-sharding), Docker containers, VMs, Kubernetes, cloud, or hybrid deployments.
53
53
* Modular distributed architecture. Lightweight redundant data acquisition nodes can connect securely over TLS to the database server. E.g. a Raspberry PI can be a data acquisition node.
@@ -82,7 +82,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
*[RedHat/Rocky Linux Installer](https://github.com/riclolsen/json-scada/blob/master/docs/install.md#rhel94-and-compatible-systems-automated-installation)
Copy file name to clipboardExpand all lines: index.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
47
47
* MongoDB as the real-time core database, persistence layer, config store, SOE historian.
48
48
* Event-based realtime async data processing with MongoDB Change Streams.
49
49
* Portability and modular interoperability over Linux, Windows, Mac OSX, x86/64, ARM.
50
-
* Windows installer available in the [releases section](https://github.com/riclolsen/json-scada/releases/tag/V0.34-alpha).
50
+
* Windows installer available in the [releases section](https://github.com/riclolsen/json-scada/releases/tag/V0.35-alpha).
51
51
* Unlimited tags, servers, and users.
52
52
* Horizontal scalability, from a single computer to big clusters (MongoDB-sharding), Docker containers, VMs, Kubernetes, cloud, or hybrid deployments.
53
53
* Modular distributed architecture. Lightweight redundant data acquisition nodes can connect securely over TLS to the database server. E.g. a Raspberry PI can be a data acquisition node.
@@ -82,7 +82,7 @@ To provide an easy to use, fully-featured, scalable, and portable SCADA/IIoT-I4.
nssm set JSON_SCADA_mongodb Start SERVICE_AUTO_START
34
34
@@ -60,8 +60,8 @@ REM CHOOSE ONE: server_realtime (no user control) or server_realtime_auth (token
60
60
REM nssm install JSON_SCADA_server_realtime "C:\json-scada\platform-windows\nodejs-runtime\node.exe" "C:\json-scada\src\server_realtime\index.js" NOAUTH
61
61
REM nssm set JSON_SCADA_server_realtime AppDirectory "C:\json-scada\src\server_realtime"
62
62
REM nssm set JSON_SCADA_server_realtime Start SERVICE_AUTO_START
63
-
rem Use environment variables to connect (for reading) to PostgreSQL historian (https://www.postgresql.org/docs/current/libpq-envars.html)
64
-
rem nssm set JSON_SCADA_server_realtime AppEnvironmentExtra PGHOSTADDR=127.0.0.1 PGPORT=5432 PGDATABASE=json_scada PGUSER=json_scada PGPASSWORD=json_scada
63
+
REM Use environment variables to connect (for reading) to PostgreSQL historian (https://www.postgresql.org/docs/current/libpq-envars.html)
64
+
REM nssm set JSON_SCADA_server_realtime AppEnvironmentExtra PGHOSTADDR=127.0.0.1 PGPORT=5432 PGDATABASE=json_scada PGUSER=json_scada PGPASSWORD=json_scada
65
65
66
66
REM CREATE A RANDOM SECRET FOR JWT ENCRYPTION
67
67
setlocalEnableDelayedExpansion
@@ -82,19 +82,19 @@ nssm set JSON_SCADA_server_realtime_auth AppStdout C:\json-scada\log\server_real
82
82
nssm set JSON_SCADA_server_realtime_auth AppRotateOnline 1
83
83
nssm set JSON_SCADA_server_realtime_auth AppRotateBytes 10000000
84
84
85
-
rem Use environment variables to connect (for reading) to PostgreSQL historian (https://www.postgresql.org/docs/current/libpq-envars.html)
86
-
rem nssm set JSON_SCADA_server_realtime_auth AppEnvironmentExtra PGHOSTADDR=127.0.0.1 PGPORT=5432 PGDATABASE=json_scada PGUSER=json_scada PGPASSWORD=json_scada
85
+
REM Use environment variables to connect (for reading) to PostgreSQL historian (https://www.postgresql.org/docs/current/libpq-envars.html)
86
+
REM nssm set JSON_SCADA_server_realtime_auth AppEnvironmentExtra PGHOSTADDR=127.0.0.1 PGPORT=5432 PGDATABASE=json_scada PGUSER=json_scada PGPASSWORD=json_scada
nssm set JSON_SCADA_process_hist AppDirectory "C:\json-scada\sql"
129
129
nssm set JSON_SCADA_process_hist Start SERVICE_AUTO_START
130
-
rem Use environment variables to connect (for writing) to PostgreSQL historian (https://www.postgresql.org/docs/current/libpq-envars.html)
131
-
rem nssm set JSON_SCADA_process_hist AppEnvironmentExtra PGHOSTADDR=127.0.0.1 PGPORT=5432 PGDATABASE=json_scada PGUSER=json_scada PGPASSWORD=json_scada
130
+
REM Use environment variables to connect (for writing) to PostgreSQL historian (https://www.postgresql.org/docs/current/libpq-envars.html)
131
+
REM nssm set JSON_SCADA_process_hist AppEnvironmentExtra PGHOSTADDR=127.0.0.1 PGPORT=5432 PGDATABASE=json_scada PGUSER=json_scada PGPASSWORD=json_scada
nssm set JSON_SCADA_telegraf_runtime AppDirectory "C:\json-scada\platform-windows\telegraf-runtime"
237
+
nssm set JSON_SCADA_telegraf_runtime Start SERVICE_AUTO_START
238
+
REM cd \json-scada\platform-windows\telegraf-runtime
239
+
REM c:\json-scada\platform-windows\telegraf-runtime\telegraf --service-display-name JSON_SCADA_telegraf_runtime --service-name JSON_SCADA_telegraf_runtime --config C:\json-scada\conf\telegraf.conf service install
240
+
241
+
REM Create scheduled task for log rotation (alternative log rotator), configure with logrotate.conf
242
+
REM Should stop services to force log file to close. See https://sourceforge.net/p/logrotatewin/wiki/LogRotate/
* Added timeseries 'hist' collection on MongoDB for historical archival.
140
+
* Fixed Telegraf service creation.
141
+
* Optimized mongo inserts and updates on cs_data_processor.
142
+
* Optimizations on Mongofw/Mongowr one-way replication processes.
143
+
* Inkscape+SAGE: new build based on 1.2-dev.
144
+
* PostgreSQL updated to 16.3-2.
145
+
* TimescaleDB updated to 2.15.2.
146
+
* Telegraf runtime updated to 1.31.0.
147
+
* Nodejs runtime updated to 20.14.0.
148
+
* Dotnet runtime updated to 6.0.31.
149
+
* Chromium updated to 126.0.6478.57.
150
+
151
+
Requirements and recommendations:
152
+
153
+
* Windows 10/11 64 bits or Server >=2019, Windows PowerShell. At least 20GB of free space in the "C:" drive.
154
+
* Administrative rights. corporate Windows policies may cause problems with the creation of services and the opening of TCP ports.
155
+
* Free TCP ports 6688, 6689, 27017, 5432, 80, 8080, 3000, 3001, 9000. Other ports may be required for optional services and protocols.
156
+
* If the server already has MongoDB, PostgreSQL, Grafana, Metabase, Nginx or another webserver, please uninstall, disable or watch out for possible conflicts.
157
+
* Do not update previously installed JSON-SCADA. Please uninstall previous JSON-SCADA versions before installing a new version.
158
+
* If using VirtualBox configure "paravirtualization interface"=KVM, otherwise Nodejs errors may occur.
0 commit comments