[Koha-devel] How to run two zebra servers at once in one computer for multiple databases?

Joe Atzberger ohiocore at gmail.com
Wed Apr 29 19:10:17 CEST 2009


To be clear, you must run two zebrasrv processes, one for each.

sudo cp /etc/init.d/koha-zebra-ctl.sh /etc/init.d/book-zebra-ctl.sh

Then edit /etc/init.d/book-zebra-ctl.sh for the correct USER, GROUP,
KOHA_CONF, etc.

Make KOHA_CONF=/path/to/book-conf.xml

Then run:
sudo /etc/init.d/book-zebra-ctl.sh start

And do rebuild_zebra (with -r -b -a) for both Kohas.

-- 
Joe Atzberger
LibLime - Open Source Library Solutions


2009/4/29 ashik rajbhandari <theashik at hotmail.com>

>  Dear Sir/Madam,
>
> I have created two databases namely koha and book in mysql for two
> different libraries with two different ip addresses for each. Also, i have
> created xml and conf files namely koha-httpd.conf, koha-conf.xml and
> book-httpd.conf, book-conf.xml files for each databases. Zebra server is
> also running well and i can index records from both database as well. But
> the problem is: when i try to index the records of database book only, it
> shows the indexed records from database koha also. Finally, I have studied
> the problem  and i found that when i run zebra server, it exports records
> from both databases, so why even i try to index a record from one database
> it indexes from the other one as well. The zebra server keeps the records of
> both the databases combinely in the database  called biblios of zebra. What
> i want is just to index the records of one database from its library only.
> Is it possible to give different port number to different database biblios
> of zebra such that every database i create will have different port number
> for biblios database of zebra server with different ip address. Also, is
> there any possibility to run two zebra servers at the same time for two
> different databases with different port addresses in the same computer.
>
> Please help me!!
>
> Thank you,
>
> with regards,
>
> Ashik Rajbhandari
> Kathmandu
>
> ------------------------------
> check out the rest of the Windows Live™. More than mail–Windows Live™ goes
> way beyond your inbox. More than messages<http://www.microsoft.com/windows/windowslive/>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha.org
> http://lists.koha.org/mailman/listinfo/koha-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20090429/1a1e4e3e/attachment-0003.htm>


More information about the Koha-devel mailing list