Most CII services (not: telemetry and alarms) come as part of the DevEnv installation, however some post-installation set-up is needed before they can be used.
On DevEnv 3.5 inside ESO, and DevEnv 3.6+, there is nothing to do.
**Postinstall*
Afterwards, execute this command (as root):
```
# /elt/ciisrv/postinstall/cii-postinstall <choose a role>
...
...
@@ -31,6 +34,7 @@ For more details and examples, see the [cii-postinstall user manual](https://elt
After postinstall, you will want to start the CII services on your host (unless you have assigned the "groupclient" role to the host, which means you will use the CII Services running on another host).
The cii-services utility lets you start/stop/monitor the CII services. For some operations, it requires root-privileges -> it will show a password prompt when needed.
...
...
@@ -58,7 +62,7 @@ To learn about the options, run the command without arguments.
For more details and examples, see the [cii-services user manual](https://eltjenkins.hq.eso.org/job/CII/job/Docs-Build-Master-Next/lastBuild/artifact/userManual/build/ciiman/html/docs/services.html)
CII has demo apps that you can download as source, modify, and build yourself. They demonstrate the use of the CII services.
...
...
@@ -83,7 +87,7 @@ After this, you find the list of available demo apps in the (generated) README f
Most demo apps require CII Services be running on your host or on another host => Check that the related CII Services (e.g. config service for a a config demo app) are accessible: see [How-to start/stop CII Services](#how-to-start-stop-cii-services)
@@ -401,10 +415,23 @@ Update: As of [ECII-303](https://jira.eso.org/browse/ECII-303), this should no l
**Solution 3**
If none of the above helped, another possibility is to clean-up the metadata.
If none of the above helped, another possibility is to cleanup the metadata.
This is a potentially very invasive operation. Please contact us for instructions.
Warning: This is an invasive operation. It deletes all datapoints in the OLDB.
If you feel confident, and you are on a single-developer host ("role_ownserver"), use the below commands. If you have doubts, or you are on a multi-user host, please contact us.
```
# Clean up the OLDB databases (on a role_ownserver host)
@@ -588,6 +621,9 @@ The issue has been first reported in [ECII-159](https://jira.eso.org/browse/ECII
The problem lies in the ZMQ send queues. Default size is 1000 and with 144MB per message (in this case) this means 144GB. Limiting this to 1 (for a test) a publisher can handle 20 subscribers (tested) without any problems. The solution is to reconfigure the send-queue size appropriately.
@@ -1081,6 +1140,10 @@ The code generator for malicd_topics fails when the ICD file name starts with lo
For more information, see also: [KB: PYBIND errors \[ICD waf build\]](onenote:#KB%20PYBIND%20errors%20[ICD%20waf%20build]§ion-id={F524F9BE-F51D-4A01-9976-93359FCC4966}&page-id={0FEE4FB9-C58B-4E8A-A276-2EC4367CFB30}&end&base-path=https://europeansouthernobservatory.sharepoint.com/sites/ELT_Control/SiteAssets/ELT_Control%20Notebook/Documentation/ELT%20Control%20KnowledgeBase.one)
This article covers integration of OPC/UA in CII MAL specifically for OPC/UA Data Access and Subscription profiles. OPC/UA method invocation is also supported in CII MAL but is not described in this article, likewise details of the Python (and Java) support are not provided. Only C++ is considered here.
...
...
@@ -1420,6 +1515,10 @@ The XML ICD definition of types in CII is used to map sets of data points togeth
Each attribute in the defined type is connected to a corresponding data point in the OPC/UA data space via a URI. Thus the CII URI for a complex type will contain specific addresses of multiple nodes in the OPC/UA data space.
The CII MAL Pub/Sub API utilizes OPC/UA Data Access Reads and Writes, as well OPC/UA subscription. A Publisher will directly trigger an OPC DA write, while a Subscriber will work in one of two ways, depending on the type associated with the subscriber: