<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<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="font-family: Calibri, Arial, Helvetica, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px;">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 12pt;">We've recently started considering Slony for purpose of migrating PostgreSQL
 from old physical server to a new virtualized and&nbsp;</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 12pt;">&quot;updated&quot; platform.
 So far, all our tests worked quite well. However,&nbsp;I</span>'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="font-family: Calibri, Arial, Helvetica, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px;">
<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="font-family: Calibri, Arial, Helvetica, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px;">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="font-family: Calibri, Arial, Helvetica, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px;"><span style="font-family: Calibri, Arial, Helvetica, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px;"><span style="background-color: rgb(255, 255, 0);">&quot;New
 B&quot; (disaster recovery site) &nbsp;</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px; background-color: rgb(255, 255, 0);">&nbsp;&lt;</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px; background-color: rgb(255, 255, 0);">----
 Streaming replication ---- &nbsp;</span></span><span style="background-color: rgb(255, 255, 0);">&quot;New A</span>&quot;
<span style="font-family: Calibri, Arial, Helvetica, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px; background-color: rgb(190, 190, 190);">
&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="font-family: Calibri, Arial, Helvetica, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px; background-color: rgb(190, 190, 190);">&quot;Old
 B&quot; (</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px; background-color: rgb(190, 190, 190);">DR site</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px; background-color: rgb(190, 190, 190);">)</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>
</body>
</html>