Sorry for the delay in reply. I'll check on differences between my two installations to see if I can find any more changes that need to be made.
in the etc/koha-httpd.conf the SetEnv KOHA_CONF line needs to be changed on each VirtualHost. These tell the scripts where to look for the koha config file. the ErrorLog and TransferLog, might as well change those also. in etc/zebradb/zebra-authorities.cfg and zebra-biblios.cfg lockDir, register, shadow, setTmpDir, and keyTmpDir should be changed in etc/zebradb/zebra-authorities-dom.cfg the same lines as in zebra-authorities.cfg should be changed IF you have seperate directories for the two sites C4 modules then you will want to change lib/C4/Context.pm. There's one line there, INSTALLED_CONFIG_FNAME, that points to the koha_conf.xml if the environment doesn't have KOHA_CONF. Those changes to the zebra config's will mean you also have to change book-conf.xml. You will have to make 'book' specific copies of those files and point book-conf.xml at them. in the '<server ...' section there's a '<config>...' statement. Those lines will need to be changed too. See if that helps. Good luck. On Sat, 2009-05-02 at 16:35 +0000, ashik rajbhandari wrote: > 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: mdha...@tech.washk12.org > > To: theas...@hotmail.com > > CC: koha-devel@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: mdha...@tech.washk12.org > > > > To: theas...@hotmail.com > > > > CC: koha-devel@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@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 -- 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 _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel