OpcuaExport Application¶
OpcuaExport¶
OpcuaExport service serves as as OPCUA server subscribring to classified results from EII 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.
Configuration¶
For more details on Etcd secrets and messagebus endpoint configuration, visit Etcd_Secrets_Configuration.md and MessageBus Configuration respectively.
Service bring up¶
Please use below steps to generate opcua client certificates before running test client subscriber for production mode.
Please go through the below sections to have OpcuaExport service built and launch it:
Update opcua client certificate access so that sample test program can access the certificates.
sudo chmod -R 755 ../../build/provision/Certificates
Caution: This step will make the certs insecure. Please do not do it on a production machine.
To run a test subscriber follow README at OpcuaExport/OpcuaBusAbstraction/c/test
OPCUA client apps¶
OpcuaExport service has been validated with below 3rd party OPCUA client apps:
OPCUA CTT tool (https://opcfoundation.org/developer-tools/certification-test-tools/opc-ua-compliance-test-tool-uactt/)
UaExpert (https://www.unified-automation.com/downloads/opc-ua-clients.html)
Integrated Objects (https://integrationobjects.com/sioth-opc/sioth-opc-unified-architecture/opc-ua-client/)
Prosys OPCUA client app(https://www.prosysopc.com/products/opc-ua-browser/)
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/provision/Certificates cp <OPCUA client apps certificate> ../build/provision/Certificates/opcua/opcua_client_certificate.der
Make sure to down all the eii services and up to reflect the changes.
Running in Kubernetes Environment To connect with OPCUA client apps, User needs to copy OPCUA client apps certificate to opcua_client_certificate.der.
Install provision and deploy helm chart
$ cd ../build/helm-eii/
$ helm install eii-provision eii-provision/
$ helm install eii-deploy eii-deploy/
Access Opcua server using “opc.tcp://