|
[[_TOC_]]
|
|
[[_TOC_]]
|
|
|
|
|
|
|
|
|
|
|
|
### How-to post-install CII services
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
The command has to be executed as root:
|
|
|
|
```
|
|
|
|
# /elt/ciisrv/postinstall/cii-postinstall <choose a role>
|
|
|
|
```
|
|
|
|
To learn about the options, run the command without arguments.
|
|
|
|
After that, you will want to start the CII services (unless you have assigned the "groupclient" role to the host). See also: #
|
|
|
|
|
|
|
|
|
|
|
|
### How-to start and stop CII services
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
*status*
|
|
|
|
This is a feature-centric view, that basically tells you which features you have available. For example, "Blob Values" means that the Distributed File System MinIO (in previous versions: Hadoop) is available for storage of large values and binaries.
|
|
|
|
```
|
|
|
|
$ cii-services status
|
|
|
|
```
|
|
|
|
|
|
|
|
*info*
|
|
|
|
This is a deployment-centric view that tells you whether the services are running and where they are.
|
|
|
|
```
|
|
|
|
$ cii-services info
|
|
|
|
```
|
|
|
|
|
|
|
|
*start / stop*
|
|
|
|
```
|
|
|
|
$ cii-services start <services>
|
|
|
|
```
|
|
|
|
To learn about the options, run the command without arguments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### How-to get CII Demo apps
|
|
|
|
|
|
|
|
CII has demo apps that you can download as source, modify, and build yourself. They demonstrate the use of the CII services.
|
|
|
|
|
|
|
|
```
|
|
|
|
$ git clone https://oauth2:ujak_jA2BjkL2UDW6v5h@gitlab.eso.org/cii/info/cii-demo.git
|
|
|
|
Cloning into 'cii-demo'...
|
|
|
|
[...]
|
|
|
|
|
|
|
|
$ cd cii-demo
|
|
|
|
$ ./cii-demo.sh
|
|
|
|
|
|
|
|
Building (this may take some minutes) ...
|
|
|
|
Installing into INTROOT: /home/eltdev/INTROOT
|
|
|
|
PREFIX is set to: /home/eltdev/INTROOT
|
|
|
|
Find the build output in ./cii-demo.sh.build.log
|
|
|
|
[...]
|
|
|
|
```
|
|
|
|
|
|
|
|
After this, you find the list of available demo apps in the (generated) README file. You can at any time modify the sources and rebuild them with "waf build install". Look inside "cii-demo.sh" if unsure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Failure to build ZPB from ICD \[ICD waf build\]
|
|
### Failure to build ZPB from ICD \[ICD waf build\]
|
|
|
|
|
|
**Problem**
|
|
**Problem**
|
... | | ... | |