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

ashik rajbhandari theashik at hotmail.com
Tue May 5 04:30:13 NZST 2009











Dear Sir,

I tried to follow your procedures, but it is still indexing records from firstly created database i.e. "Koha", not from second database "book". Can you please help me out to run two zebra servers simultaeneously for two different databases by providing me step by step procedures in detail to change the directories for biblioserver and authorityserver zebra and also to change the lines for koha-zebra-ctl.sh / book-zebra-ctl.sh, koha-conf.xml / book-conf.xml with detailed examples. Looking forward for your kind cooperation. 

Thanking you,

Ashik Rajbhandari
Nepal

> Subject: RE: [Koha-devel] How to run two zebra servers at once in one computer for multiple databases?
> From: mdhafen at tech.washk12.org
> To: theashik at hotmail.com
> CC: koha-devel at lists.koha.org
> Date: Wed, 29 Apr 2009 11:27:40 -0600
> 
> Here's what I see in my koha-conf.xml.  Also, Joe's reply on list is
> necessary to follow.
> 
> The two '<listen ' statements need to have different directories for the
> sockets.  These are how zebra communicates with other applications
> ( like Koha ).
> 
> Next I see is the definition of the 'biblioserver':
> <server id="biblioserver" listenref="biblioserver">
>   <directory>
> 
> The directory will be where zebra puts most of it's files, that database
> ones.  This will need to be different for the different servers.
> 
> Same goes for the "authorityserver" definition and it's directory.
> 
> In addition to Joe's advice on the koha-zebra-ctl.sh file, you will want
> to change the RUNDIR and LOCKDIR values.
> 
> Good luck.
> 
> On Wed, 2009-04-29 at 17:10 +0000, ashik rajbhandari wrote:
> > Dear Sir,
> > 
> > Thanks for the reply. May I know in detail how i can point zebra at a
> > different directory to store it's files. Looking forward for your kind
> > cooperation.
> > 
> > with regards,
> > Ashik Rajbhandari
> > 
> > > Subject: Re: [Koha-devel] How to run two zebra servers at once in
> > one computer for multiple databases?
> > > From: mdhafen at tech.washk12.org
> > > To: theashik at hotmail.com
> > > CC: koha-devel at lists.koha.org
> > > Date: Wed, 29 Apr 2009 10:55:26 -0600
> > > 
> > > It is possible to run two zebra servers on the same computer. I have
> > > this sort of setup. It will probably mean changing some values in
> > > book-conf.xml to point zebra at a different directory to store it's
> > > files.
> > > 
> > > On Wed, 2009-04-29 at 16:12 +0000, ashik rajbhandari wrote:
> > > > 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
> > > > _______________________________________________
> > > > Koha-devel mailing list
> > > > Koha-devel at lists.koha.org
> > > > http://lists.koha.org/mailman/listinfo/koha-devel
> > > -- 
> > > Michael Hafen
> > > Systems Analyst and Programmer
> > > Washington County School District
> > > Utah, USA
> > > 
> > > for Koha checkout
> > > http://development.washk12.org/gitweb/
> > > or
> > > git://development.washk12.org/koha
> > > 
> > 
> > 
> > ______________________________________________________________________
> > See all the ways you can stay connected to friends and family
> -- 
> Michael Hafen
> Systems Analyst and Programmer
> Washington County School District
> Utah, USA
> 
> for Koha checkout
> http://development.washk12.org/gitweb/
> or
> git://development.washk12.org/koha
> 

See all the ways you can stay connected to friends and family
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20090504/0d42927a/attachment.htm 


More information about the Koha mailing list