fiware-orion context broker mongoDB docker - fiware

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.

Related

Fiware IDM+AuthZForce+PEP-Proxy-Wilma

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.

Connect Context Broker with mysql

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.

Fiware: Can we use cygnus on Raspberry Pi

Can we install cygnus on RaspberryPi?
Thinking of using it with Cepheus to add persistance on the gateway level.
Thanks in advance for your help!
Never tried, nevertheless it is a Java application, so having a JVM and the proper libraries should work. Most probably the memory is a problem, so it is probably you could not handle a high througput of notifications. In any case, as said, it is a matter of trying.
The keypoint for using it with Cepheus is if Cepheus notifies in the same format than Orion Context Broker. If not, Cygnus will not understand the notifications.
Another important thing is the storage aimed to be used for persistence. I don't know if any of the supported storages in Cygnus, for instance MySQL or MongoDB, can be run wihtin a Raspberry Pi! In this case, the best option may be to install the storage in a remote machine.

Installation of IDAS to Use with ORION CB

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.

Mysql: How to configure mysql proxy for an existing master-slave setup

I want to configure mysql proxy on my test environment to observe the below.
1. Behavior of the proxy
2. How load, CPU usage varies on my test server for read/write distribution.
I googled and able to install proxy on my ubuntu linux.
But I didnt see any thing on configuring it in a step by step manner and how to start or stop this.
Shall some one explore on this and this would be of great help for me.
Thanks in advance
Regards,
UDAY
By default if you run the proxy on the same machine as the server it will listen to port 4040 and query a backend server on the msyql default port of 3036. Other port numbers and server locations can be configured from the command line or with a configuration file.
To distribute queries across servers, add monitoring, profiling etc. you need to provide a Lua script to mysql-proxy. See the example / tutorial scripts in /usr/local/share/docs that came with the installation download. There is work to do for a production implementation.
The basics of how the scripting works can be found here under MySQL Proxy Scripting.
Don't be worried about Lua. The syntax is quite readable given the tutorial examples to work from. As and when you need it lua.org has more details of Lua.