Installation en
Installation en
Distribution and/or reproduction of this document or parts thereof in any form are permitted solely
with the written permission of the company COPA-DATA. Technical data is only used for product
description and are not guaranteed properties in the legal sense. Subject to change, technical or
otherwise.
Table of contents
14 Service Engine for Linux - installation and putting into operation........................................... 155
14.1 Installation on the Linux computer .......................................................................................................156
14.1.1 Setting up the APT repository ....................................................................................................................... 156
14.1.2 Installation of the Service Engine package .............................................................................................. 157
14.1.3 Access rights ........................................................................................................................................................ 158
14.1.4 Licensing ................................................................................................................................................................ 161
14.1.5 Checking the state of the installation and licensing ............................................................................ 162
14.2 Installation of Linux components of the zenon Software Platform - Summary ...................162
14.3 .NET installation on Linux .........................................................................................................................163
14.3.1 Set up APT repository for .NET ..................................................................................................................... 163
14.3.2 Installation of .NET 8 ......................................................................................................................................... 164
14.3.3 Check for previously-installed .NET versions .......................................................................................... 165
14.3.4 .NET environment variable ............................................................................................................................. 165
14.3.5 Uninstallation ....................................................................................................................................................... 166
14.4 Commissioning of a zenon project on Linux computers ..............................................................166
14.4.1 Manual installation ............................................................................................................................................ 166
14.4.2 Installation via Device Management .......................................................................................................... 167
14.5 Starting Service Engine ..............................................................................................................................171
14.6 Uninstallation ................................................................................................................................................172
GENERAL HELP
If you cannot find any information you require in this help chapter or can think of anything that you
would like added, please send an email to [email protected].
PROJECT SUPPORT
You can receive support for any real project you may have from our customer service team, which
you can contact via email at [email protected].
Visit our new Self Service Portal (https://selfservice.copadata.com/) to access hundreds of checklists
and FAQs created by zenon experts. Access thousands of technical posts and get involved in
our zenon community forum. Search all bugfixes and product changes to keep track of what has
changed.
ZENON ACADEMY
If you want to learn about zenon, this is the right place. Easily increase your zenon knowledge, book
online or face-to-face courses (https://www.zenon-academy.com/) and receive your zenon
Certificates.
7 | 173
Installation zenon Software Platform
Hint
The autoplay of media can be enabled in the settings of your
operating system.
Press the Windows key + I to open the Windows settings
dialog.
Enter Turn AutoPlay on or off in the input field.
This opens the system configuration dialog.
Select the Use AutoPlay for all media and devices option.
Attention
As of version 7.10, zenon cannot be installed on systems that already have the
Microsoft SQL Server Data Engine (MSDE) installed. This affects all systems on
which zenon version 6.01 or 6.20 have been installed.
8 | 173
System requirements
Information
If you receive an error message during installation stating that a service cannot
be started, then:
First reboot the computer
Then start the zenon setup again
3 System requirements
Changes due to Service Packs, Hotfixes or Patches from Microsoft can cause incompatibilities and
affect the functionality of the software. In this case, COPA-DATA will provide an updated version of
zenon as soon as possible. In this case you can get more information from COPA-DATA support:
[email protected].
Attention
Note when configuring the project:
For the optimal display ofzenon in the Service Engine, the standard setting
(corresponds to 100%) is recommended for the Windows display. Higher
values can lead to graphic elements, symbols, texts, etc. not being
displayed correctly.
Windows themes can overlay elements in Service Engine. Ensure, when
configuring a project, that there is an appropriate distance from the
elements to the screen edge.
9 | 173
3.1.1 Windows Operating Systems (1/2)
Supported operating systems and minimum required Windows Service Pack/version:
Operating system Engineering Studio Service Engine Logic Service Report Engine
Windows 10 Only x64 from version 21H2 From version 21H2 From version 21H2 Only x64 from version 21H2
(Pro, Enterprise)
Windows 10 Only x64 from version 2021 From version 2021 From version 2021 Only x64 from version 2021
(IoT) Enterprise LTSC
Windows 11 Only x64 from version 21H2 From version 21H2 From version 21H2 Only x64 from version 21H2
(Pro, Enterprise)
Windows 11 Only x64 from version 2024 From version 2024 From version 2024 Only x64 from version 2024
(IoT) Enterprise LTSC
Windows Server 2019 Only x64 from version 2019 From version 2019 From version 2019 Only x64 from version 2019
(All editions with the exception of Core)
Windows Server 2022 Only x64 from version 2022 From version 2022 From version 2022 Only x64 from version 2022
(All editions with the exception of Core)
Windows Server 2025 Only x64 from version 2025 From version 2025 From version 2025 Only x64 from version 2025
(All editions, with the exception of Core)
Attention
Only Intel processor architecture is supported for the operation of zenon on
Windows operating systems.
LTSC VERSIONS
An overview of LTSC versions and their Equivalent GA Channel releases can be found on the Microsoft Homepage
(https://learn.microsoft.com/en-us/windows/whats-new/ltsc/).
3.1.2 Windows Operating Systems (2/2)
Supported operating systems and minimum required Windows Service Pack/version:
Operating system Smart Server Smart Client HTML Web Engine IIoT Services
Web Visualization Service
Windows 10 From version 21H2 From version 21H2 From version 21H2 From version 21H2
(Pro, Enterprise)
Windows 10 From version 2021 From version 2021 From version 2021 From version 2021
(IoT) Enterprise LTSC
Windows 11 From version 21H2 From version 21H2 From version 21H2 From version 21H2
(Pro, Enterprise)
Windows 11 From version 2024 From version 2024 From version 2024 From version 2024
(IoT) Enterprise LTSC
Windows Server 2019 From version 2019 From version 2019 From version 2019 From version 2019
(All editions with the exception of Core)
Windows Server 2022 From version 2022 From version 2022 From version 2022 From version 2022
(All editions with the exception of Core)
Windows Server 2025 From version 2025 From version 2025 From version 2025 From version 2025
(All editions, with the exception of Core)
Attention
Only Intel processor architecture is supported for the operation of zenon on
Windows operating systems.
3.1.3 Linux
Supported operating systems and zenon services for native Linux:
Hardware Operating system Service Engine for Linux Logic Service
Key:
X: supported
REQUIREMENTS
IIoT Services:
Data Hub
Data Storage
Certificate Management
Identity Service
Identity Management
Platform Configuration
IIoT API
Persistence Service
Service Configuration Studio
Device Management
Proxy Service
Information
Service Engine is tested by COPA-DATA in a Docker environment. Service Engine
can also be used on other container environments, e.g. kubernetes.
Note: For extensive projects or several projects loaded at the same time you will need accordingly
faster/stronger hardware. The minimum requirements can increase as a result of this.
15 | 173
System requirements
CPU: Single core with SSE2 support. Quad Core or more cores
Graphics card driver: The graphics card manufacturer's most recent driver.
(DirectX hardware
only)
Operating system: DirectX Hardware and DirectX Software only work on operating systems
with DirectX 11.1 support.
If the system does not support DirectX 11.1, it is automatically switched
to Windows based .
You can check the DirectX hardware compatibility of the graphics card and the driver with the
dxdiag.exe of the Windows operating system.
As of Windows 8: All supported versions of DirectX are displayed in the Display tab under Feature
Levels. For example, DirectX 11 is displayed as 11.0.
Standard Windows user rights are required for ongoing operation. The user account control (UAC)
can be activated at the highest security level.
16 | 173
System requirements
Attention
Keep in mind that Windows user rights settings are not overridden by internal
security software.
Supported processor architectures are listed in the chapters on the respective operating systems (on
page 9).
For your planning, also take into account consumption of zenon independent system resources such
as the size of the storage medium, main memory, CPU performance, etc.
Attention
Graphics cards with at least 1 GB of VRAM and DirectX support are required.
Shared-memory graphics cards may require too much working memory and may
thus lead to considerable performance impairments. Note the System requirements
when using DirectX (on page 15) node. The recommended configuration from this
node is to be noted for the use of Multi-Touch.
ENGINEERING
Engineering Studio uses a Microsoft SQL Server as an SQL Server and has higher hardware
requirements than Service Engine. If Engineering Studio and Service Engine are to be running on a
system simultaneously, the requirements increase.
Information
In Service Engine, an automatic check is carried out to determine whether the
computer has sufficient hardware and operating system resources for the current
process.
For further information, see the Service Engine node in the System integrity
monitoring node.
17 | 173
System requirements
PERFORMANCE OPTIMIZATION
Note that all information stated only constitutes the minimum requirements for your system. Better
hardware equipment improves the performance of zenon considerably.
Equip your hardware - both clients and most of all the server - with sufficient memory (RAM).
Optimize the hardware for data backup, for example with fast SSD data storage.
Match the hardware of the clients and the network to one another. A system is only as
powerful as its weakest component.
Optimize your network architecture, for example with the use of cabling with a high data
transfer rate and corresponding devices (switches and routers).
When using a virtual environment, ensure that the virtual system is correspondingly
configured with performance optimization.
18 | 173
System requirements
Smart Client: 3 GB
IIoT Services: 10 GB
License Management: 1 GB
Graphics adapter Dedicated graphics card with at least 1 GB of High-end graphics card
VRAM.
19 | 173
System requirements
Note: When using comprehensive multi-user projects, note the information in the hardware
requirements node.
For extensive projects or several projects loaded at the same time you will need accordingly
faster/stronger hardware. The minimum requirements can increase as a result of this.
Hardware Minimum requirements Recommended
Smart Client: 3 GB
IIoT Services: 10 GB
License Management: 1 GB
20 | 173
System requirements
21 | 173
System requirements
HARDWARE
Report Engine Server:
Parameter Recommended Minimum
Engineering computer:
22 | 173
System requirements
CONNECTORS
The following is applicable for the Service Engine Connector:
Timeout: is independent of the report timeout.
Default: 5 minutes (can be configured)
Variables: Only variables that are listed in metadata are requested
String variable: maximum of 4000 characters
Attention
Archive data can only be evaluated if the variables and archive configuration are
in the same project.
SCHEDULES
Calendar days in months are limited to 1 - 28 (corresponds to February in non-leap years)
The "Month end" event is not available
23 | 173
System requirements
Information
Do not use zenon color palettes for dynamic limit values for zenon projects
whose data is to be exported for Report Engine. Limit values cannot be
dynamically changed in Report Engine. Information from color palettes can
therefore not be evaluated. This can lead to illegible graphics.
24 | 173
Platform setup
Storage medium At least 3 GB of free space for Smart Client plus More than 10 GB
space for the projects.
4 Platform setup
In this node, you can find detailed information on setup for apps and components of the zenon
software platform.
The zenon software platform is available in different embodiments with different names. Product
names and the scope may differ from the standard installation described.
Notes:
Administrator rights are required for the installation process on the computer!
A restart may be necessary during installation.
Close all other programs before installation.
The minimum screen resolution for the setup is 1280 x 800 pixels.
25 | 173
Platform setup
The information in the left window shows you the current status of the installation process. You switch
to the next respective window with the Next button.
You can get help on installation by clicking on the Help symbol at the top right.
1. From the drop-down list at the top right, select the desired language for installation.
The following languages are available:
German
English
Italian
French
Spanish
Czech
Japanese
Korean
Chinese
Russian
Note: The language can be changed at any time during the setup.
26 | 173
Platform setup
2. Clicking on the Next button opens the window with the license conditions.
3. Confirm the license conditions by activating the corresponding checkbox.
If you do not accept the license conditions, you cannot install the product.
You can also print the license conditions out by clicking on the Print button.
4. Clicking on the Next button opens the privacy policy.
Read the privacy policy carefully.
You can print out the privacy policy by clicking on the Print button.
5. Activate the checkbox for the privacy policy.
This will confirm that you have read this. If you do not accept the privacy policy, the product
cannot be installed.
6. Clicking on the Next button opens the window to select the desired product.
Note: The Next button is only available if you have agreed to the license conditions by
activating the checkbox.
27 | 173
Platform setup
INSTALLATION PACKAGES
There are 6 collections of packages available for installation. By default, only the pre-selected
components are installed, as well as components that you choose to be installed. You can individually
add or remove further components before installation by using the Customize button.
Note: If an exclamation mark is shown for a package, this indicates incompatibility for the installation.
For example, already-installed components that do not permit the installation of a further version. In
this case, select the adjusted installation.
Package Components
Preselected:
Engineering Studio
Reporting Studio
IIoT Services communication components
License Manager
Optional:
Service Engine
(pre-selected)
Report Engine
Smart Client
Smart Server
IIoT Services
Preselected:
Service Engine
IIoT Services communication components
License Manager
Optional:
Engineering Studio
Report Engine
Reporting Studio
Smart Client
28 | 173
Platform setup
Package Components
Smart Server
IIoT Services
Reporting & GraphQL Installs Report Engine and the GraphQL Interface.
Preselected:
Report Engine
IIoT Services
License Manager
Optional:
Engineering Studio
Service Engine
Reporting Studio
Smart Client
Smart Server
IIoT Services communication components
Preselected:
IIoT Services
License Manager
Optional:
Engineering Studio
Service Engine
Report Engine
Reporting Studio
29 | 173
Platform setup
Package Components
Smart Client
Smart Server
IIoT Services communication components
Preselected:
Smart Client
License Manager
Optional:
Engineering Studio
Service Engine
Report Engine
Reporting Studio
Smart Server
IIoT Services
IIoT Services communication components
Preselected:
Smart Server
License Manager
Optional:
Engineering Studio
Service Engine
Report Engine
Reporting Studio
Smart Client
IIoT Services
IIoT Services communication components
30 | 173
Platform setup
ENGINEERING STUDIOS
Theme Description
Solution Engineering Contains all apps that are necessary for the creation,
maintenance and further development of your
automation and reporting solution. Work on all your
projects without programming ability being necessary.
31 | 173
Platform setup
SERVICE ENGINE
Theme Description
Analytics & Reporting Includes the server and the app for creating your own
reporting solution. Create customized reports, simple
calculations and comprehensive KPIs from historical data.
IIOT SERVICES
Theme Description
32 | 173
Platform setup
Attention
Installation packages can be installed with the recommended components with a
click. To do this, select the components you want and click on Install.
You can use the Adjust button to adjust the installation packages individually and
to install several packages.
DEFAULT INSTALLATION
To install a package with the preselected components:
1. Select the desired package.
2. Click on the Install button.
The installation is started.
Note: Your computer may need to be restarted after installation. If the installation process is
not automatically continued after a restart, restart the zenon setup.
3. Follow the instructions of the wizard.
CUSTOMIZED INSTALLATION
You can adjust the packages individually.
33 | 173
Platform setup
34 | 173
Platform setup
Enter the root folder in the installation directory. All selected components are installed in this
path.
Once you have installed an app in the installation directory, you can no longer change this
path for future installations.
Note: If the path cannot be changed, you get a notification if you hover the mouse over the symbol
for the selection of the path.
1. Clicking on the Select Path button opens the dialog to select the required folder. This
configuration is only possible if no objects have been installed that require the installation
location.
2. Note: The configuration is validated on entry. A corresponding warning notice is shown in
the event of an error.
3. If necessary, activate the Harden Installation option in the Options tab.
In this case, note the additional configuration of connections (on page 36) necessary after
installation.
Note: You can only activate this option if there is no other version of the zenon Software
Platform on the device.
4. Click on the Install button.
The installation is started.
Note: Your computer may need to be restarted after installation. If the installation process is
not automatically continued after a restart, restart the zenon setup.
35 | 173
Platform setup
Attention
If there is already a version of IIoT Services on the system, it is strongly
recommended that the data from this installation be backed up before an
update. You can find information about this in the Backup and Restore –
Persistence Instance section.
Note: Setting permissions for files and folders takes effect immediately. The token for access by the
user currently logged in is not updated. This means that the new permissions only take effect when
the user logs in again. The setup requests a restart at the end of the installation to force the current
user to log out and log in again.
Distributed engineering: Activating the Harden installation option also has an impact on
distributed engineering in particular due to its restrictions. You must adjust the SQL Server, firewalls
and connection to your requirements after installation. You can find information about the
configuration of hardened systems in the Help in the Security - distributed engineering with hardened
systems node.
36 | 173
Platform setup
After installation, configure the exceptions in the Windows firewall to be more restrictive, suitable to
their environment and the required apps and services.
On multi-homed systems with multiple network cards, zenon apps and services open the TCP
Listening Port for all network cards present in the system by default. However communication
throughout all network cards is often not necessary and not desirable.
After installing zenon, configure the TCP Listening Ports for the respective services and apps,
according to their environment and requirements. Use the Startup Tool to do this. Only allow
communication between the network card or IP address that is absolutely necessary for this. If you
allocate a service to the Loopback adapter or the IP address 127.0.0.1, you only allow local
communication. This way, local Diagnosis Server access to local diagnosis clients can be limited, for
example.
Note the following for platform functionalities that are independent of the configuration of the
services:
Service Platform functionality
37 | 173
Platform setup
Driver Operations Manager The Driver Operations Manager administers the local
driver instances of Service Engine. It must be contactable
from outside.
License Transfer Service For Remote Licensing of zenon components, they must be
able to communicate via the network. The service can also
be limited again after concluding the licensing.
Logging Service For Remote Logging via the Diagnosis Viewer, the service
must be contactable via the network.
Network Service This service must be reachable via the network for the use
of :
zenon network
Smart Client
Remote Transport Service Serves to manually transfer Service Engine files from an
external instance of Engineering Studio.
Report Engine Licensing Service For Remote Licensing of Report Engine, this service must
be able to communicate via the network. The service can
also be limited again after concluding the licensing.
SCADA Service Engine Connector This service must be able to be contacted via the network
if Report Engine, IIoT Services or remote Service Engine
drivers:
are used with a remote instance
access online data of a Service Engine
Smart Server This service is necessary for the operation of the Smart
Server.
Recommendation: Operate it as a separate instance,
separate from Service Engine.
Smart Server Tunneling This service is necessary for the operation of the Smart
38 | 173
Platform setup
SNMP Trap Service This service must be reachable via the network when
using zenon SNMP services.
The installation process may take some time. Do not turn your computer off in this time. Please also
ensure that your computer is not automatically put into sleep mode.
INSTALLATION IS COMPLETED
At the end of installation, you will receive a message about the success of the installation.
39 | 173
Platform setup
CANCEL INSTALLATION
You can cancel the installation by clicking on the Cancel button.
Before canceling the installation there is a security query.
Possible actions:
Yes: The installation is canceled.
The dialog for an invalid installation is shown.
No: The installation is continued.
40 | 173
Platform setup
You can find detailed information on this in the Backup and Restore – Persistence Instance node.
To do this:
1. Start the Setup for the zenon software platform.
Because there are already components on the system, the page with the available
components is opened immediately.
Note: Information about installation status, requirements, and dependencies of components
are dynamically displayed to you as a tool tip if you hover the mouse over the checkbox for
the components.
2. Select the desired components by clicking on the respective checkbox.
If a further component is needed for a component, this is automatically selected too.
3. Click on Install.
41 | 173
Platform setup
Note: You uninstall components using the Windows Apps app or the Control Panel.
Uninstall components:
Open the Windows Apps settings.
Click on the zenon Platform Setup entry.
Click on Change.
The dialog to select the components is opened.
Select the desired components.
Click on Uninstall.
Example:
42 | 173
Platform setup
When calling up the Windows functionality for modifying and uninstalling apps, only those
components that have been installed with or updated to the selected version are offered for
modification for the zenon Software Platform.
As part of Silent Installation, it is possible to exclude certain standard components from the installation
specifically:
Firewall rules: The CDPROP_INSTALLFIREWALL parameter decides whether rules for the
firewall are set.
Codemeter Software: Can be configured using the PREREQUISITES_ argument for the
ISFeatureInstall parameter. Codemeter is not installed if the argument is not used.
Attention: This argument is applicable for all Prerequisites. Other Prerequisites are also not
installed in this case!
Information
All zenon versions from 7.10 on support silent installation and uninstalling.
Rules:
Default length: 20 characters
Permitted characters:
Letters: A - Z, a - z
Digits: 0 - 9
Special characters: !@$?#%&*
Composition:
at least 1 lower case letter
at least 1 upper case letter
at least 1 number
at least 1 special character
43 | 173
Platform setup
Attention
A user-defined password is not validated.
For example:
SoftwarePlatform.exe -s CDP_WORKLOAD="WlSmartClient"
CDP_WORKLOAD does not make sense for installations that are not silent. The argument is therefore
also not supported and is ignored.
SOFTWAREPLATFORM.EXE
Initiate installation via command line. The following parameters are available for the
softwareplatform.exe CLI app:
44 | 173
Platform setup
Default:1
1034: Spanish
1036: French
1040: Italian
1041: Japanese
1042: Korean
1049: Russian
Default:1033
Default: empty
45 | 173
Platform setup
Default:0
BUILDUPDATE
The BuildUpdate CLI app is used for updating the IIoT Services services of a version or for the
upgrade of the IIoT Services services to the next major version. To this end, the following parameters
are available with the attendant arguments:
Argument Description
/iacceptlicenseagreement Carries out installation for the most recent build versions
(preview, beta). This argument only updates the services of
the same major version. With this argument, you confirm that
you have read the license agreement (EULA) and accept it.
This consent is mandatory for the continuation of the
46 | 173
Platform setup
Argument Description
installation process.
Syntax: [Name of the build update].exe /silent /
iacceptlicenseagreement
Example: SoftwarePlatform15PreviewBuild386011.exe
/silent / iacceptlicenseagreement
SILENT UNINSTALLATION
Uninstallation must be carried out using the same SoftwarePlatform.exe that was used for installation.
Because this is saved in a folder with an execution-specific GUID, the following lines are also logged
with each successful installation.
In doing so, {bundleProviderGuid} is always replaced with the execution-specific GUID. The full path to
the EXE is thus given in the LOG file.
In principle, all actions are documented in the LOG. Certain queries that are displayed as GUI
feedback during normal installation are written here in the LOG file.
47 | 173
Platform setup
If you have already closed the error message window, you can find the log files with the installation
information for the SQL Server in the folder:
C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log
Information
If an update of the Windows operating system is carried out while the zenon setup is running, it
can cause problems during the zenon installation.
48 | 173
Platform setup
To prevent this:
Deactivate the automatic Windows update during the time of installation.
Carry out the Windows update before starting the zenon installation.
Restart the computer after the update has been carried out.
Note: If the anti-virus software you use leads to problems during installation, deactivate the anti-virus
software for the duration of the installation. The computers concerned can be exposed to higher risks
during this time. Activate your anti-virus software immediately after the installation of zenon.
The zenon program files are stored in a folder that is specified during installation.
Additionally the installation asks for a folder for the SQL databases of the projects. The storage
medium for project archiving (SQL, screens etc.) must have enough free space, because all current
and future project data is stored there.
Folder Path
%CommonProgramFiles(x86)%\COPA-DATA
64-bit system:
%CommonProgramFiles%\COPA-DATA
49 | 173
Platform setup
Folder Path
Engineering Studio generates Service Engine files in the Service Engine folder, or they are transferred
to this folder by means of Remote Transport. The Service Engine folder is created or updated when
compiling a project in Engineering Studio. This folder can be configured in Engineering Studio with
the Service Engine folder project property. With remote transfer, the Service Engine folder is defined
in the Remote Transport settings.
DATA FOLDER
Service Engine saves all data files that were created in Service Engine such as alarm files, archive files,
etc. in the data folder. The data folder is created as a subfolder of the Service Engine folder by
default. The folder is automatically assigned the name of the computer that Service Engine is running
on. You can change this save location in the project properties (General/Data folder).
Hint: Never set the data folder to a removable device such as an USB stick or a network device. It is
recommended that the data is recorded locally and backed up externally.
Attention
If the defined path does not exist or is not available, no more data is written
from Service Engine. This means a complete loss of data. Service Engine can still
be operated but must be restarted as soon as the path is available again. The
availability of the folder can be checked via the system driver variable
[Systeminformation] Service Engine folder not available .
50 | 173
Platform setup
manual registration:
1. Run the command line with administrative rights
2. Go to the folder %ProgramFiles%\Common Files\COPA-DATA\zenAdminSrv
3. Start the service zenAdminSrv.exe with the parameter -service
4. Go to the folder %ProgramFiles%\Common Files\COPA-DATA\zenLogSrv
5. Start the service zenLogSrv.exe with the parameter -service
Example
zenAdminSrv:
Folder: C:\Program Files\Common Files\COPA-DATA\zenAdminSrv
Command: zenAdminSrv.exe -service
zenLogSrv:
Folder: C:\Program Files\Common Files\COPA-DATA\zenLogSrv
Command: zenLogSrv.exe -service
51 | 173
Platform setup
52 | 173
Version change and build updates
53 | 173
Version change and build updates
Build updates modify a previously installed version. They mainly fix bugs.
With each setup for new build or new versions, you receive a link to the COPA-DATA website with the
changes between the previous version and the newly-installed one.
BUILD UPDATE
An update only updates those files which are more current than the previously installed files. All
projects and individual settings will remain unchanged. Build updates can contain changes for all
installed components. When calling up the setup, the components that have been changed and the
version to which they have been changed are shown.
Note: Build updates may have lower quality assurance standards than release versions.
Note: Build updates can only be installed locally. Installation on network paths (UNC) is not possible.
VERSION CHANGE
If you want to install a new version of zenon, start the installation routine. The new version is being
installed parallel to the old one. All projects and individual settings will remain unchanged. Projects
aren´t converted to the new version during installation. The respective project is converted when it´s
being opened for the first time in Engineering Studio. A dialog box notifies you about this procedure.
The old version is automatically backed up. If you want to use only the most up-to-date version, use
the Windows control panel software deinstallation routine to remove the old version.
Attention
If an installation involves changing the SQL server (for example, from zenon 10
to zenon 11 or higher), all projects or the workspace must be backed up before
the installation. This backup is read back after the installation. For details see also
section Multi-user projects/Update with change of SQL servers.
If you want to use multiple versions of zenon simultaneously, you have to manage them using the
Startup Tool. You can start only one version at a time. You can select which version you want to run
using the Startup Tool that automatically adjusts all necessary settings. You can find details in the
Startup Tool node.
54 | 173
Version change and build updates
Information
New versions always bring about structural changes. Projects and settings
remain untouched during installation. If you open Engineering Studio for the first
time, projects are converted to the new version. Simultaneously, an automatic
backup of the old version is created.
Converted projects cannot be edited in legacy versions. From version 6.2 on,
Engineering Studio is able to generate projects for different Service Engine
versions.
Important tips for converting projects can be found in the revision text and in
the Project conversion node.
MULTI-USER PROJECTS
To ensure a change to a new zenon version in multi-user projects without data loss:
1. Check in all checked out elements on all Clients by clicking Apply changes.
Nothing must be checked out. This is true for all projects.
2. Install the new zenon version on the server computer.
3. Convert all server projects to the new version.
To do this, load each project on the server computer into Engineering Studio and accept the
conversion.
4. Install the new zenon version on the client computers.
5. Load the projects to the clients.
If an installation involves changing the SQL Server (e.g. from zenon 8.20 to zenon 15), additional steps
are needed.
These steps are carried out:
after all projects are checked in
before the new version is installed
55 | 173
Version change and build updates
Attention: Make sure that the settings of the firewall allows the data traffic between the multi-user
Server and the Clients.
Procedure:
Checkbox for upgrade of IIoT Services is deactivated:
IIoT Services is not updated. They remain in the version already installed on the system.
Checkbox for upgrading IIoT Services is activated:
IIoT Services is updated to the current version.
The task performs a silent installation of the IIoT Services setup without rebooting.
56 | 173
Version change and build updates
If the installation is successful, a button for manual reboot is offered at the end.
Do a reboot before starting IIoT Services. This ensures the correct operation of all
services.
Information
An update of the IIoT Services version can only take place in a build update within
the zenon major version.
The following applies for zenon versions 12 and 14: IIoT Services can be updated
up to version 14.3 at the most.
5.2 Compatibility
Compatibility in zenon concerns:
Service Engine: Cooperation of different Service Engine versions.
Engineering Studio: Up-converting existing projects to new Engineering Studio versions.
Engineering Studio: Creating Service Engine files for different Service Engine versions in
Engineering Studio.
SERVICE ENGINE
Service Engine online compatibility enables Service Engine systems to work together in the zenon
network, as well as via Smart Clients.
The following is applicable here: The version of the client Service Engine must be the same or higher
than the version of the server Service Engine.
For example:
An 8.20 client can work together with an 8.10 server.
An 8.00 client does not work together with an 8.10 server. In this case, the client Service
Engine must be upgraded to version 8.10 or higher.
Note: When using the server and standby server, the same zenon version must be used on both of
them.
The current Service Engine can load projects of the following versions:
6.20 SP4
6.21 SP0
6.21 SP1
6.22 SP0
57 | 173
Version change and build updates
6.22 SP1
6.50 SP0
6.51 SP0
7.00 SP0
7.10 SP0
7.11 SP0
7.20 SP0
7.20 Sp0[current build no.]
7.50 SP0
7.60 SP0
8.00 SP0
8.10 SP0
8.20 SP0
10.00
11.00
12.00
14.00
15.00
Due to the multi-project administration, projects from different versions can be loaded. For example,
the integration project can be from version 8.20, a subproject from version 8.10 and another
subproject from version 7.60.
ENGINEERING STUDIO
Engineering Studio can open projects from the previous versions in each new version. These can be
edited further in the new version. If adjustments are required by the user, information can be found in
the current revision text and in the Project conversion node. When opening a project with a lower
version number in a higher Engineering Studio version:
the project is automatically converted
a backup of the project is automatically created
58 | 173
Version change and build updates
Attention
There is no backward compatibility between Engineering Studio versions.
Backward compatibility is only ensured between Engineering Studio and Service
Engine.
That means:
Converted projects can no longer be opened in a Engineering Studio with a
lower version number.
The project backup created during conversion can still be opened and
edited.
Also avoid transferring projects via XML import from newer to older versions.
This can lead to undesirable results. Drivers in particular can perform differently
than expected.
For example: A project that has been configured with Engineering Studio version 10.00 and
compiled for version 8.00 can also be started with Service Engine version 8.00.
Attention
If possible, the same version of Engineering Studio and Service Engine should
always be used, or a newer version of Service Engine. Configurations of
properties that are not available in older versions can lead to unwanted results in
older versions of Service Engine. The same is applicable for Create Service
Engine files for and driver Configuration.
59 | 173
Software and paths for installation and operation
Attention: In order to ensure consistency of Service Engine files, all Service Engine files must be
newly created each time this property is changed. The configurations for all drivers are converted.
Settings that do not exist in the configured version are set to the default setting.
In certain configurations, an error may occur when creating Service Engine files:
You can create Service Engine files on a computer with:
Windows 10
operating system and
Office 365.
The creation of Service Engine files has failed and is ended with an error message.
Solution:
1. Go to the folder: %AppData%\Microsoft\FORMS.
2. Delete the file zenone32.box.
3. This file is created new automatically by the zenon.
XML
Data exported in XML is then available for import into later Engineering Studio versions.
Exception: If data from the RGM is saved in Service Engine directly as an XML file using the export
function, this cannot be reimported.
Recommendation: Avoid transferring projects via XML import from newer to older versions. This
can lead to undesired events in Engineering Studio and Service Engine.
60 | 173
Software and paths for installation and operation
Info
You can display many standard paths with the help of the set command:
start the command line (enter cmd in the Windows start area)
enter command set
by pressing the Enter key, the default folder for Windows and zenon are
displayed
Note: Because absolute paths can differ in different operating systems, paths are always displayed as
Windows environment variables in this node. For example %ProgramData% instead of
C:\ProgramData.
INSTALLATION
During installation, paths are set for:
Installation directory zenon Software Platform 32-bit
Installation directory zenon Software Platform 64-bit
Engineering Studio SQL database
Report Engine SQL database
Adjust the path of the installation directory to install all selected components there.
Attention
Once a zenon component has been installed in an installation directory, the path
cannot be subsequently changed.
The setup needs administrator rights; this is also applicable when changing the installation paths.
REQUIREMENTS
The installation paths of the required third-party software match the standard paths of the respective
manufacturer and cannot be changed during setup.
The additional software packages that need to be installed depend on the type of installation:
Engineering Studio
Service Engine
Smart Client
Logic Service
61 | 173
Software and paths for installation and operation
Key:
X: supported
Notes:
Microsoft Visual Studio Tools for Applications (VSTA 2.0) is not required and is not installed
during setup. It can be installed separately using the Startup Tool. To do this, the
VSTA_AddOn.exe file must be on the system.
Microsoft Visual Basics for Applications (VBA) is not required and is not installed during
setup. It can be installed separately using the Startup Tool. To do this, the VBA_AddOn.exe
file is provided on the system with the setup.
ZENON
62 | 173
Software and paths for installation and operation
ENGINEERING STUDIO
In Engineering Studio, the following paths are used by default:
Object Path
Workspace %CD_USERDATA%
Projects %CD_USERDATA%
zenon6.ini %ProgramData%\COPA-DATA\System
%ProgramData%\COPA-DATA\[SQL folder\GUID]\FILES\[Projects]
SERVICE ENGINE
In Service Engine, the following paths are used by default:
63 | 173
Installation of Service Engine
Object Path
Projects %CD_USERDATA%\[Workspace]\[Project]\RT
ZENON LOGIC
Paths for zenon Logic are created in the same way as zenon paths.
To do this:
Save your project files on an external data medium.
Use Drag&Drop or Copy&Paste to transfer these to your Service Engine device.
or
Get the project from the server on the Service Engine device.
Create a Client using the network topology.
A license is required after installation of Service Engine in order to put it into operation. The license is
transferred with the License Manager.
Note: The storage medium of the device you are operating may stop working after many years of
use in a harsh industrial environment. To avoid loss of data, it makes sense to ensure that you have a
64 | 173
Installation of Service Engine
redundant environment. This redundancy is implemented with a server and a Standby Server.
Implement this redundancy with the zenon network. With this redundancy design, a server and a
Standby Server are used, to guarantee fail safety.
7.1 Installation
For the installation of Service Engine, start the installation process from your zenon installation
medium.
This process automatically starts when the zenon installation medium is connected and guides you
through the whole installation. Alternatively, it is possible to start the installation by executing the
START.exe file in the root folder of your zenon installation medium.
Information
You can find further information in the Installation and updates (on page 8)
node in the zenon standard installation (on page 25) node.
Note: For extensive projects or several projects loaded at the same time you will need accordingly
faster/stronger hardware. The minimum requirements can increase as a result of this.
Parameter Minimum requirements Recommended
CPU: Single core with SSE2 support. Quad Core or more cores
65 | 173
Installation of Service Engine
Graphics card driver: The graphics card manufacturer's most recent driver.
(DirectX hardware
only)
Operating system: DirectX Hardware and DirectX Software only work on operating systems
with DirectX 11.1 support.
If the system does not support DirectX 11.1, it is automatically switched
to Windows based .
You can check the DirectX hardware compatibility of the graphics card and the driver with the
dxdiag.exe of the Windows operating system.
As of Windows 8: All supported versions of DirectX are displayed in the Display tab under Feature
Levels. For example, DirectX 11 is displayed as 11.0.
The zenon program files are stored in a folder that is specified during installation.
Additionally the installation asks for a folder for the SQL databases of the projects. The storage
medium for project archiving (SQL, screens etc.) must have enough free space, because all current
and future project data is stored there.
66 | 173
Installation of Service Engine
Folder Path
%CommonProgramFiles(x86)%\COPA-DATA
64-bit system:
%CommonProgramFiles%\COPA-DATA
Engineering Studio generates Service Engine files in the Service Engine folder, or they are transferred
to this folder by means of Remote Transport. The Service Engine folder is created or updated when
compiling a project in Engineering Studio. This folder can be configured in Engineering Studio with
the Service Engine folder project property. With remote transfer, the Service Engine folder is defined
in the Remote Transport settings.
67 | 173
Installation of Service Engine
DATA FOLDER
Service Engine saves all data files that were created in Service Engine such as alarm files, archive files,
etc. in the data folder. The data folder is created as a subfolder of the Service Engine folder by
default. The folder is automatically assigned the name of the computer that Service Engine is running
on. You can change this save location in the project properties (General/Data folder).
Hint: Never set the data folder to a removable device such as an USB stick or a network device. It is
recommended that the data is recorded locally and backed up externally.
Attention
If the defined path does not exist or is not available, no more data is written
from Service Engine. This means a complete loss of data. Service Engine can still
be operated but must be restarted as soon as the path is available again. The
availability of the folder can be checked via the system driver variable
[Systeminformation] Service Engine folder not available .
68 | 173
Installation of Service Engine
69 | 173
Installation of Service Engine
Examples of this:
Communication with CodeMeter --> USB dongle
Loading VBA or VSTA code
Embedding ActiveX elements in screens
Frequent file access, for example for archiving, CEL, AML...
Note: There are compatibility problems with Ahnlabs V3 virus scanner. If zenon refuses to start and
displays an error message, put V3 into Game-Mode or uninstall V3.
PORTS USED
For communication within zenon, only TCP ports are used; no UDP ports are used. zenon requires the
following ports in the network:
Service File Task TCP
port
Port numbers can be changed individually via the Listening ports tab in the Startup Tool. In this case,
the measuring range must be adapted manually.
70 | 173
Installation of Service Engine
Furthermore, zenon and Report Engine services use a range of default ports.
DEFAULT PORTS
ZENON
Application Startup Tool naming Standard port
71 | 173
Installation of Service Engine
ZENON LOGIC
Application Standard port
Assigned port for zenon Logic or straton depends on the project and 1200 - 1210
service.
4500 - 4510
e.g.: First zenon Logic project used 1200 and 9000, second project 1201
7000 - 7010
and 9001 etc.
9000 - 9010
REPORT ENGINE
Application Standard port
DRIVERS
Application Standard port
IIOT SERVICES
Application Standard port
72 | 173
Installation of Service Engine
Note: zenon drivers that communicate by means of Ethernet use TCP and may therefore require
permissions in the firewall in this case, depending on the port used. Therefore you must ensure that
you can share the necessary ports.
The minimum requirements are listed in the following table. These are based on a complete
installation of Service Engine. For extensive projects or several projects loaded at the same time you
will need accordingly faster/stronger hardware. The minimum requirements can increase as a result
of this.
Hardware Minimum requirements Recommended
73 | 173
Installation of Service Engine
Network 64 kBits/s for standard Client/Server projects. 100 Mbits/s full duplex
connection for standard
100 Mbit/s full duplex for redundant
(optional) Client/Server projects.
operation.
74 | 173
Installation of Service Engine
Information
You can display many standard paths with the help of the set command:
start the command line (enter cmd in the Windows start area)
enter command set
Press the Enter key to display standard folders for Windows and zenon
Note: As absolute paths differ in different operating system, the paths are displayed as Windows
environment variables in this node. For example %ProgramData% instead of C:\ProgramData.
SETUP
During setup, paths are set for required third-party software and the Service Engine folder.
Setup requires administrator rights, which also applies to changing the installation paths. You can
read more information about prerequisites in the Installation and updates (on page 8) node, in the
Software and paths for installation and operation (on page 60) node.
SERVICE ENGINE
Service Engine uses the path that is set in zenon6.ini for projects. This path can be set using the
Startup Tool as well as using the Remote Transport from a Engineering Studio.
Object Path
ZENON LOGIC
Paths for zenon Logic are created in the same way as zenon paths.
75 | 173
Installation of Service Engine
Each installation contains at least one demo license. This has a pre-defined duration or number of
permitted starts. If these are used up, the component can continue to be used in demo mode, but it
is automatically ended after running for a defined duration however. You can find out what usage
period is available in the License Manager. To do this, open the details of the license in the License
Manager tab.
COPA-DATA components:
Engineering Studio with Logic Studio as a service
Demo license:
30 Starts, with a duration of 30 minutes each
10 minutes, if the number of demo starts has been used up
Service Engine und Logic Service:
Runtime period for demo licenses:
43200 minutes on hardware computers
1440 minutes for virtual machines
30 minutes if the time allocation has been used up
Logic Studio (as an integrated solution in Engineering Studio)
Term for demo licenses:
256 TAGs
120 minutes
Process Gateway and OPC DA Server
Report Engine
Certificate Management
IIoT API
76 | 173
Installation of Service Engine
Identity Service
Demo licenses have their own software dongles. These cannot be used for other licenses. The last
existing demo license cannot be deactivated using the License Manager.
The remaining duration and the number of the starts that are still possible for demo licenses and
demo mode are shown in the start screen and in the version and license information.
Note: If there is also no demo license available in License Manager, contact your COPA-DATA sales
partner.
Hint
You can use demo licenses to test components and editions. To do this, place
the demo license at the first location of the license list in the License Manager.
This license is used the next time the component is started.
77 | 173
Installation of Service Engine
This table only states the figures that are different to the standard installation. The other parameters
correspond to the figures described in the Hardware requirements for Service Engine (on page 20)
node.
Hardware Minimum requirement Recomme
nded
Attention: If you log historical data (e.g. archived data or alarm/CEL data), there will need to be
sufficient memory available or the configuration has to ensure that the historical data is evacuated or
deleted.
This is also the case if the stated overall CPU load is low.
78 | 173
Installation of Service Engine
Example: The illustration shows a situation in which a logical processor is constantly under a high
load of 80%. However, because the CPU speed has not achieved peak values (2.8 GHz of a nominal
3.30 GHz), this system can be seen as just about powerful enough.
If the computers continually work with a high load, it is recommended that they are operated in an
air-conditioned environment.
Note: In the zenon network, the Standby Server needs the highest CPU capacities, because it must
process both the tasks of the server and those of the client. If a CPU load that is too high is detected,
the zenon project should be scaled to several projects and distributed to further servers. You can find
more information in the Multi-Project Administration node.
79 | 173
Report Engine
5. Click on Uninstall.
6. Follow the uninstall wizard.
8 Report Engine
This section provides information for installing the Report Engine.
Attention
Ensure that you have the appropriate licenses.
Note: For each user, up to three different devices at the same time per license are
permitted.
You can find the hardware and software requirements in the Prerequisites node.
NOTES
Note the following before installation:
Theme Description
User authorizations: Local administrator rights are required for the installation of Report
Engine.
Ensure that, after installation, there is at least one user who can log
into Report Engine.
80 | 173
Report Engine
Theme Description
installation. Report Engine is used by User 2 however. User 1 must add
User 2 in the Reporting Studio after installation.
ISOs and restart: The content of ISO images must be copied to a local storage medium
before the installation and setup can be started from here.
The inclusion of an ISO image and the installation of Report Engine by
the mounted driver cannot be completed successfully if a restart is
required during installation.
Licensing: Licensing is carried out using the License Manager. This can be started
from Reporting Studio or from the operating system directly.
.NET Framework 4.8: .NET Framework 4.8 must already be installed and running on the
target computer in order to carry out the installation successfully.
Otherwise, an error notification from the Report Engine setup will show
up and the installation process will be canceled.
Remote installation: The installation medium must be on the local computer. Network
drives may not be available punctually for a reboot during installation.
For remote installations and virtual installations, copy the content of
the installation medium to a temporary folder on the computer and
start the setup.
Server: The Report Engine server and the Domain Controller must not be
installed on the same computer.
IIoT Services Some components need a connection to the IIoT Services in order to
connect with the Service Engine. You can configure this with the IIoT
Services Connection Wizard.
SQL Server If the SQL Server Management Studio (SSMS) is to be available, it must
Management Studio: be installed manually.
Wizards Several wizards are available for Report Engine. They work with
different Report Engine versions and zenon versions. For details, read
the Report Engine wizard compatibility node.
81 | 173
Report Engine
Notes on update: When switching version, the version of the assemblies contained in the database
is checked before the update of the structure. If the version to be installed is more recent, the SQL
elements contained are updated.
82 | 173
Report Engine
The information in the left window shows you the current status of the installation process. You switch
to the next respective window with the Next button.
You can get help on installation by clicking on the Help symbol at the top right.
1. From the drop-down list at the top right, select the desired language for installation.
The following languages are available:
German
English
Italian
French
Spanish
Czech
Japanese
Korean
Chinese
Russian
Note: The language can be changed at any time during the setup.
2. Clicking on the Next button opens the window with the license conditions.
83 | 173
Report Engine
84 | 173
Report Engine
INSTALLATION PACKAGES
There are 6 collections of packages available for installation. By default, only the pre-selected
components are installed, as well as components that you choose to be installed. You can individually
add or remove further components before installation by using the Customize button.
Note: If an exclamation mark is shown for a package, this indicates incompatibility for the installation.
For example, already-installed components that do not permit the installation of a further version. In
this case, select the adjusted installation.
Package Components
Preselected:
Engineering Studio
Reporting Studio
IIoT Services communication components
License Manager
Optional:
Service Engine
(pre-selected)
Report Engine
Smart Client
Smart Server
IIoT Services
Preselected:
Service Engine
IIoT Services communication components
License Manager
Optional:
Engineering Studio
Report Engine
Reporting Studio
Smart Client
85 | 173
Report Engine
Package Components
Smart Server
IIoT Services
Reporting & GraphQL Installs Report Engine and the GraphQL Interface.
Preselected:
Report Engine
IIoT Services
License Manager
Optional:
Engineering Studio
Service Engine
Reporting Studio
Smart Client
Smart Server
IIoT Services communication components
Preselected:
IIoT Services
License Manager
Optional:
Engineering Studio
Service Engine
Report Engine
Reporting Studio
86 | 173
Report Engine
Package Components
Smart Client
Smart Server
IIoT Services communication components
Preselected:
Smart Client
License Manager
Optional:
Engineering Studio
Service Engine
Report Engine
Reporting Studio
Smart Server
IIoT Services
IIoT Services communication components
Preselected:
Smart Server
License Manager
Optional:
Engineering Studio
Service Engine
Report Engine
Reporting Studio
Smart Client
IIoT Services
IIoT Services communication components
87 | 173
Report Engine
Notes:
1. Packages can only be deselected if they are not required by any other package.
Already-installed packages cannot be deselected.
2. If necessary, configure the paths for installation in the Options tab.
3. The computer may be restarted automatically during installation.
8.1.4 Updates
In zenon, you can change to new versions for example, from 10 to 11. Or you can install updates
within a version.
New versions can be installed in parallel with existing versions. They mainly offer new
features.
Build updates modify a previously installed version. They mainly fix bugs.
With each setup for new build or new versions, you receive a link to the COPA-DATA website with the
changes between the previous version and the newly-installed one.
BUILD UPDATE
An update only updates those files which are more current than the previously installed files. All
projects and individual settings will remain unchanged. Build updates can contain changes for all
installed components. When calling up the setup, the components that have been changed and the
version to which they have been changed are shown.
88 | 173
IIoT Services
Note: Build updates may have lower quality assurance standards than release versions.
Note: Build updates can only be installed locally. Installation on network paths (UNC) is not possible.
Note: An upgrade is a higher-level configuration or version. For example, if Analyzer 3.40 or an older
version, and Report Engine 10 or a later version are installed in parallel, this is not an upgrade.
9 IIoT Services
In this section you will find information for installing IIoT Services and for the initial setup on Windows
or Docker.
89 | 173
IIoT Services
9.1 Installation
It is recommended to always install the latest IIoT Services release. Existing installations can be upgraded within the recommended update paths (on page
96).
Method of installation Configuration files Configuration files As native Windows application via an ISO file.
Internal services Docker services as a Linux Docker services as a Linux Windows Services
container container
Minimum number of 1 computer for the 1 computer for the IIoT 1 computer for the IIoT Services and all clients (Windows
computers for test IIoT Services and all Services (Linux host host OS)
environment clients (Windows OS)
host OS)
1 computer for
clients (Windows
host OS)
Minimum number of 1 dedicated 1 dedicated computer 1 dedicated computer for the IIoT Services.
computers for produtive computer for the for the IIoT Services.
Separate computers for clients.
environment IIoT Services.
Separate computers
Separate computers for clients.
for clients.
Note: The installation options of IIoT Services are basically the same for the administration in the Service Configuration Studio.
IIoT Services
Example: User A installs IIoT Services using Docker Desktop for Windows.
User A has access to IIoT Services through their user account.
User B does not have access to IIoT Services through their user account
on the same computer.
Hint: You can get around this limitation on a test system by using a shared user
account.
IIoT Services
STANDALONE INSTALLATION
With a standalone installation, other than IIoT Services, no further zenon services are installed.
PARALLEL INSTALLATION
In a parallel installation, both IIoT Services as well as other zenon services are installed on the same
computer.
Parallel installation is only recommended for separately documented cases. An example of this is the
test environment in the Getting Started Guide for the IIoT Services (Docker on Windows) installation
option (on page 104).
Attention
If you run IIoT Services on a virtual machine with Docker containers: First check
whether AVX commands are supported by the underlying hypervisor.
93 | 173
IIoT Services
Procedure:
Checkbox for upgrade of IIoT Services is deactivated:
IIoT Services is not updated. They remain in the version already installed on the system.
Checkbox for upgrading IIoT Services is activated:
IIoT Services is updated to the current version.
The task performs a silent installation of the IIoT Services setup without rebooting.
If the installation is successful, a button for manual reboot is offered at the end.
Do a reboot before starting IIoT Services. This ensures the correct operation of all
services.
Information
An update of the IIoT Services version can only take place in a build update within
the zenon major version.
The following applies for zenon versions 12 and 14: IIoT Services can be updated
up to version 14.3 at the most.
94 | 173
IIoT Services
The Mongod.cfg file is available to all users, including users without administrator rights.
Attention
When using IIoT Services after a Windows Native installation, the respective
MongoDB file Mongod.cfg must be protected accordingly.
Save the file with a write protection function to reduce the risk of unauthorized
changes.
9.1.3 Kubernetes
In the Docker installation option, the IIoT Services services are installed in Linux containers. This meets
the requirements for operating IIoT Services in a Kubernetes cluster.
By using the Kubernetes container management, you can provide, scale and manage containers
automatically.
Hint
The use of IIoT Services in a Kubernetes cluster requires relevant prior
knowledge and is generally recommended only for enterprise environments.
95 | 173
IIoT Services
Available configurations will be automatically carried over during the update. It is recommended to
perform a backup of Persistence Instance before every version update.
9.1.5 Compatibility
The IIoT Services typically connect zenon applications and third-party applications to one another. It
must be ensured that all connected applications are compatible with one another.
Information
Backward compatibility:
The IIoT Services support components of the zenon software platform from version
10 and higher.
96 | 173
IIoT Services
For existing project configurations in Engineering Studio, it is expressly recommended that the
connections to the IIoT Services and the configuration for individual services are reconfigured.
You can find detailed information on the configuration in the IIoT Services - configuration in
Engineering Studio section.
If the central IIoT Services URL is entered in a web browser, Service Configuration Studio starts.
The following is applicable in order to work seamlessly with a zenon installation with IIoT Services:
Service Engine or Engineering Studio in version 11 communicate with IIoT Services version
11.2 or higher:
97 | 173
IIoT Services
Build 111398 or higher for Service Engine or Engineering Studio must be installed.
The following configurations must also be updated:
Service Node Configuration Tool
When entering a Connection setting, add the /hub-controller sub-path to the central
URL.
Example: https://hostname.local/hub-controller
Attention: From version 12, the Service Node Configuration Tool has been replaced
with the IIoT Services Connection Wizard.
Configuration in Engineering Studio
It is not necessary to specify a subpath for configurations in Engineering Studio. The
same URL is used for Identity Service and Data Storage. Entering the central URL is
sufficient. The URL of the corresponding properties must be configured as URL + port.
Examples:
URL for Identity Service (Network property group, Identity Service, property: URL)
URL for Data Storage (Network property group, Data Storage, property: URL)
hostname.local:9443
98 | 173
IIoT Services
Hint
Existing certificate bundles of an old IIoT Services version are usually compatible
with the new version and do not need to be issued again.
The Persistence Instance with all configurations of the IIoT Services is migrated
automatically.
The backup of the Persistence Instance is a security precaution. This means that a
restore is possible in the event of an error.
Please also note the Backup and restore – persistence instance node in order to back up your data
before an update.
Note: Ensure that the database version and compatibility version correspond to the supplied
database version if you are using your own database.
The updating of MongoDB for Windows operating systems is fully integrated into the setup. No
additional manual steps are necessary.
With an update of previous versions to version 12.x or version 14.x, the following is necessary:
The following requirements are necessary for updating MongoDB in a Docker environment:
The tool CopaData.ServiceGrid.Tools.PersistenceManagementCli.exe is installed on the
computer running Docker Desktop for Windows.
The installation is done by running PersistenceManagementCli.x64.msi.
The data are stored in the following folder:
%programfiles%\zenon\zenon Platform 15\IIoT Services\PersistenceManagementCli.
The MongoDB Command Line Database Tools are installed.
The PATH environment variable has been extended with the path to the MongoDB
Command Line database tools (see previous step), e.g.:
C:\Tools\mongodb-database-tools-windows-x86_64-100.7.0\bin
99 | 173
IIoT Services
RUN UPDATE
In this case, clear the cache of your web browser. In addition, you can call up the login screen in a
private window of the web browser.
Information
Generally speaking, you should always use the version of IIoT Services Gateway
that corresponds to the installed version of IIoT Services.
VERSION CHECK
Different versions of IIoT Services and IIoT Services Gateway can communicate with one another on
the basis of a common protocol.
100 | 173
IIoT Services
For communication, a check is carried out to see which version of the protocol is used by the
individual components. The check is successful if all components use the same major version of the
protocol. Minor versions can be different. If the major version is different for a component,
communication is no longer possible.
Example:
Components with 20.00 can communicate with 20.10.
Components with 20.10 cannot communicate with 30.10.
9.1.5.7.1 Installation
For the connection between zenon applications and IIoT Services, the appropriate version of the IIoT
Services Gateway must be selected and installed.
Important: You must always execute both installers (x86 and x64) on each client. This way, you
ensure that these clients can connect to the IIoT Services.
Tip
Check the installation:
Under Apps and features, the Windows operating system shows a separate
entry for each installed version of the IIoT Services Gateway.
9.1.5.7.2 Configuration
PRIOR CONSIDERATIONS
Several versions of the IIoT Services Gateway can be installed on a computer at the same time. The
system cannot use these versions at the same time however. Only one version of the IIoT Services
Gateway can ever be centrally configured and used.
101 | 173
IIoT Services
In practice, several versions of the IIoT Services Gateway are typically installed on a computer at the
same time.
Hint
Use several versions alternately:
You can use several versions of the IIoT Services Gateway alternately on one
computer. For each change, you must configure the respective required version
of the IIoT Services Gateway manually in zenon6.ini.
DEFAULT CONFIGURATION
By default, zenon applications always connect to IIoT Services via the most-recently-installed version
of the IIoT Services Gateway.
The default configuration covers the usual application purposes and therefore does not generally
need to be adjusted manually by the user.
MANUAL CONFIGURATION
Manual configuration of the IIoT Services Gateway by the user is only required in a few cases.
You can use the manual configuration in the zenon6.ini file to define for your system which version of
the IIoT Services Gateway is used to connect zenon applications to IIoT Services.
General requirement:
Several versions of the IIoT Services Gateway are installed on the computer.
102 | 173
IIoT Services
Hint
Restart applications and services:
You must restart the following components after manual configuration of the
IIoT Services Gateway:
All zenon apps connected to the IIoT Services: Service Engine, Engineering
Studio and Reporting Studio
The Windows service for the Report Engine service node (if you are using
Report Engine): zanMQTTClientxxxx
The new configuration is only effective after restarting these applications and
services.
[ServiceGridGateway]
Version=LAST
In this configuration, zenon applications connect to the most recent version of the IIoT Services
Gateway that is installed on the computer.
Version=11_0
SYNTAX
The syntax for manual configuration of the version is "MM_N". The first two figures "MM" define the
version number of the major release. The last figure "N" defines the minor release.
103 | 173
IIoT Services
Hint
Configure the figure for the minor release:
The last figure must always be given, including for major releases, such as IIoT
Services Gateway 11 for example. In this case, you must configure the value
"11_0".
Information
These instructions were written on an operating system in English.
GENERAL
You can find information on installation via setup in the Installation and update (on page 8) section in
the Installation (on page 90) node.
REQUIREMENTS
Pay attention to the following points to ensure error-free installation and execution:
Working internet connection.
Windows administrator rights.
Sufficient hardware resources.
104 | 173
IIoT Services
You can find the required storage space for further zenon components in the Installation and update
(on page 8) section in the Engineering Studio (on page 18) node.
You can find further information on supported operating systems in the Installation and update (on
page 8) section in the Windows operating systems (2/2 (on page 12)) node.
BROWSER
Note: Always use the most recent version of the respective browser.
105 | 173
IIoT Services
Info
This installation can be present on a dedicated computer or on the same
computer as the Windows installation.
106 | 173
IIoT Services
4. After the necessary restart of the computer, make sure that you mount the ISO file again.
Otherwise the installation will not be carried out correctly.
Note: Do not close the Installation successful window. You still need it to activate the licenses and to
configure IIoT Services .
Attention
If you have nevertheless unintentionally closed the Installation successful
window, you can continue configuration via the Service Configuration Studio
home page and zenon License Manager.
* Replace mycomputer.mydomain.com in the URLs with your computer’s FQDN (on page 122).
107 | 173
IIoT Services
Here is how you install the demo license (on page 76):
1. Click, in the Installation successful window, in the 1. Activate license for IIoT Services section,
on the Open License Manager button.
2. In the License management window that opens, click on Advanced options.
3. Then click on Advanced license administration.
4. Activate the necessary licenses for Data Hub, IIoT Services API, Identity Service and Asset
modeling. To do this, move the slider to the right. The green background shows that the
license has been activated.
5. Use the arrow buttons to move the activated licenses upwards.
6. Close the dialog by clicking on the Close button.
You can also use your own, pre-existing zenon licenses. You can find information about licensing in
the Licensing node in the Licensing in a few steps node.
108 | 173
IIoT Services
Attention
All zenon components that you use in conjunction with IIoT Services must also
be licensed.
You can find information in relation to this in the Licensing node in the Licensing
components - overview node.
Note: In Service Configuration Studio, you can continue the configuration of the platform at
a later point in time by clicking on the Platform Configuration button. The configuration is
continued from the point where it was stopped.
2. In the Platform Configuration window, click on the Get started button.
3. Enter a user name in the Create administrator account window.
4. Enter a password. Note the given password criteria. If the password criteria are adhered to,
the font color changes to green.
5. Enter the password again. If the two entries of the password match, the Create administrator
account button is activated.
6. Click on this button. The creation of the administrator account is thus completed.
109 | 173
IIoT Services
Note: This user is also authorized to configure IIoT Services and to create further users
Attention
Note the password in a secure place. If the password is forgotten, there is no
possibility to retrieve it.
You can use the arrow keys to switch the view in the dialog, in order to display additional,
topic-specific information. On each page of the summary, the topic displayed is linked to the zenon
Help.
110 | 173
IIoT Services
Tip
Create the link for Service Configuration Studio as a bookmark in your browser.
* Replace mycomputer.mydomain.com in the URLs with your computer’s FQDN (on page 122).
9.2.1.4 Configuration
In this node, you can find information on setting up the following components:
1. Engineering Studio
2. Service Engine
3. IIoT API
111 | 173
IIoT Services
Note: You can find further information on the IIoT Services Connection Wizard in the IIoT Services
Connection Wizard node in the Welcome section.
To configure variables:
1. Select the desired variable.
2. Open the Authorization/eSignature group in the properties.
3. Switch to the IIoT Services settings subgroup.
4. Configure the variable for use in IIoT Services.
Configurable properties:
Access permission
Note: For reasons of security, access permission should only be set to the extent that they are
actually required.
112 | 173
IIoT Services
Assign the Administrator user the right to access Service Engine via IIoT Services.
113 | 173
IIoT Services
You have thus added the Administrator user of the Users user group.
You have thus added the resource to the Users user group.
You have thus assigned the necessary role to the resource. Tthe Administrator user can access the
released variables in Service Engine via IIoT API.
114 | 173
IIoT Services
9.2.1.4.9User authorization
For a manual query using the IIoT API, you must authorize yourself. To authorize a user in the IIoT
API:
1. Ensure that Service Engine has been started.
2. Open the Service Configuration Studio.
3. Go to the IIoT API button.
115 | 173
IIoT Services
Info
You can find the complete list of IIoT API error codes in the Troubleshooting
node in the IIoT API error codes node.
116 | 173
IIoT Services
SELECT ENDPOINT
1. Ensure that Service Engine has been started.
2. Start Service Configuration Studio.
3. Go to the IIoT API button.
4. Ensure that the user authorization for the IIoT API (on page 115) is available.
5. Check whether the value REST v1.0 is set as API version in the header.
6. Go to the DataSourcesApi category.
7. Go within the category to the line with the /api/v1/datasources endpoint.
117 | 173
IIoT Services
QUERY PROJECT
1. Click on the blue GET button in the line. This expands the endpoint.
2. Click on the Try it out button.
3. Click on the Execute button.
4. Copy the dataSourceId into a text file. You need this value for the following test.
Note: It is identical to the project ID of your project.
RESULT
The query shows the available project.
OPEN ENDPOINT
1. Ensure that Service Engine is running.
2. Ensure that the user authorization for the IIoT API (on page 115) has been carried out.
3. Start Service Configuration Studio.
4. Go to the IIoT API menu item.
5. Check whether the value REST v1.0 is set as API version in the header.
118 | 173
IIoT Services
CONFIGURE QUERY
1. Click on the green Post button.
2. Click on the Try it out button. You have thus activated the input field for the dataSourceId.
3. Enter the dataSourceId (identical to the zenon project ID).
Note: You have thus defined the target project for the query. (Example: Initial query (on
page 121))
4. Change the following points in the Query specification:
a) fields: Replace the predefined "string" with "name", "value".
You thus define the data fields for the query.
b) nameFilter: Replace the predefined "string" with "*".
You use this placeholder to query all values unfiltered. (Example: custom query (on page
121))
5. Then click on Execute to perform the query.
6. The query is acknowledged as follows: "Code 200" "Ok. Returns the queried variables.”
7. The "Response body" section shows the query result. (Example: query result (on page 122)).
119 | 173
IIoT Services
The query result shows the released variables and their variable values from the specified zenon
project.
120 | 173
IIoT Services
Code Sample:
{
"fields": [
"string"
],
"nameFilter": {
"variableNames": [
"string"
]
}}
Initial query
Code Sample:
{
"fields": [
"name", "value"
],
"nameFilter": {
"variableNames": [
"*"
]
}}
Query of variables and variable values
121 | 173
IIoT Services
Code Sample:
{
"variables": [
{
"name": "MY_VARIABLE",
"value": "1"
}
]
}
The shared variable and the variable value are in the "Response body" section.
9.2.1.5 Appendix
In this node, you can find further information on the following topics:
1. Determine FQDN (on page 122)
2. Monitoring services (on page 122)
3. Test environment vs. productive environment (on page 123)
122 | 173
IIoT Services
2. Enter services.msc.
3. Confirm the entry with Enter. This then opens the console for the administration of services.
4. You can find the services at: zenon and service names.
5. All zenon services must in principle be in running state.
Note: Data Storage can also be in exited status if it is not being used.
Network topology All applications run on the The applications run on different
same computer. computers.
Passwords It is possible to use For all logins, it is essential that you assign
predefined passwords in a your own secure passwords.
protected test environment.
The container images supplied by COPA-DATA are based on Linux and can be run on Docker for
Windows as well as on Docker for Linux and other container platforms.
The target group is users who have little or no experience with Docker.
123 | 173
IIoT Services
Info
These instructions were written on an operating system in English.
Requirements
Ensure that the following points have been met:
Sufficient resources for the smooth operation of all installed applications (CPU, RAM,
storage space).
The CPU must support hardware virtualization.
CPU hardware virtualization must be activated in the BIOS.
Working internet connection.
Ensure that you have Windows administrator rights on the computer.
124 | 173
IIoT Services
Information
In this guide, the entire installation is carried out on one computer.
Attention
If you run IIoT Services on a virtual machine with Docker containers:
First check whether AVX commands are supported by the underlying hypervisor.
Note: You can obtain the container images from Docker Hub (https://hub.docker.com/u/copadata).
The Hyper-V hardware visualization layer from Microsoft hosts the Windows operating system and
the Windows Subsystem for Linux 2 (WSL 2).
125 | 173
IIoT Services
You can download the configuration files for IIoT Services from the COPA-DATA
(https://www.copadata.com/en/downloads/product-downloads/) website.
The following content of the download is relevant for putting it into operation:
IIoT Services configuration files: .env and docker-compose.yml
One PDF file: IIoT Services
126 | 173
IIoT Services
Datenbank
Machine settings
127 | 173
IIoT Services
9.2.2.5 Commissioning
Once you have entered the configuration values into the ENV file, you can initialize IIoT Services.
128 | 173
IIoT Services
Note: Under Windows, you can also check the state of the container in the Docker
Dashboard.
129 | 173
IIoT Services
6. Click on this button. The creation of the administrator account is thus completed.
Note: This user is also authorized to configure IIoT Services and to create further users
Attention
Note the password in a secure place. If the password is forgotten, there is no
possibility to retrieve it.
130 | 173
IIoT Services
You can use the arrow keys to switch the view in the dialog, in order to display additional,
topic-specific information. On each page of the summary, the topic displayed is linked to the zenon
Help.
Tip
Create the link for Service Configuration Studio as a bookmark in your browser.
* Replace mycomputer.mydomain.com in the URLs with your computer’s FQDN (on page 122).
131 | 173
IIoT Services
9.2.2.7 Configuration
In this section, you will find information for setting up the following components:
1. Engineering Studio
2. Service Engine
3. IIoT API
Note: You can find further information on the IIoT Services Connection Wizard in the IIoT Services
Connection Wizard node in the Welcome section.
132 | 173
IIoT Services
To configure variables:
1. Select the desired variable.
2. Open the Authorization/eSignature group in the properties.
3. Switch to the IIoT Services settings subgroup.
4. Configure the variable for use in IIoT Services.
Configurable properties:
Access permission
Note: For reasons of security, access permission should only be set to the extent that they are
actually required.
133 | 173
IIoT Services
Assign the Administrator user the right to access Service Engine via IIoT Services.
134 | 173
IIoT Services
You have thus added the Administrator user of the Users user group.
You have thus added the resource to the Users user group.
You have thus assigned the necessary role to the resource. Tthe Administrator user can access the
released variables in Service Engine via IIoT API.
135 | 173
IIoT Services
136 | 173
IIoT Services
Info
You can find the complete list of IIoT API error codes in the Troubleshooting
node in the IIoT API error codes node.
137 | 173
IIoT Services
SELECT ENDPOINT
1. Ensure that Service Engine has been started.
2. Start Service Configuration Studio.
3. Go to the IIoT API button.
4. Ensure that the user authorization for the IIoT API (on page 115) is available.
5. Check whether the value REST v1.0 is set as API version in the header.
6. Go to the DataSourcesApi category.
7. Go within the category to the line with the /api/v1/datasources endpoint.
138 | 173
IIoT Services
QUERY PROJECT
1. Click on the blue GET button in the line. This expands the endpoint.
2. Click on the Try it out button.
3. Click on the Execute button.
4. Copy the dataSourceId into a text file. You need this value for the following test.
Note: It is identical to the project ID of your project.
RESULT
The query shows the available project.
OPEN ENDPOINT
1. Ensure that Service Engine is running.
2. Ensure that the user authorization for the IIoT API (on page 115) has been carried out.
3. Start Service Configuration Studio.
4. Go to the IIoT API menu item.
5. Check whether the value REST v1.0 is set as API version in the header.
139 | 173
IIoT Services
CONFIGURE QUERY
1. Click on the green Post button.
2. Click on the Try it out button. You have thus activated the input field for the dataSourceId.
3. Enter the dataSourceId (identical to the zenon project ID).
Note: You have thus defined the target project for the query. (Example: Initial query (on
page 121))
4. Change the following points in the Query specification:
a) fields: Replace the predefined "string" with "name", "value".
You thus define the data fields for the query.
b) nameFilter: Replace the predefined "string" with "*".
You use this placeholder to query all values unfiltered. (Example: custom query (on page
121))
5. Then click on Execute to perform the query.
6. The query is acknowledged as follows: "Code 200" "Ok. Returns the queried variables.”
7. The "Response body" section shows the query result. (Example: query result (on page 122)).
140 | 173
IIoT Services
The query result shows the released variables and their variable values from the specified zenon
project.
141 | 173
IIoT Services
Code Sample:
{
"fields": [
"string"
],
"nameFilter": {
"variableNames": [
"string"
]
}}
Initial query
Code Sample:
{
"fields": [
"name", "value"
],
"nameFilter": {
"variableNames": [
"*"
]
}}
Query of variables and variable values
142 | 173
IIoT Services
Code Sample:
{
"variables": [
{
"name": "MY_VARIABLE",
"value": "1"
}
]
}
The shared variable and the variable value are in the "Response body" section.
9.2.2.8 Appendix
Here you can find information on the following topics:
1. Test environment vs. productive environment (on page 143)
2. Determine FQDN (on page 122)
3. Check CPU hardware virtualization (on page 145)
4. Elevated PowerShell (on page 145)
Network topology All applications run on the The applications run on different computers.
same computer.
The computers are usually distributed across
different remote sites.
143 | 173
IIoT Services
Passwords It is possible to use predefined For all logins, it is essential that you assign
passwords in a protected test your own secure passwords.
environment.
Windows on-premises installation Getting started guide - Windows (on page 104)
Installation of Docker on Windows Follow the instructions in this guide (on page 126)
Installation of Docker on Linux Follow the instructions in this guide (on page 129)
Docker in the cloud Follow the basic steps in this guide and adapt the
configuration files for your preferred cloud platform.
Kubernetes Follow the basic steps in this guide and adapt the
configuration files for Kubernetes.
144 | 173
IIoT Services
145 | 173
Smart Server & Smart Client
Detailed information on the configurations required to operate the Smart Server and the Smart Client
can be found in the Commissioning Smart Server and Smart Client section.
146 | 173
Service Engine for Docker- installation and operation
13.1 General
The Service Engine is available as an Ubuntu and Debian based Docker image. These images contain
both the Service Engine and Logic Service components.
Available images:
amd64 architecture
arm64 architecture
This guide describes how to install Service Engine using a Docker environment. Service Engine can
also be used on other container environments, e.g. kubernetes.
Attention
Make sure to select the correct operating system for the Docker installation
147 | 173
Service Engine for Docker- installation and operation
Note: The storage location can be configured in the .env file with the CONFIG_PATH=
entry.
Folder logs
The logs folder is empty. This is the location of the LOG files created by the Diagnosis
Server when running in Service Engine.
Note: The storage location can be configured in the .env file with the LOGGING_PATH=
entry.
3. Configure the .env file entries:
Specify the appropriate license series and license server for the components used. The
license function parameters are configured in the .env file with the following entries:
- RUNTIME_LICENSE_SERIAL=
Serial number of Service Engine.
- RUNTIME_LICENSE_SERVER=
License Server address for Service Engine.
- PROCESSGATEWAY_LICENSE_SERIAL=
VBF30=/etc/copa-data/[Project name]
[Default]
DEFANWENDUNG30=[Project name]
5. Pull and start the Service Engine with the docker compose up command.
6. After initialization, you will see a running Service Engine container and a running Logging
Server container.
148 | 173
Service Engine for Docker- installation and operation
7. In the Getting Started (on page 104) section, you can find detailed information about putting
IIoT Services into operation as additional components in a container environment.
Information
If additional ports are required for the specific project, e.g. ports for drivers or
process gateways, add them to the list of forwarded ports in the
docker-compose.yml file before starting the Service Engine container.
DOCKER LOGS
You can see the LOGs in the command line output or with the docker logs service-engine command.
If your zenon project contains a zenon Logic project and the Docker container is configured to listen
on port 1200, you can also connect to Logic Studio using Logic Service via local port 1200. If Service
Engine cannot find the configured license or project, corresponding LOG entries are created. In this
case, the Service Engine will be terminated.
DIAGNOSIS VIEWER
To check Service Engine logs, use the Diagnosis Viewer. Connect the Diagnosis Viewer to the zenon
Diagnosis Server, which runs alongside Service Engine in a separate Docker container.
13.5 docker-compose.yml
The docker-compose.yml file is the configuration file that is interpreted by the Docker environment.
This section provides information on manual adjustments to operate your Service Engine to run in a
Docker environment.
Two packages are offered for download in the download area of the COPA-DATA web site
(https://productdownloads.copadata.com/en/product-downloads/). Both packages contain a
corresponding docker-compose.yml file:
Service Engine for Docker and use of the Device Agent of the Device Management in IIoT
Services:
149 | 173
Service Engine for Docker- installation and operation
Service Engine for Docker without use of the Device Agent of the Device Management in IIoT
Services:
docker-compose.yml file is configured with Bind mounts.
Information
It is strongly recommended that the current Docker Compose version V2 is used.
You can find detailed information about the differences and information on the
migrations in the official Docker documentation
https://docs.docker.com/compose/releases/migrate/.
CONTAINER REGISTRY
The image name copadata.azurecr.io/ is used by default in the docker-compose.yml file. The
Container images are thus obtained from the Azure Container Registry.
Alternatively, you can obtain the container images from the Docker Hub. To do this, change the
image names in copadata/.
devices:
volumes:
devices:
Specify the path of the host device and the path under which the device should be available
in the container.
Example: "/dev/ttyUSB0:/dev/ttyUSB0" connects the ttyUSB0 device from the host to the
same path in the container.
/dev/ttyUSB0:
Path to the USB device or other hardware device on the host system. The path must be
correct.
example: /dev/ttyUSB0 for a USB device or /dev/sda for a drive.
150 | 173
Service Engine for Docker- installation and operation
For operation in a Docker environment with the standard bridge network, the start of the container
must be adjusted accordingly for communication via TCP or UDP:
The incoming TCP port must be mapped externally with the following command when
communicating via TCP:
- 20000:20000
The incoming UDP port must be mapped externally with the following command when
communicating via UDP:
- 20000:20000/udp
For serial communication:
The external serial interface must be mapped. The following is applicable:
For example for COM2: -> /dev/ttys1, COM3 -> /dev/ttys2
Example of docker-compose.yml entry for mapping the COM6 (container) to the COM6
(host) for the service-engine container:
service-engine:
devices:
- "/dev/ttyS5:/dev/ttyS5"
The .env file allows developers to set environment variables. Environment variables in the .env file are
referenced with the $ sign followed by the variable name in the docker-compose.yml files.
The .env file provided contains commented entries that explain the use of each entry.
Example: 12.0.0.106805
151 | 173
Service Engine for Docker- installation and operation
Example: CONFIG_PATH=/etc/copa-data
Example: LOGGING_PATH=/var/log/copa-data
152 | 173
Service Engine for Docker- installation and operation
Parameter Description
CA_CERT_0="-----BEGIN CERTIFICATE----
MI....
-----END CERTIFICATE----"
Example:
CA_CERT_1: ${CA_CERT_1}
(add CA_CERT_0 after)
153 | 173
Service Engine for Docker- installation and operation
Parameter Description
154 | 173
Service Engine for Linux - installation and putting into operation
GENERAL
Parameter Description
13.7 IOT2050
IOT205 devices do not automatically install all recommended packages. This installation must be
executed manually. If you install Service Engine in a Docker environment on an IOT2050 device, you
must execute the following commands:
sudo apt install iptables slirp4netns
sudo apt install zenon-grpc-system-access
ServiceGrid subfolder with the connection details (Certificate Bundles) and relevant
certificates.
155 | 173
Service Engine for Linux - installation and putting into operation
zenon6.ini
Note: You can find further information in the Configuration of the zenon6.ini file (on
page 167) section.
LOGIC SERVICE
The files required for Logic Service are installed with the zenon Software Platform.
You can find these files in the Windows computer in the following folder:
%ProgramFiles(x86)%\COPA-DATA\zenon Software Platform 15\Engineering\Linux\x86\Ubuntu_20_04
OPTIONAL INSTALLATION
Information
You can find further Linux packages for components of the zenon software
platform on github
(https://github.com/COPA-DATA/service-engine-linux-how-to).
156 | 173
Service Engine for Linux - installation and putting into operation
Perform the following step to install Service Engine on your Linux computer:
This command installs Service Engine and all associated software packages on your Linux computer.
Hint
Ensure that the system also installs the locales-all andiiot-cli packages, as these
packages are required for the proper functioning of Service Engine. These
packages are installed by default together with the service-engine package.
157 | 173
Service Engine for Linux - installation and putting into operation
These processes must be in a position to exchange files with one another. An example is the
zenon6.ini file. The services service-engine and zenon-logging-server at least must have read and
write access to this file. With the iiot-cli app, the access rights can be updated for the zenon project
files. When executing the transport of zenon projects with the iiot-cli app, the corresponding
authorizations are automatically set correctly. For execution, the iiot-cli app also needs read and write
access rights for the project configuration.
To keep data from each process separate, not all processes run with the same user.
zenon for Linux uses the setgid bit for a folder that belongs to the zenon group. The effect is that
each file or each folder that is created within such a folder also belongs to the zenon group.
Regardless of whether the user is a member of this group or whether it is the user’s main group.
There are access permissions that can be issued for files or folders. These access permissions do not
take into account whether the user is permitted to do something, but instead the access permissions
are given to the file itself.
To deploy zenon on Linux operating systems, the Linux services should be a part of the zenon user
group. As a result, all files can be read and written.
The simplest way to achieve this is the use of the iiot-cli tool to update your project. If this is not
possible (in a Docker environment for example), issue the access rights manually:
Your CD_SYSTEM folder and your project folder (VBF30) must be accessible with read/write
access rights for the zenon group. To do this, execute the following commands:
CD_SYSTEM=${CD_SYSTEM:-/etc/copa-data}
sudo chown $USER:zenon -R $CD_SYSTEM
158 | 173
Service Engine for Linux - installation and putting into operation
find $CD_SYSTEM -type f -exec chmod 660 {} \; # we need to be able to read and write
all files
find $CD_SYSTEM -type d -exec chmod 770 {} \; # we need to be able to list and add
files
chmod g+s $CD_SYSTEM
If your VBF30 folder is not in the CD_SYSTEM path, you must also carry out the same steps
for your VBF30 folder. To do this, execute the following commands:
VBF30=/path/to/VBF30
sudo chown $USER:zenon -R $CD_SYSTEM
find $VBF30 -type f -exec chmod 660 {} \; # we need to be able to read and write all files
find $VBF30 -type d -exec chmod 770 {} \; # we need to be able to list and add files
chmod g+s $VBF30
zenon for Linux operating systems does not use any Access Control Lists.
14.1.3.1 IOT2050
Note the following requirements for an IOT2050 Device mit Siemens Industrial OS:
1. If the command sudo apt update is executed on the IOT2050 Device mit Siemens Industrial
OS after importing the bunch of keys, the following error message can be shown:
The following signatures couldn't be verified because the public key is not available:
NO_PUBKEY <key>.
To solve this problem, the file permissions for
/usr/share/keyrings/copadata-archive-keyring.gpg must be set to rw-r--r--.
To do this, execute the ls -lah /usr/share/keyrings/copadata-archive-keyring.gpg
command, for example.
If the access permissions do not correspond to -rw-r--r--, you can apply minimum
access permissions with the command sudo chmod oga+r
/usr/share/keyrings/copadata-archive-keyring.gpg.
Execute the sudo apt update command again and check whether the packages can be
updated.
2. If you execute the command sudo apt install service-engine on the IOT2050 Device mit
Siemens Industrial OS, this error message might be shown:
159 | 173
Service Engine for Linux - installation and putting into operation
To rectify this problem, you must adjust the access permissions of your project. To do this,
execute the following commands:
a) Repair the access permissions:
if [ -z "$CD_SYSTEM" ]; then
CD_SYSTEM=${CD_SYSTEM:-/etc/copa-data}
sudo chown $USER:zenon -R $CD_SYSTEM
find $CD_SYSTEM -type f -exec chmod 660 {} \; # we need to be able to read and write
all files
find $CD_SYSTEM -type d -exec chmod 770 {} \; # we need to be able to list and add
files
chmod g+s $CD_SYSTEM
b) Use the command sudo usermod -a -G zenon $USER to add your user to the zenon
group. Start Service Engine again and check whether the project files can now be found
Hint
You can find the latest information in the COPA-DATA Repository
(https://github.com/COPA-DATA/) in sectionzenon Service Engine on Linux -
Getting Started
(https://github.com/COPA-DATA/service-engine-linux-how-to?tab=readme-ov-fi
le#zenon-service-engine-on-linux---getting-started).
160 | 173
Service Engine for Linux - installation and putting into operation
14.1.4 Licensing
A valid license is required for the operation of Service Engine on your Linux computer.
Attention
If you start Service Engine on your Linux computer without a valid license, the
Service Engine start will fail.
As an alternative to the configuration of the .INI file, you can also carry out the licensing with the
command line tool LicenseManagerAutomation. Note that .NET must be installed on the Linux
computer (on page 163) for the execution of this tool.
Information
You can find more detailed information in relation to this in the Licensing via
command line - automation section.
Perform the following steps to license Service Engine on your Linux computer:
1. Make sure that your Linux computer has a functioning network connection to your license
server.
2. Open the /etc/copa-data/License.ini file, for example, with the nano program or another text
editor.
Execute the following command to open the License.ini file with nano:
sudo nano /etc/copa-data/License.ini
3. Add the necessary licensing configurations to the License.ini file.
Please note: Inputs for Linux are case sensitive
Service Engine-related entries:
[Runtime]
SERIAL0 = Serial number of the license according to the license certificate
SERIAL0_LOCATION = Computer name of the licensing server under which the
licensing server can be reached in the network.
Logic Service-related entries:
[LogicRuntime]
SERIAL0 = Serial number of the license according to the license certificate
SERIAL0_LOCATION = Computer name of the licensing server under which the
161 | 173
Service Engine for Linux - installation and putting into operation
Information
You can find further information in relation to this in the License.ini section.
162 | 173
Service Engine for Linux - installation and putting into operation
5. Optional:
Delete the installation packages. To do this, enter the following command:
sudo apt autoremove
6. Optional:
Register Service Engine as a service. To do this, enter the following commands:
sudo systemctl enable serviceEngine
sudo systemctl start serviceEngine
Note: If there are no zenon projects installed on the Linux computer, the following error
message will be displayed when starting:
ServiceEngine initialization terminated with error - -1 / load of project failed
7. Optional:
Check your installation. To do this, enter the command:
sudo systemctl status serviceEngine
Information
You can find detailed information on .NET for Linux on the Microsoft homepage
(https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#register-the
-microsoft-package-repository).
declare repo_version=$(if command -v lsb_release &> /dev/null; then lsb_release -r -s; else grep -oP
'(?<=^VERSION_ID=).+' /etc/os-release | tr -d '"'; fi)
163 | 173
Service Engine for Linux - installation and putting into operation
wget https://packages.microsoft.com/config/ubuntu/$repo_version/packages-microsoft-prod.deb -O
packages-microsoft-prod.deb
# Clean up
rm packages-microsoft-prod.deb
# Update packages
Attention
We recommend that you only use one repository to administer all your .NET
installations. If you have previously installed .NET with the Ubuntu repository,
you must clear the system of .NET packages and configure the APT so that the
Ubuntu feed is ignored.
Replace [package name] with the name of the .NET package that you would like to install. To install
.NET SDK 8.0, for example, use the command sudo apt install aspnetcore-runtime-8.0.
.NET version Product Type Package name
164 | 173
Service Engine for Linux - installation and putting into operation
dotnet --list-runtimes
Hint
The which dotnet command can be used to display the installation path.
If .NET has been installed using an install script, the environment variable must be set accordingly. In
the environment variable, the save location of the .NET installation must be declared.
Additional information:
Install .NET on Linux by using an install script or by extracting binaries
(https://learn.microsoft.com/en-gb/dotnet/core/install/linux-scripted-manual)
Deploy .NET apps on ARM single-board computers
(https://learn.microsoft.com/en-us/dotnet/iot/deployment)
165 | 173
Service Engine for Linux - installation and putting into operation
14.3.5 Uninstallation
If you have installed .NET via a package manager, uninstall it in the same way with the following
command:
Attention
If the project contains content that is not supported on the Linux operating
system, the project will not start correctly. You can find an overview in the Scope
of functions node.
166 | 173
Service Engine for Linux - installation and putting into operation
Attention
When a package is installed, you will be asked if the zenon6.ini file should be
overwritten by a default file. If this file is overwritten, any customizations made
so far to this file must be configured again.
167 | 173
Service Engine for Linux - installation and putting into operation
default IIoT services HTTPS certificate is not trusted, you must add the corresponding certificate to the
list of trusted certificates.
If you already have a running installation of IIoT Services on the Linux computer and this IIoT Services
already uses a trusted certificate, it is not necessary to install the certificate again.
Hint
As an alternative to manual installation of a certificate, certificates can also be
generated directly on the Linux client via the IIoT Services CLI.
Carry out the following steps to install the IIoT Services certificate on your Linux computer:
1. Open Service Configuration Studio and download the certificate to your local computer.
Note: If your Linux computer has a graphical user interface and a browser, you can
download Service Configuration Studio directly on the Linux computer.
2. Transfer the certificate to the Linux computer using a suitable mechanism such as scp, ftp or
network file sharing.
Note: You can find further information on scp on the ubuntu manual website
(https://manpages.ubuntu.com/manpages/trusty/man1/scp.1.html).
3. Copy the certificate file on the Linux computer to the /usr/local/share/ca-certificates
directory. The name of the certificate file is of no importance.
4. Update the system's trusted certificates with the following command:
sudo update-ca-certificates
This updates the certificates of the Linux computer and adds the certificate for IIoT Services
to the list of trusted certificates.
5. Check the installed certificate. To do this, execute the following command:
curl 'https://[url-of-iiot-services]:[port-of-iiot-services]
Example:
Information
You can find detailed information on the certificate handling of IIoT Services in
the Certificate Management and Certificates sections.
You can find general requirements for the installation of the IIoT Services CLI on Linux systems in the
Setting up the APT repository (on page 156) section.
168 | 173
Service Engine for Linux - installation and putting into operation
Ensure that there is appropriate trust between the device and IIoT Services.
Note: For a trust relationship, it may be necessary to install the corresponding Root CA certificate.
Installation of the Root CA is necessary if your current certificate was generated by the IIoT Services
during the initial setup. You can find more detailed information in the nodes Certificates (for general
information about certificates) and Trust relationships.
Then carry out the following steps to install IIoT Services CLI on a Linux Device:
1. Update the list of the zenon software packages available. Execute the following command:
sudo apt update
2. Install the command line interface on the Linux device. Execute the following command:
sudo apt install iiot-cli-15-0
3. Carry out the installation of the Device Agent service. To do this, enter the following
command:
a) If you have web access for authentication on the Linux device:
iiot-cli device setup-agent [URL to the IIoT Services]:Port -n [Name of the device]
The name of the device is optional.
Example: iiot-cli device setup-agent https://iiot-docu-v8.testenv.local:9443 -n
LinuxDevice
b) If you do not have web access for authentication on the Linux device:
iiot-cli device setup-agent https://iiot-docu-v8.testenv.local:9443 -n LinuxDevice
--use-device-code
The --use-device-code command tag is used for authorization via the Identity Service
in Service Configuration Studio.
The URL and code for this authorization is visualized in the command line.
After successful authorization, installation on the Linux device will be complete.
4. If you have installed more than one version of IIoT-CLI , you can switch between the versions.
To do this, execute the following command:
sudo update-alternatives --config iiot-cli
Then follow the instructions of CLI.
5. Check the status of the device agent:
Check the connection status of the device in the Device Management user interface in
Service Configuration Studio. The Linux device must display the status online.
On the Linux computer, the status of the device agent is checked with the following
command:
sudo systemctl status device-agent.service
169 | 173
Service Engine for Linux - installation and putting into operation
Information
Ensure that the following language settings (Locales) are installed on your
system:
- en_US.UTF-8
- UTF-8/en_US.UTF-8
- UTF-8
If these Locales are missing, it can happen that the Device Agent is closed with
the following error message:
Attention
For Siemens IOT2050 devices, the package zenon-grpc-system-access must be
installed. This is necessary for correct communication between Device Agent and
Service Engine.
The Device Agent as a Linux service has the following name: device-agent.service
The Device Agent can be started and stopped via the Linux services (systemctl). The Device Agent is
automatically started by default when the system is started.
Start Device Agent: sudo systemctl start device-agent.service
170 | 173
Service Engine for Linux - installation and putting into operation
You can find detailed information for the transfer of a project from Engineering Studio in the Device
Management node in the IIoT Services - configuration in Engineering Studio node.
Start Service Engine on your Linux client with the following command: sudo systemctl start
serviceEngine
RESTARTING
Enter the following command to restart a running Service Engine on your Linux client: sudo systemctl
restart [Service Name]
171 | 173
FAQ
14.6 Uninstallation
Perform the following steps to uninstall the zenon installation on your Linux computer.
1. Go to the appropriate folder. To do this, enter the following command:
sudo apt remove [package name]
Example: sudo apt remove service-engine
This deletes all the content installed with the package.
2. Repeat this step for all installed packages.
3. The zenon6.ini file will not be deleted. Enter the following command to also delete the
configuration file:
sudo apt purge [package name]
15 FAQ
Errors during the installation mostly occur when the replacement or creation of files is prevented by a
virus scanner or by existing installations. Here you can find the most frequent reasons for installation
errors and their solution.
ZENON
Problem Solution
Demo projects were installed but are not Check the computer name. The computer:
displayed. New projects cannot be created.
must not consist of more than 128
characters
must be in accordance with the convention
of the NetBIOS computer name
172 | 173
Technical support
SQL SERVER
GENERAL
Problem Solution
The installation is unsuccessful because the The installation of SQL Server is not possible if the
password does not meet the requirements. security requirements do not permit a password
length of 20 characters (A-Z, a-z, 0-9 and special
characters). Each character can only be used once.
16 Technical support
BASIC SUPPORT
If you need support for the installation, our employees in Technical Consulting would be happy to
help you.
User with basic support can reach the hotline at the following e-mail address:
[email protected].
173 | 173