New server for the Broker Service
|Status:||Closed||Start date:||Mar 23, 2017|
|Assignee:||_InfraScience Systems Engineer||% Done:|
Can you prepare a virtual machine for the development of the Broker Service?
We need the following components:
* Java 8
* Tomcat 8
* RabbitMQ (latest version)
* ElasticSearch (latest version)
At the beginning I think that it is sufficient a machine with 4 cores and 8 GB.
Can you also add the administrator rights to me, claudio and alessia?
#5 Updated by Andrea Dell'Amico over 3 years ago
- % Done changed from 0 to 50
- Status changed from New to In Progress
You can access the machine and the services are running. rabbitmq needs some love:
- Can you remind me of what plugins are needed?
Do the server needs to be contacted from local only?
does elasticsearch need to be contacted from outside?
In the next days I'll also provide an nginx instance acting as reverse proxy.
#13 Updated by Michele Artini almost 3 years ago
We have deployed a new release of the broker service;
it has been developed using spring-boot (so tomcat can be uninstalled);
We have copied the necessary files in the following folders:
- /usr/lib/dnet : contains the executable jar
- /etc/dnet : contains properties files
- /var/lib/dnet : contains the data
It is also necessary to update the firewall configuration for port 8080:
- CLOSED by default
- OPEN for ISTI and NKUA addresses
#15 Updated by Claudio Atzori over 2 years ago
- Assignee changed from Andrea Dell'Amico to _InfraScience Systems Engineer
- Status changed from Closed to In Progress
broker1-dev-dnet.d4science.org is out of free disk space.
The majority seems to be used by elasticsearch and rabbitmq
root@broker1-dev-dnet:~# df -h Filesystem Size Used Avail Use% Mounted on udev 10M 4.0K 10M 1% /dev tmpfs 3.1G 88K 3.1G 1% /run /dev/xvda2 80G 80G 33M 100% / none 4.0K 0 4.0K 0% /sys/fs/cgroup none 5.0M 0 5.0M 0% /run/lock none 7.7G 0 7.7G 0% /run/shm none 100M 0 100M 0% /run/user root@broker1-dev-dnet:~# du -hsc /var/lib/rabbitmq/ 38G /var/lib/rabbitmq/ 38G total root@broker1-dev-dnet:~# du -hsc /var/lib/elasticsearch/ 40G /var/lib/elasticsearch/ 40G total
Is it possible to extend the volume? In the worst case we'd need ~200GB. As an alternative we could also benefit of separated volumes, 100Gb each, dedicated to elasticsearch and rabbitmq.
#16 Updated by Tommaso Piccioli over 2 years ago
Now on /var/lib/rabbitmq and /var/lib/elasticsearch are mounted two separate file system of 100 GB
After the reboot of broker1-dev-dnet I can see
Size Used Avail Use% Mounted on
12G 2.6G 9.5G 21% /
100G 38M 100G 1% /var/lib/rabbitmq
100G 40G 61G 40% /var/lib/elasticsearch