How to store data in mysql using OrionContext broker and Cygnus?
I installed the image: orion-PSB-image-R5.2.
But I do not know where to configure Orion.
Should I install base_centos_6 and then install ContextBroker and Cygnus?
Fiware documentation is very confusing.
You don't need to install Orion if your VM has been created using the orion-psb-image-R5.2 image. You can start Orion (if it doesn't started yet) using the following command:
sudo /etc/init.d/contextBroker start
Orion documentation can be found here. In addition, you can find useful the following introduction. We think that Orion documentation is rather complete and detailed, but if you find confusing is some point, please explain exactly in which one so we can improve it.
Related
I am trying to run Orion Context Broker on Linux Mint using docker, but i cant start it. Also I tried installing MongoDB version 3.2 also on Linux Mint using docker, but cant find any installation solution.
Can someone help me?
Thank you for your help!!!
Orion, at startup, connects to Mongo. If mongo isn't accepting the connection, Orion exits. There is nothing the broker can do without its database.
So, that would explain why Orion doesn't start.
Why such an old version of Mongo?
Lastly, if you add detailed information on the problem you see, perhaps you can get some help. Without that, there's no way to help.
I tried to install Context Broker version 1.7.0 on my Centos 6 VM.
I successfully installed it but while the service is running ,when i make a request with curl i get the message "couldn't connect to host"
I checked the port 1026 and the firewall and everything is ok.
Any ideas what may be the problem?
The best way to install Orion is using Docker to test or study: (https://hub.docker.com/r/fiware/orion/).
Docker and docker-compose. You install Orion and Mongodb together, in a quick time. (https://github.com/telefonicaid/fiware-orion/tree/master/docker)
Have you tried using this method?
With it you can use the last stable version (1.10.0).
I'm trying to put to work the IDM+AuthZForce+PEP-Proxy-Wilma to secure the Orion context broker, but I'm having a bit of trouble, nothing works, all is up and running, but there's no autentication and no security.
I changed all the configuration files and nothing changed. I tried to populate the database (mongoDB or PostgreSQL) and nothing changed, too.
All services are running in a docker-compose instance.
Anyonce already has deployed this successfully?
I think you can get some help reading the following question/answers:
Fiware - How to integrate Keyrock IdM, Wilma PEP Proxy and Orion Context Broker?
I already configured Orion+Keyrock+Wilma. Here is the link for a simple tutorial on how to integrate them.
The AuthZForce is still mysterious for me. Recently I asked the following question about it:
FIWARE AuthZForce 5.4.1 is not installing
If you continue with some doubt related to Orion+Keyrock+Wilma, say it and perhaps I can help you.
I hope the suggested link can be useful for you.
I would like to know what is the common deployment pattern for IDAS and Orion in a production environment. Are they usually deployed as docker images or as a native service? If they are as a docker images then do they usually go together in one container or separate containers?
Thank you.
I can provide an answer from the point of view of Orion Context Broker (I hope that some of my colleagues from IDAS team can answer also that part).
Deployment options (look for slides "How to get Orion" in this presentation) are the following ones:
Image in FIWARE Lab cloud
Docker contaniner
VirtualBox image
RPM installation (from FIWARE repositories)
Compiling from sources
For IDAS it depends on the specific IoT-Agent you are using.
If you are using Ultralight2.0/HTTP or MQTT to connect devices, all the information for installation is available here:
https://github.com/telefonicaid/fiware-IoTAgent-Cplusplus/blob/release/1.3.0/README.md
On the other hand, if you will use OMA LWM2M/CoAP to connect devcies, this info is here:
https://github.com/telefonicaid/lightweightm2m-iotagent/blob/master/docs/administrationGuide.md
Also, docker files are available here:
http://catalogue.fiware.org/enablers/backend-device-management-idas/creating-instances
Hope this helps.
Cheers,
I have an Orion CB working on a virtual machine just fine.
Now i have a gateaway that communicates in mqtt. So i want to use IDAS as an iot Agent to make the link between my GW and Orion CB.
My question is how do i install IDAS?
I have this : https://github.com/telefonicaid/fiware-IoTAgent-Cplusplus/
It really is not clear at all what are the spteps to take in order to install and use it. Can any one explain?
Or is there any kind of Virtual machine with IDAS already installed on it, like for the orion CB?
Thanks
I think I ended up asking the same question here.
The easiest way to install IDAS on a CentOS machine is through its RPM's available in it's calogue page.
As of now I'm having other issues with such installation, but maybe you won't have them.
I hope this helps even though it comes so late.