<p dir="ltr">Le 10 nov. 2015 2:03 PM, &quot;TOINEL, Ludovic&quot; &lt;<a href="mailto:ludovic.toinel@capgemini.com">ludovic.toinel@capgemini.com</a>&gt; a écrit :<br>
&gt;<br>
&gt; Thanks Andrew,<br>
&gt;<br>
&gt; We are not allowed to have network connection from the slaves to the master (for security constraints). Only master can communicate with slaves.<br>
&gt; We need database on slaves with mix replicates tables and read/write tables.<br>
&gt;<br>
&gt; The solution could be maybe that solution using a slony master has an Hot standby of a master protected somewhere ?<br>
&gt;<br>
&gt; [slony slaves] &lt;-----&gt; [slony master - Standby node] &lt;----(log shipping)--|firewall|-- [master protected somewhere]<br>
&gt;<br>
&gt; Do you think this solution can work with slony ?<br>
&gt;</p>
<p dir="ltr">This will work as long as you don&#39;t try to execute write queries on the slony master, because it&#39;s a standby node and, as such, can only execute read queries. Meaning I&#39;m wondering why you would use such a scheme.</p>
<p dir="ltr">&gt; Regards,<br>
&gt;<br>
&gt; Ludovic Toinel<br>
&gt;<br>
&gt; -----Message d&#39;origine-----<br>
&gt; De : <a href="mailto:slony1-general-bounces@lists.slony.info">slony1-general-bounces@lists.slony.info</a> [mailto:<a href="mailto:slony1-general-bounces@lists.slony.info">slony1-general-bounces@lists.slony.info</a>] De la part de Andrew Sullivan<br>
&gt; Envoyé : mardi 10 novembre 2015 12:26<br>
&gt; À : <a href="mailto:slony1-general@lists.slony.info">slony1-general@lists.slony.info</a><br>
&gt; Objet : Re: [Slony1-general] Network connection from slaves to the master<br>
&gt;<br>
&gt; On Tue, Nov 10, 2015 at 09:51:29AM +0000, TOINEL, Ludovic wrote:<br>
&gt; &gt; The network allows only flows from master to slaves.<br>
&gt; &gt;<br>
&gt; &gt; Is there any option that I missed to do that ?<br>
&gt;<br>
&gt; Not really.  In principle you could do this with the log shipping mode, but I don&#39;t recall whether doing that on the master was not possible or just a really bad idea.  (You could do this with the built-in standby mechanisms of Postgres, though.<br>
&gt;<br>
&gt; I do wonder why you have it set up this way, however.  Why do you control the flows this way?<br>
&gt;<br>
&gt; A<br>
&gt;<br>
&gt; --<br>
&gt; Andrew Sullivan<br>
&gt; <a href="mailto:ajs@crankycanuck.ca">ajs@crankycanuck.ca</a><br>
&gt; _______________________________________________<br>
&gt; Slony1-general mailing list<br>
&gt; <a href="mailto:Slony1-general@lists.slony.info">Slony1-general@lists.slony.info</a><br>
&gt; <a href="http://lists.slony.info/mailman/listinfo/slony1-general">http://lists.slony.info/mailman/listinfo/slony1-general</a><br>
&gt; _______________________________________________<br>
&gt; Slony1-general mailing list<br>
&gt; <a href="mailto:Slony1-general@lists.slony.info">Slony1-general@lists.slony.info</a><br>
&gt; <a href="http://lists.slony.info/mailman/listinfo/slony1-general">http://lists.slony.info/mailman/listinfo/slony1-general</a><br>
</p>