actually it is not the real name....the names are stored as databases.<br><br>There are different database names like 'abc','xyz' and all.<br><br>show all databases yeilds the results but how do I assign them to a variable recursively???<br>
<br>I think it might be possible by script.<br><br>But I don't know how....<br><br>please help.<br><br><div class="gmail_quote">On Wed, Nov 11, 2009 at 3:35 AM, Bernardo Gonzalez Kriegel <span dir="ltr"><<a href="mailto:gonzalez@famaf.unc.edu.ar">gonzalez@famaf.unc.edu.ar</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">No, if you have multiple instances then you must reindex all of them, but you could try a script like<div>
-----------------------------------------</div><div>#!/bin/bash</div><div><br></div><div>for k in $(seq 1 10): do</div>
<div> $koha="koha$k";</div><div> export KOHA_CONF="/etc/koha/$koha-conf.xml"</div><div> export PERL5LIB=/usr/share/koha/lib</div><div> /usr/share/koha/bin/migration_tools/<a href="http://rebuild_zebra.pl" target="_blank">rebuild_zebra.pl</a> -b -r w</div>
<div>done;</div><div>----------------------------------------</div><div>to do the work.</div><div><br></div><div>Cheers</div><div><br></div><div>bgk</div><div><br></div><div><br><div class="gmail_quote">2009/11/10 nitesh rijal <span dir="ltr"><<a href="http://rijal.it" target="_blank">rijal.it</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">Hi all,<br><br>I' using KOHA 3.0.3 and I'm hosting 10 databases using multiple zebra servers in it.<br>
<br>Whenever I rebuild my zebra index I need to do the following:<br>
<br>#mysql -u root -p******** -e "use koha0"<br>
#export KOHA_CONF=/etc/koha/koha0-conf.xml<br>#./rebuild_zebra -b -r -w<br><br>Again for another database I need to repeat the same process and just change the koha0 to koha1 and so on.<br><br>If I dont do this then the rebuild is only done in the default KOHA installation.<br>
<br>I have tried with other options like "-a", "-z" and "-x" but none give the required result.<br><br>Is there an easier way to do this thing done???<br><br>Please Help.<br clear="all"><font color="#888888"><br>
-- <br>
Nitesh Rijal<br>BE IT<br><a href="http://niteshrijal.com.np" target="_blank">http://niteshrijal.com.np</a><br>+9779841458173<br>
</font><br></div></div>_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz" target="_blank">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br>Nitesh Rijal<br>BE IT<br><a href="http://niteshrijal.com.np">http://niteshrijal.com.np</a><br>+9779841458173<br>