Hi Ravi,

U can use main DB to both front end.  It will work 💯.  I am using similar
configuration.

Regards.

On Mon, 31 Jul, 2023, 21:43 Ravi Konila, <ravibh...@gmail.com> wrote:

> Hi Tim
>
> Thanks for the reply.
>
> What should be dspace.ui.url and solr.server (in local.cfg) since I am
> using two frontends in two different servers?. Dspace backend is in common
> NAS mounted on /dspace.
> I am only confused how do I make my backend pointing to frontend since
> there are 2 frontends.
>
> Individually, each Dspace instance works fine. But how do I load balance
> them? at least I need to load balance front end UI.
>
> Please note my postgres servers are in already HA in two different
> servers.
>
> With Warm Regards
> Ravi
>
>
> *From:* DSpace Technical Support
> *Sent:* Monday, July 31, 2023 8:31 PM
> *To:* DSpace Technical Support
> *Subject:* Re: [dspace-tech] Issue with Two Dspace servers with common
> NAS for bitstore (assetstore)
>
> Hi Ravi,
>
> I've not done this myself before, but you might want to look closely at
> the underlying error behind that 500 exception.  Sometimes a simple
> configuration issue can be the cause of the 500.
>
> Here's how to find the underlying error:
> https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)
>
> Here's common causes for 500 exceptions:
> https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-%22500ServiceUnavailable%22fromtheUserInterface
>
> One other thing to check is that the backend (REST API) "trusts" the User
> Interface.  This is controlled by the "rest.cors.allowed-origins" setting
> (in the rest.cfg). That setting must list all web-based clients which are
> using the REST API, otherwise they may be blocked with a 500 exception.
>
> Tim
>
> On Sunday, July 30, 2023 at 12:32:43 PM UTC-5 ravi...@gmail.com wrote:
>
>> Hi Mark,
>> Thanks for the suggestion but still the same problem.
>>
>> I have tried below
>> 1. Single solr service but still same problem, but I need solr also in HA
>> mode
>> 2. Kept Dspace backend in common NAS but can specify only one frontend
>> URL and one backend URL in local.cfg. Only one DSpace instance works at a
>> time, the other one shows error 500. But again
>> items/collections/communities created in one cannot be seen in another even
>> though, DSpace backend is common to both the frontends.
>>
>> Does anyone have any idea or suggestion on at least DSpace frontend HA
>> with a common DSpace backend?
>>
>> Regards
>> Ravi Konila
>>
>> On Tuesday, July 25, 2023 at 10:26:18 PM UTC+5:30 Mark H. Wood wrote:
>>
>>> On Tue, Jul 25, 2023 at 10:14:10PM +0530, Ravi Konila wrote:
>>> > I have successfully installed two Dspace 7.6 servers with a common NAS
>>> storage connected to both the servers used for bitstore/assetstore.
>>> > Both the servers works fine individually with the shared storage. But
>>> items/community/collection created in one is not visible in other one.
>>> > Please note that, both the servers use same Postgresql 15 server/db.
>>> >
>>> > The Dspace configurations are identical (dspace and dspace-ui). Both
>>> can communicate successfully to common Dspace database.
>>> >
>>> > Could anyone please clarify, if someone has done & configured load
>>> balancing or HA between two Dspace servers using shared storage (NAS).
>>> > Please guide me to take this forward.
>>>
>>> I have not attempted this. But I think that the two instances must
>>> also share a single Solr instance.
>>>
>>> --
>>> Mark H. Wood
>>> Lead Technology Analyst
>>>
>>> University Library
>>> Indiana University - Purdue University Indianapolis
>>> 755 W. Michigan Street
>>> Indianapolis, IN 46202
>>> 317-274-0749 <(317)%20274-0749>
>>> www.ulib.iupui.edu
>>>
>> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/80dc838f-935b-4b85-8c80-8feecf7e41f4n%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/80dc838f-935b-4b85-8c80-8feecf7e41f4n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/5ED817301F524186AB0B57F4DD19D1C3%40RAVIKONILAPC
> <https://groups.google.com/d/msgid/dspace-tech/5ED817301F524186AB0B57F4DD19D1C3%40RAVIKONILAPC?utm_medium=email&utm_source=footer>
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CABXZ-SrO-uwsgCp6WF2Y1jMcXZ1JgUBYGamGNkKxDx%3D3As%3DN0A%40mail.gmail.com.

Reply via email to