<div dir="ltr"><div><div><div><div>Chris,<br><br></div>What about the uploaded files? You will need to replicate them to the other server.<br><br></div>What about the cross connection of the DB, you will use mysql proxy in the middle?<br><br></div>I'm really curious about those answers.<br><br></div>Regards.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 7, 2016 at 5:05 PM, Chris Cormack <span dir="ltr"><<a href="mailto:chris@bigballofwax.co.nz" target="_blank">chris@bigballofwax.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 8 November 2016 at 08:50, Michael Kuhn <<a href="mailto:mik@adminkuhn.ch">mik@adminkuhn.ch</a>> wrote:<br>
> Hi,<br>
><br>
> We are looking for a solution to build a redundant infrastructure for Koha.<br>
><br>
> What we want to do is shown in the diagram<br>
> <a href="http://adminkuhn.ch/download/Redundant.png" rel="noreferrer" target="_blank">http://adminkuhn.ch/download/<wbr>Redundant.png</a><br>
><br>
> The main objective of such a solution is: If one of the Application Servers<br>
> goes down the other will take over the job without losing any time. If the<br>
> DB-Server Master goes down we will be able to build the Master out of the<br>
> Slave and create a new Slave next to the new Master.<br>
><br>
> Has anyone ever built such an infrastructure with Koha and can give us some<br>
> advice how to proceed? Is this possible with Koha anyway?<br>
<br>
<br>
Will shift this to Koha-devel<br>
<br>
Yes this is possible and quite easy to do. What makes it tricky is<br>
Zebra, which you have left out<br>
of your diagram.<br>
You either need to have the full zebra index on both your application<br>
servers (which means modifying rebuild_zebraqueue to make<br>
sure it gets built by each machine)<br>
Or you need to use something like nfs or another distributed<br>
filesystem. Or use rsync etc.<br>
<br>
It becomes a lot easier with elasticsearch of course, because you just<br>
have your elastic cluster<br>
and they talk to that.<br>
<br>
Hope this helps<br>
<br>
Chris<br>
<br>
><br>
> Best wishes: Michael<br>
> --<br>
> Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis<br>
> Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz<br>
> T 0041 (0)61 261 55 61 · E <a href="mailto:mik@adminkuhn.ch">mik@adminkuhn.ch</a> · W <a href="http://www.adminkuhn.ch" rel="noreferrer" target="_blank">www.adminkuhn.ch</a><br>
> ______________________________<wbr>_________________<br>
> Koha mailing list  <a href="http://koha-community.org" rel="noreferrer" target="_blank">http://koha-community.org</a><br>
> <a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
> <a href="https://lists.katipo.co.nz/mailman/listinfo/koha" rel="noreferrer" target="_blank">https://lists.katipo.co.nz/<wbr>mailman/listinfo/koha</a><br>
______________________________<wbr>_________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-<wbr>community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" rel="noreferrer" target="_blank">http://lists.koha-community.<wbr>org/cgi-bin/mailman/listinfo/<wbr>koha-devel</a><br>
website : <a href="http://www.koha-community.org/" rel="noreferrer" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" rel="noreferrer" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" rel="noreferrer" target="_blank">http://bugs.koha-community.<wbr>org/</a></blockquote></div><br></div>