configuration files for Debian packaging 1/3 (servers and ports)
Hi, As I've a few free time, I'm trying to complete a first version of Debian Koha packaging. I've a few questions for koha/zebra/.. guru that I separate in 3 mails. Here is the first mail. If I understand correctly, a working koha server run several process (apache2, mysqld, ...) and some of them can be run on different machine (apache2 and mysql is the most obvious example). I need some help to correctly identify all the involved processes and to know, for each of them, the configuration files under /etc/koha used and the port(s) they are listening on if any. So, here is my guesses: * apache2 run on the 'main' machine. Would it be possible to setup opac and intranet on different machines ? (I think yes if the configuration is duplicated and koha-http.conf adapted) Port used: __WEBSERVER_PORT__, __WEBSERVER_PORT_LIBRARIAN__ Koha config files needed: koha-conf.xml koha-httpd.conf * mysqld can run on another machine (__DB_HOST__) Port used: __DB_PORT__ Koha config files needed: None * zebrasrv must run on the same machine as apache ? (in this case, opac and intranet cannot be separated) Or *** <listen id="biblioserver" >unix:__ZEBRA_RUN_DIR__/bibliosocket</listen> <listen id="authorityserver" >unix:__ZEBRA_RUN_DIR__/authoritysocket</listen> *** can be changed to point to another machine ? Started with misc/bin/koha-zebra-ctl.sh ? Port used (if SRU is enabled): ZEBRA_SRU_HOST:ZEBRA_SRU_BIBLIOS_PORT and ZEBRA_SRU_HOST:ZEBRA_SRU_AUTHORITIES_PORT Can SRU really be not enabled ? I see nothing in Makefile.PL to disable it. ZEBRA_SRU_HOST must be localhost or the hostname of the machine, must not it ? Port used (if PAZPAR2 is enabled): __MERGE_SERVER_PORT__ Koha config files needed: koha-conf.xml (again ? => which part of the file is needed by koha and which part be zebra ?) zebradb/* * pazpar2 can be run on another machine ? (__PAZPAR2_HOST__) Started with misc/bin/koha-pazpar2-ctl.sh Port used: __PAZPAR2_PORT__ Koha config files needed: pazpar2/* * zebraidx must be run on the same machine as zebrasrv ? Port used: None Koha config files needed: koha-conf.xml (again ?) zebradb/* So, if any guru can confirm/answer to my guesses, it would be easier for me to manage the configuration files without messing up all things and allowing a flexible koha installation on Debian. Best regards, Vincent -- Vincent Danjean GPG key ID 0x9D025E87 vdanjean@debian.org GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87 Unofficial pacakges: http://www-id.imag.fr/~danjean/deb.html#package APT repo: deb http://perso.debian.org/~vdanjean/debian unstable main
* zebrasrv must run on the same machine as apache ? (in this case, opac and intranet cannot be separated) Or *** <listen id="biblioserver" >unix:__ZEBRA_RUN_DIR__/bibliosocket</listen> <listen id="authorityserver"
unix:__ZEBRA_RUN_DIR__/authoritysocket</listen>
can be changed to point to another machine ?
Yes, Zebra can be configured to run a separate system for both biblioserver and authorityserver. The koha-conf.xml file has an explanatory note: <!-- [scheme:]host[:port][/databaseName] --> <!-- scheme: tcp, ssl, unix, http, sru --> I didn't realize you can even use ssl. That's rather cool. Anyway, you might have configuration like: <listen id="biblioserver" >tcp:index1.liblime.com:2060</listen> <listen id="authorityserver" >tcp:index2.liblime.com:2061</listen> Since the default is unix socket, I'm not sure what the port numbers should generally be.
Started with misc/bin/koha-zebra-ctl.sh ?
Correct. --Joe
Hi, On Thu, Oct 30, 2008 at 1:03 AM, Joe Atzberger <ohiocore@gmail.com> wrote:
<listen id="biblioserver" >tcp:index1.liblime.com:2060</listen> <listen id="authorityserver" >tcp:index2.liblime.com:2061</listen>
Since the default is unix socket, I'm not sure what the port numbers should generally be.
210 is a good default for the biblio Z39.50 TCP port, as it is a common port to use for public Z39.50 servers. Regards, Galen -- Galen Charlton VP, Research & Development, LibLime galen.charlton@liblime.com p: 1-888-564-2457 x709 skype: gmcharlt
Vincent Danjean <vdanjean.ml@free.fr> wrote:
As I've a few free time, I'm trying to complete a first version of Debian Koha packaging.
A version is already up at http://apt.workbuffer.org/ - can you build on it? Regards, -- MJR/slef My Opinion Only: see http://people.debian.org/~mjr/ Please follow http://www.uk.debian.org/MailingLists/#codeofconduct
On Sun, Nov 2, 2008 at 2:57 AM, MJ Ray <mjr@phonecoop.coop> wrote:
Vincent Danjean <vdanjean.ml@free.fr> wrote:
As I've a few free time, I'm trying to complete a first version of Debian Koha packaging.
A version is already up at http://apt.workbuffer.org/ - can you build on it?
Ahh that version is pretty crappy. I'm sure Vincent is already way ahead of me Chris
Chris Cormack wrote:
On Sun, Nov 2, 2008 at 2:57 AM, MJ Ray <mjr@phonecoop.coop> wrote:
Vincent Danjean <vdanjean.ml@free.fr> wrote:
As I've a few free time, I'm trying to complete a first version of Debian Koha packaging. A version is already up at http://apt.workbuffer.org/ - can you build on it?
Ahh that version is pretty crappy. I'm sure Vincent is already way ahead of me
I will look at it anyway and merge features if some are available ;-) My version (without my last devels on config files for now) is available here: http://git.debian.org/?p=collab-maint/koha.git;a=summary This version mainly deals with language packages and dependencies (maintainer helper scripts for auto creation of package for available language and check of dependencies (koha Makefile.PL requirement vs debian/control declaration) Best regards, Vincent
Chris _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
-- Vincent Danjean Adresse: Laboratoire d'Informatique de Grenoble Téléphone: +33 4 76 61 20 11 ENSIMAG - antenne de Montbonnot Fax: +33 4 76 61 20 99 ZIRST 51, avenue Jean Kuntzmann Email: Vincent.Danjean@imag.fr 38330 Montbonnot Saint Martin
participants (5)
-
Chris Cormack -
Galen Charlton -
Joe Atzberger -
MJ Ray -
Vincent Danjean