<html><body><body bgcolor="#FFFFFF" text="#000000"><div>I can&apos;t  think why it wouldn&apos;t  work. You should be able to do streaming replication from a slony subscriber.<br/><br/>I have not tried a similar setup myself<br/><br/>Zarko Aleksic wrote:</div><blockquote cite="mid:BN3PR0401MB1560F28C4F5B0CC0EC8920069A500@BN3PR0401MB1560.namprd04.prod.outlook.com" type="cite">


<style type="text/css" style="display:none;"> P {margin-top:0;;margin-bottom:0;;}</style>


<div id="divtagdefaultwrapper" style="font-size:12pt;;color:#000000;;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Greetings everyone,</p>
<p><br/>
</p>
<p></p>
<p style="">
<span style="">We&#39;ve recently started considering Slony for purpose of migrating PostgreSQL
 from old physical server to a new virtualized and&nbsp;</span><span style="">&quot;updated&quot; platform.
 So far, all our tests worked quite well. However,&nbsp;I</span>&#39;m having trouble finding any documentation to prove or disprove that&nbsp;the following scenario is supported and/or will work properly (initial testing was positive though).</p>
<p style="">
<br/>
</p>
<p></p>
<p><span style="font-size: 12pt;">We would like to setup streaming replication between future Slony subscriber&nbsp;and our DR site beforehand, ie.&nbsp;<span style="">before
 we introduce Slony</span>. This would save us time and additional work post migration.&nbsp;</span></p>
<p><br/>
</p>
<p>It would look something like this:</p>
<p><span style=""><span style=""><span style="background-color: rgb(255, 255, 0);">&quot;New
 B&quot; (disaster recovery site) &nbsp;</span><span style="">&nbsp;&lt;</span><span style="">----
 Streaming replication ---- &nbsp;</span></span><span style="background-color: rgb(255, 255, 0);">&quot;New A</span>&quot;
<span style="">
&lt;--------Slony replication -----</span><span style="background-color: rgb(190, 190, 190);">&nbsp;</span></span><span style="background-color: rgb(190, 190, 190);">&quot;Old A&quot; &nbsp;------ existing&nbsp;SR&nbsp;------&gt;&nbsp;</span><span style="">&quot;Old
 B&quot; (</span><span style="">DR site</span><span style="">)</span></p>
<p></p>
<ul>
<li>Streaming replication between &quot;New A&quot; and &quot;New B&quot; <u>would be setup first</u></li><li>Then we would setup Slony replication between &quot;Old A&quot; and &quot;New A&quot;</li><li><span style="font-size: 12pt;">Slony replication Set would be moved&nbsp;from &quot;Old A&quot; to &quot;New A&quot;</span></li><li><span style="font-size: 12pt;">Slon process would be stopped&nbsp;and Slony Schema would be removed&nbsp;</span><br/>
</li></ul>
<div>Has anyone done something similar? Are there potential downsides to this idea?&nbsp;</div>
<div><br/>
</div>
<div>We are using&nbsp;<span>slony1-91-II-2.1.4 and Postgres 9.1 on RHEL 6, later we will most likely do the same type of migration from 9.1 to 9.5.&nbsp;</span></div>
<div><span><br/>
</span></div>
<div>Any response is greatly appreciated.</div>
<div>Thanks!</div>
<div>Zarko</div>
<p></p>
<p><br/>
</p>
</div>

</blockquote><div></div>
<pre class="moz&#45;signature" cols="72">Sent Using Firefox OS</pre></body></html>