SentinelDataHub / dhus-distribution

The Data Hub System is a Java web based system designed to manage the on-line dissemination of Earth Observation Satellites data.
http://sentineldatahub.github.io/DataHubSystem/
GNU Affero General Public License v3.0
68 stars 36 forks source link

Experiences with Solr cloud mode in docker #6

Open kekefigure opened 5 years ago

kekefigure commented 5 years ago

We are trying to setup the whole DHuS (2.0.0) infrastructure in a containerized(docker) environment, but we are running into a problem with Solr. We are following the installation steps in the DHuS external DB Installation and Configuration Manual.

Zookeeper is configured with a chRoot "/solr", Solr configured in cloud mode with a collection named "mycollection". Zookeeper and Solr are running 1-1 instance. Settings in dhus.xml: <search:solrCloud zkHosts="zookeeper:2181/solr/mycollection"/> The Solr and Zookeeper containers are using the official images with the specified versions mentioned in the docs.

With this configuration when the application tries to connect to the Solr instance, it gives the following error: Cannot connect to cluster at zookeeper:2181/solr cluster not found/not ready

Changing the Solr-core version in the dhus-core project from 5.5.3 to 7.2.1 resolves the problem, but it would be better if we wouldn't need to change anyting.

The docs mentions that the Connections are accessible via odata/v1/Users('name')/Connections, and its referencing the RD6 document (DHuS OData and Open Search Interface Control Document, COPE-SERCO-IF-17-0018, v2.0). Could you give us a hint where we can find this doc?

SentinelDataHub commented 5 years ago

Hi @kekefigure, Thank you for your interest in Open Source DHuS Project. We forwarded your issue to our technical team.

Cheers Sentinel DataHubSystem Team

SentinelDataHub commented 4 years ago

Serco Business

Dear Mwaba Hiltunen,

Thank you for your email.

We are taking care of it and we will get back to you as soon as possible.

Best Regards, Alessandra Data Hub System Team

From: Mwaba Hiltunen notifications@github.com Sent: 02 March 2020 13:07 To: SentinelDataHub/dhus-distribution dhus-distribution@noreply.github.com Cc: Roleaccount datahubsystem datahubsystem@serco.com; Mention mention@noreply.github.com Subject: [EXTERNAL] Re: [SentinelDataHub/dhus-distribution] Experiences with Solr cloud mode in docker (#6)

Attention External

Hi @kekefigurehttps://github.com/kekefigure and @SentinelDataHubhttps://github.com/SentinelDataHub , im trying to setup a clustered DHuS (2.0.0) infrastructure using docker containers. Im having trouble configuring the Ehcache replication mechanism, defining the cacheManagerPeerProviderFactory and the cacheManagerPeerListenerFactory. Any tips or advice on how these can be defined when using docker containers would be highly appreciated.

- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/SentinelDataHub/dhus-distribution/issues/6?email_source=notifications&email_token=ADBEXOHUSSWDJLV7IAY5VALRFOOPVA5CNFSM4IEBSGDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPB6IQ#issuecomment-593370914, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADBEXOHDJXPZXXPWVDTAUT3RFOOPVANCNFSM4IEBSGDA.