multiple public Z39.50 on the same server
Hi Koha friends, let's assume we have 3 libraries as independent instances on the same Koha server, something like: /etc/koha/sites/libraryA/koha-conf.xml /etc/koha/sites/libraryB/koha-conf.xml /etc/koha/sites/libraryC/koha-conf.xml Every library needs to run its own Z39.50 public server. I still can't find the right way to set it up, although I have no problem with single-instance servers. Could you please provide me instructions what files should I change and how? I know about following parameters: - publicserver's listen port in koha-conf.xml - publicserver's server section in koha-conf.xml - host and port in /etc/koha/zebradb/explain-biblios.xml Even if one can setup different ports in aforementioned koha-conf.xml files, there is only one host+port in explain-biblios.xml. Or maybe I don't understand the right way how to setup multiple biblio servers on the same port but with different credentials. Thanks! Radek Šiman
On 23 March 2018 at 15:15, Radek Šiman <radek.siman@centrum.cz> wrote:
Hi Koha friends,
let's assume we have 3 libraries as independent instances on the same Koha server, something like: /etc/koha/sites/libraryA/koha-conf.xml /etc/koha/sites/libraryB/koha-conf.xml /etc/koha/sites/libraryC/koha-conf.xml
Every library needs to run its own Z39.50 public server. I still can't find the right way to set it up, although I have no problem with single-instance servers. Could you please provide me instructions what files should I change and how? I know about following parameters: - publicserver's listen port in koha-conf.xml - publicserver's server section in koha-conf.xml - host and port in /etc/koha/zebradb/explain-biblios.xml
It should be possible to set the domain as well as the port that SRU/Z39.50 listens on in koha-conf.xml. So /etc/koha/sites/libraryA/koha-conf.xml could have this: <listen id="publicserver" >tcp:example.com:9997</listen> and /etc/koha/sites/libraryB/koha-conf.xml could have this: <listen id="publicserver" >tcp:example.org:9997</listen> (Same port, different domains.) I am pretty sure I had this working at some point, but I have not tested it recently, so Your Milage May Vary...
Even if one can setup different ports in aforementioned koha-conf.xml files, there is only one host+port in explain-biblios.xml. Or maybe I don't understand the right way how to setup multiple biblio servers on the same port but with different credentials.
The explain document served by SRU/Z39.50 is completely static! So you can change your configs as much as you like, and the explain document will remain the same, for all sites. I did create "Bug 12836 - Add a script to regenerate Explain files from configs" to try and fix this: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12836 But it has been stuck in FQA for a while, because I did not think enough about having it work with default configs, and because I have not found the time to fix those problems yet. Hope that helps (a bit)! Magnus On 23 March 2018 at 15:15, Radek Šiman <radek.siman@centrum.cz> wrote:
Hi Koha friends,
let's assume we have 3 libraries as independent instances on the same Koha server, something like: /etc/koha/sites/libraryA/koha-conf.xml /etc/koha/sites/libraryB/koha-conf.xml /etc/koha/sites/libraryC/koha-conf.xml
Every library needs to run its own Z39.50 public server. I still can't find the right way to set it up, although I have no problem with single-instance servers. Could you please provide me instructions what files should I change and how? I know about following parameters: - publicserver's listen port in koha-conf.xml - publicserver's server section in koha-conf.xml - host and port in /etc/koha/zebradb/explain-biblios.xml
Even if one can setup different ports in aforementioned koha-conf.xml files, there is only one host+port in explain-biblios.xml. Or maybe I don't understand the right way how to setup multiple biblio servers on the same port but with different credentials.
Thanks! Radek Šiman _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Magnus, I think that your solution will work for SRU, because it uses http as its transport layer protocol -- but I'm not so sure that z39.50 will be able to differentiate host names. My guess is that different ports will be required... but my certainty level is somewhere between 'wild ass guess' and 'educated guess', so take that for what it's worth. --Barton On Tue, Apr 3, 2018 at 7:04 AM, Magnus Enger <magnus@enger.priv.no> wrote:
On 23 March 2018 at 15:15, Radek Šiman <radek.siman@centrum.cz> wrote:
Hi Koha friends,
let's assume we have 3 libraries as independent instances on the same Koha server, something like: /etc/koha/sites/libraryA/koha-conf.xml /etc/koha/sites/libraryB/koha-conf.xml /etc/koha/sites/libraryC/koha-conf.xml
Every library needs to run its own Z39.50 public server. I still can't find the right way to set it up, although I have no problem with single-instance servers. Could you please provide me instructions what files should I change and how? I know about following parameters: - publicserver's listen port in koha-conf.xml - publicserver's server section in koha-conf.xml - host and port in /etc/koha/zebradb/explain-biblios.xml
It should be possible to set the domain as well as the port that SRU/Z39.50 listens on in koha-conf.xml. So /etc/koha/sites/libraryA/koha-conf.xml could have this:
<listen id="publicserver" >tcp:example.com:9997</listen>
and /etc/koha/sites/libraryB/koha-conf.xml could have this:
<listen id="publicserver" >tcp:example.org:9997</listen>
(Same port, different domains.)
I am pretty sure I had this working at some point, but I have not tested it recently, so Your Milage May Vary...
Even if one can setup different ports in aforementioned koha-conf.xml files, there is only one host+port in explain-biblios.xml. Or maybe I don't understand the right way how to setup multiple biblio servers on the same port but with different credentials.
The explain document served by SRU/Z39.50 is completely static! So you can change your configs as much as you like, and the explain document will remain the same, for all sites.
I did create "Bug 12836 - Add a script to regenerate Explain files from configs" to try and fix this: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12836
But it has been stuck in FQA for a while, because I did not think enough about having it work with default configs, and because I have not found the time to fix those problems yet.
Hope that helps (a bit)! Magnus
On 23 March 2018 at 15:15, Radek Šiman <radek.siman@centrum.cz> wrote:
Hi Koha friends,
let's assume we have 3 libraries as independent instances on the same Koha server, something like: /etc/koha/sites/libraryA/koha-conf.xml /etc/koha/sites/libraryB/koha-conf.xml /etc/koha/sites/libraryC/koha-conf.xml
Every library needs to run its own Z39.50 public server. I still can't find the right way to set it up, although I have no problem with single-instance servers. Could you please provide me instructions what files should I change and how? I know about following parameters: - publicserver's listen port in koha-conf.xml - publicserver's server section in koha-conf.xml - host and port in /etc/koha/zebradb/explain-biblios.xml
Even if one can setup different ports in aforementioned koha-conf.xml files, there is only one host+port in explain-biblios.xml. Or maybe I don't understand the right way how to setup multiple biblio servers on the same port but with different credentials.
Thanks! Radek Šiman _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
participants (3)
-
Barton Chittenden -
Magnus Enger -
Radek Šiman