[Koha-devel] configuration files for Debian packaging 1/3 (servers and ports)

Vincent Danjean vdanjean.ml at free.fr
Wed Oct 29 23:07:01 CET 2008


  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 at 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




More information about the Koha-devel mailing list