Re: [Dspace-tech] One handle server for two DSpace instances?
Hi, Il 03/06/2013 21:16, Peter Dietz ha scritto: Hi Jessica / Nikolai, I've been looking into a possibly related problem. We are planning on consolidating/moving DSpace instances. We want a single handle daemon that supports multiple handle prefixes, and supports multiple DSpace (and possibly non-DSpace) instances. I have started to think about this too. Our need is very similar to the previous statement from Peter: one single handle daemon - multiple handle prefix we have a semplification here, 1 dspace = 1 unique handle prefix. Handle prefix are not shared between different dspace so there are not issues related to collisions. My idea (we have not yet write any code) is to build a custom connector for the Handle daemon that replace the current out-of-box DSpace HandlePlugin storage_type = CUSTOM storage_class = org.dspace.handle.HandlePlugin This connector should read a configuration file (or better a spring bean) that map handle prefix to different resolver. For the dspace instances I plan to write a simple servlet able to answer in JSON with the URL corresponding to the asked handle or N/A if the handle is not valid. So in first instance a single resolver able to query this JSON servlet is needed. Helix: is your code able to manage my use case? Any other considerations? Andrea My understanding is that the Global Handle Service (GHS) (i.e. hdl.handle.net http://hdl.handle.net) resolves requests to your Handle prefix by querying your Local Handle Service (LHS). Your LHS has to respond with a YES or a NO (that you have a specific handle or not), and if YES, then you also include an HTTP URL to redirect the handle to. The handle daemon packaged with DSpace connects to your instances DSpace Database, and basically just queries the handle table for the existence of a handle. I think you could look at the Handle system architecture,and you build a custom daemon, that knows how to query multiple local repositories to see which one has the asset. For your problem of wanting to register a single handle prefix, and have multiple services use those handles, you run into a problem of needing to ensure that you don't have collisions with your services trying to assign the same number to different resources. You could either adjust the code for each service (DSpace) to have each one assign different ranges of handles. i.e. DSpace1 = 1..5, DSpace 2 = 50001..9 Or, since the right hand side of a handle is text, you could stuff another symbol in there. 1811/data- for your repository that stores research data sets, 1811/video- for video repository, and so on. Then you'll end up with 1811/data-1 to 1811/data-9, and 1811/video-1 to 1811/video-9. You prevent collisions, since each domain-specific repository would only use a specified middle-prefix. You still need to solve the problem of your handle daemon knowing how to speak for multiple DSpace instances. I don't have any prototype solutions, but I hope this helps to guide your thinking. Peter Dietz On Mon, Jun 3, 2013 at 12:12 PM, nraanes nraa...@gmail.com mailto:nraa...@gmail.com wrote: Hi I'm also trying to figure out how to accomplish what Jessica asked (using one handle server for multiple DSpace instances). Would it be possible for you to share the unofficial solution once again? As this is my first post I would like to thank everyone on here. It's been a great resource while learning DSpace! Regards, Nikolai -- View this message in context: http://dspace.2283337.n4.nabble.com/One-handle-server-for-two-DSpace-instances-tp4662743p4664577.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net mailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List
Re: [Dspace-tech] One handle server for two DSpace instances?
Hello everybody. I also want the code please :). Reagads - Argentina -- View this message in context: http://dspace.2283337.n4.nabble.com/One-handle-server-for-two-DSpace-instances-tp4662743p4666302.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] One handle server for two DSpace instances?
On Tue, Aug 6, 2013 at 9:21 PM, cristiaan3003 cristiaan3...@gmail.com wrote: Hello everybody. I also want the code please :). I sent it to you on August 2. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] One handle server for two DSpace instances?
This post was updated on 2013-07-31 18:57.Hi how are everybody? how are helix84 :) I'm also trying to figure out how to accomplish what Jessica and nraanes asked (one handle server for multiple DSpace instances). Would it be possible for you to share the solution again? this is my first post I would like to thank everyone on here.I want to thank all. Regards ; Cristian. - Argentina -- View this message in context: http://dspace.2283337.n4.nabble.com/One-handle-server-for-two-DSpace-instances-tp4662743p4666157.html Sent from the DSpace - Tech mailing list archive at Nabble.com.-- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] One handle server for two DSpace instances?
Hi Nikolai, I sent you the code in a separate email. Peter, I'd like to discuss this with you, e.g. around the DevMtg time tomorrow, if possible. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] One handle server for two DSpace instances?
Hi I'm also trying to figure out how to accomplish what Jessica asked (using one handle server for multiple DSpace instances). Would it be possible for you to share the unofficial solution once again? As this is my first post I would like to thank everyone on here. It's been a great resource while learning DSpace! Regards, Nikolai -- View this message in context: http://dspace.2283337.n4.nabble.com/One-handle-server-for-two-DSpace-instances-tp4662743p4664577.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] One handle server for two DSpace instances?
Hi Jessica / Nikolai, I've been looking into a possibly related problem. We are planning on consolidating/moving DSpace instances. We want a single handle daemon that supports multiple handle prefixes, and supports multiple DSpace (and possibly non-DSpace) instances. My understanding is that the Global Handle Service (GHS) (i.e. hdl.handle.net) resolves requests to your Handle prefix by querying your Local Handle Service (LHS). Your LHS has to respond with a YES or a NO (that you have a specific handle or not), and if YES, then you also include an HTTP URL to redirect the handle to. The handle daemon packaged with DSpace connects to your instances DSpace Database, and basically just queries the handle table for the existence of a handle. I think you could look at the Handle system architecture,and you build a custom daemon, that knows how to query multiple local repositories to see which one has the asset. For your problem of wanting to register a single handle prefix, and have multiple services use those handles, you run into a problem of needing to ensure that you don't have collisions with your services trying to assign the same number to different resources. You could either adjust the code for each service (DSpace) to have each one assign different ranges of handles. i.e. DSpace1 = 1..5, DSpace 2 = 50001..9 Or, since the right hand side of a handle is text, you could stuff another symbol in there. 1811/data- for your repository that stores research data sets, 1811/video- for video repository, and so on. Then you'll end up with 1811/data-1 to 1811/data-9, and 1811/video-1 to 1811/video-9. You prevent collisions, since each domain-specific repository would only use a specified middle-prefix. You still need to solve the problem of your handle daemon knowing how to speak for multiple DSpace instances. I don't have any prototype solutions, but I hope this helps to guide your thinking. Peter Dietz On Mon, Jun 3, 2013 at 12:12 PM, nraanes nraa...@gmail.com wrote: Hi I'm also trying to figure out how to accomplish what Jessica asked (using one handle server for multiple DSpace instances). Would it be possible for you to share the unofficial solution once again? As this is my first post I would like to thank everyone on here. It's been a great resource while learning DSpace! Regards, Nikolai -- View this message in context: http://dspace.2283337.n4.nabble.com/One-handle-server-for-two-DSpace-instances-tp4662743p4664577.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] One handle server for two DSpace instances?
Hi all, I would like to know whether I can have a single handle server manage handles for different DSpace instances. Currently we are running two DSpace instances on one server and we like to use the same handle prefix for both instances. Is this possible? If this is the case, where could I find information on setting this up? Thanks for your help! Jessica -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] One handle server for two DSpace instances?
On Tue, Mar 19, 2013 at 1:20 PM, Jessica Drechsler (GEI) drechs...@gei.de wrote: I would like to know whether I can have a single handle server manage handles for different DSpace instances. Currently we are running two DSpace instances on one server and we like to use the same handle prefix for both instances. Is this possible? If this is the case, where could I find information on setting this up? Hi Jessica, this is not yet possible in out-of-the-box DSpace, but I can send you an unofficial solution off-list. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] One handle server for two dspace instances
We decided to split our DSpace instance into two. Im trying to have them use the same Handle server, though. Is this possible, or do I need to register another prefix for the new intance? Right now it seems, that I cant find a way to do this. Thanks, Mika -- Mika Stenberg IT-asiantuntija Terveystieteiden Keskuskirjasto Lääketieteellinen tdk PL 61 (Haartmaninkatu 4) Helsingin Yliopisto 00290 Helsinki puh. +358-9-191 26807 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech