jarcher / eii-opcua-export

Hosts data export service via OPCUA pub-sub message protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contents

OpcuaExport

OpcuaExport service serves as as OPCUA server subscribring to classified results from message bus and starts publishing meta data to OPCUA clients.

IMPORTANT: OpcuaExport service can subscribe classified results from both VideoAnalytics(video) or InfluxDBConnector(time-series) use cases. Please ensure the required service to subscribe from is mentioned in the Subscribers configuration in config.json. In this document, you will find labels of 'Edge Insights for Industrial (EII)' for filenames, paths, code snippets, and so on. Consider the references of EII as Open Edge Insights (OEI). This is due to the product name change of EII as OEI.

Configuration

For more details on Etcd secrets and messagebus endpoint configuration, visit Etcd_Secrets_Configuration.md and MessageBus Configuration respectively.

Service bring up

OPCUA client apps

Note: To connect with OPCUA client apps, User needs to take backup opcua_client_certificate.der and copy OPCUA client apps certificate to it.

    sudo chmod -R 755 ../../build/Certificates
    cp <OPCUA client apps certificate> ../build/Certificates/opcua/opcua_client_certificate.der

Make sure not to bring down ConfigMgrAgent(ia_configmgr_agent) service, however restart necessary services like ia_opcua_export to reflect the changes.

  • Running in Kubernetes Environment

Install provision and deploy helm chart

     cd ../build/helm-eii/
     helm install eii-gen-cert eii-gen-cert/         

This will generate the Certificates under eii-deploy/Certificates folder.

    sudo chmod -R 755 eii-deploy/Certificates   

To connect with OPCUA client apps, User needs to copy OPCUA client apps certificate to opcua_client_certificate.der.

Deploy Helm Chart

   helm install eii-deploy eii-deploy/

Access Opcua server using "opc.tcp://:32003" endpoint.

About

Hosts data export service via OPCUA pub-sub message protocol

License:MIT License


Languages

Language:C 97.4%Language:C++ 0.8%Language:Python 0.7%Language:Go 0.7%Language:Makefile 0.3%Language:Dockerfile 0.1%Language:Cython 0.1%