After installation
Installation completion message
After installation, you will get a completion message as shown:
*** Setup has completed ***
Service URLs:
Orion: http://192.168.12.249:1026
Cygnus: http://192.168.12.249:5080
Comet: http://192.168.12.249:8666
WireCloud: http://192.168.12.249
Ngsiproxy: http://192.168.12.249:3000
IoT Agent: http://192.168.12.249:4041
over HTTP: http://192.168.12.249:7896/iot/ul
over MQTT: http://192.168.12.249:1883
Quantumleap: http://192.168.12.249:8668
Perseo: http://192.168.12.249:9090
Node-RED: http://192.168.12.249:1880
Sanity check:
ngsi version --host orion.local
ngsi version --host cygnus.local
ngsi version --host comet.local
ngsi version --host wirecloud.local
ngsi version --host iotagent.local
ngsi version --host quantumleap.local
ngsi version --host perseo.local
docs: https://fi-sb.letsfiware.jp/
Please see the .env file for details.
Sanity check procedures
You can check if the FIWARE instance is healthy by running some commands.
Get the status of docker containers
Request:
make ps
Response:
sudo docker compose ps
NAME COMMAND SERVICE STATUS PORTS
fiware-small-bang_keyrock_1 "docker-entrypoint.s…" keyrock running (healthy) 3000/tcp
fiware-small-bang_mongo_1 "docker-entrypoint.s…" mongo running 27017/tcp
fiware-small-bang_mysql_1 "docker-entrypoint.s…" mysql running 33060/tcp
fiware-small-bang_nginx_1 "/docker-entrypoint.…" nginx running 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp, :::80->80/tcp, :::443->443/tcp
fiware-small-bang_orion_1 "sh -c 'rm /tmp/cont…" orion running 1026/tcp
fiware-small-bang_tokenproxy_1 "docker-entrypoint.sh" tokenproxy running 1029/tcp
fiware-small-bang_wilma_1 "docker-entrypoint.s…" wilma running (unhealthy) 1027/tcp
Get Orion version
You can get the Orion version with NGSI Go.
ngsi version --host orion.local
{
"orion" : {
"version" : "4.0.0",
"uptime" : "0 d, 0 h, 0 m, 4 s",
"git_hash" : "4f9f34df07395c54387a53074f98bef00b1130a3",
"compile_time" : "Thu Jun 6 07:35:47 UTC 2024",
"compiled_by" : "root",
"compiled_in" : "buildkitsandbox",
"release_date" : "Thu Jun 6 07:35:47 UTC 2024",
"machine" : "x86_64",
"doc" : "https://fiware-orion.rtfd.io/en/4.0.0/"
}
}
Sanity check for Cygnus
Once Cygnus is running, you can check the status by the following command:
Request:
ngsi version --host cygnus.local --pretty
Response:
{
"success": "true",
"version": "3.8.0.f62eff701c01df1f708e0c9484e48e7b9bd9b1ed"
}
Sanity check for Comet
Once Comet is running, you can check the status by the following command:
Request:
ngsi version --host comet.local
Response:
{"version":"2.11.0"}
Sanity check for Perseo
Once Perseo is running, you can check the status by the following command:
Request:
ngsi version --host perseo.local --pretty
Response:
{
"error": null,
"data": {
"name": "perseo",
"description": "IOT CEP front End",
"version": "1.30.0"
}
}
Get QuantumLeap version
Once QuantumLeap is running, you can get the version by the following command:
Request:
ngsi version --host quantumleap.local
Response:
{
"version": "1.0.0"
}
Sanity check for QuantumLeap
You can check the status by the following command:
Request:
ngsi health --host quantumleap.local
Response:
{
"status": "pass"
}
Sanity check for IoT Agent for UL
Once IoT Agent for UltraLight 2.0 is running, you can check the status by the following command:
Request:
ngsi version --host iotagent.local --pretty
Response:
{
"libVersion": "4.4.0",
"port": "4041",
"baseRoot": "/",
"version": "3.4.0"
}
Sanity check for IoT Agent for JSON
Once IoT Agent for JSON is running, you can check the status by the following command:
Request:
ngsi version --host iotagent.local --pretty
Response:
{
"libVersion": "4.4.0",
"port": "4041",
"baseRoot": "/",
"version": "3.4.0"
}
Sanity check for WireCloud
Create superuser
To sign in WireCloud, create superuser as shown:
make superuser
Username (leave blank to use 'root'):
Email address:
Password:
Password (again):
Superuser created successfully.
Open WireCloud GUI and sign in it.
Open at http://<your local ip address>
to access the WireCloud GUI.
Access WireCloud API
Request:
ngsi version --host wirecloud.local --pretty
Response:
{
"ApplicationMashup": "2.2",
"ComponentManagement": "1.0",
"DashboardManagement": "1.0",
"FIWARE": "7.7.1",
"FullscreenWidget": "0.5",
"NGSI": "1.2.1",
"OAuth2Provider": "0.5",
"ObjectStorage": "0.5",
"StyledElements": "0.10.0",
"Wirecloud": "1.3.1"
}
Sanity check for Node-RED
Open at http://<your local ip address>:1880
to access the Node-RED GUI.
Access Node-RED API
Request to the Admin HTTP API.
Request:
curl http://<your local ip address>:1880/settings
Response:
{
"httpNodeRoot": "/",
"version": "3.1.0",
"context": {
"default": "memory",
"stores": [
"memory"
]
},
"codeEditor": {
"lib": "monaco",
"options": {}
},
"markdownEditor": {
"mermaid": {
"enabled": true
}
},
"libraries": [
{
"id": "local",
"label": "editor:library.types.local",
"user": false,
"icon": "font-awesome/fa-hdd-o"
},
{
"id": "examples",
"label": "editor:library.types.examples",
"user": false,
"icon": "font-awesome/fa-life-ring",
"types": [
"flows"
],
"readOnly": true
}
],
"flowFilePretty": true,
"externalModules": {},
"flowEncryptionType": "system",
"diagnostics": {
"enabled": true,
"ui": true
},
"runtimeState": {
"enabled": false,
"ui": false
},
"functionExternalModules": true,
"functionTimeout": 0,
"tlsConfigDisableLocalFiles": false,
"editorTheme": {
"palette": {},
"projects": {
"enabled": false,
"workflow": {
"mode": "manual"
}
},
"languages": [
"de",
"en-US",
"fr",
"ja",
"ko",
"pt-BR",
"ru",
"zh-CN",
"zh-TW"
]
}
}