<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>Jan-Albert,</p>
<p><br>
</p>
<p>Thank you for the feedback.  </p>
<p><br>
</p>
<p>I considered going the direction that you went, but that really won't work for me.  The steps that I outlined are high level.  I left out things like shutting down SW, and changing DNS entry.  (The IP address has to change going from VM world to physical
 world).  I also have a proxy server in the mix, so that means that firewall rules have to be changed.  Not looking forward to that either.  Networking isn't to receptive about changing firewall rules.  :-( </p>
<p><br>
</p>
<p><snip></p>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px">
<p><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px">And you might want to clean up archived actions to make database backup / restore
 a bit quicker</span></p>
</blockquote>
</snip>
<div><br>
</div>
<div>I'm not really sure how to do this.  I did a little research and I found this example:</div>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px">
<div>
<ul>
<li><i style="font-size:12pt">archive_cleanup_command = 'pg_archivecleanup /mnt/server/archivedir %r'</i><br>
</li></ul>
</div>
</blockquote>
I don't really think that this is what I need, or is it?
<div><br>
</div>
<div>Thank you, and thank you for the feedback.</div>
<div><br>
</div>
<div>Daryl</div>
<div><br>
</div>
<div><br>
<div>
<hr tabindex="-1" style="font-size:12pt; display:inline-block; width:98%">
<br>
</div>
<div>
<div style="color:rgb(0,0,0)">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> spacewalk-list-bounces@redhat.com <spacewalk-list-bounces@redhat.com> on behalf of Ree, Jan-Albert van <J.A.v.Ree@marin.nl><br>
<b>Sent:</b> Tuesday, November 15, 2016 1:50 AM<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> Re: [Spacewalk-list] Migrating to a physical</font>
<div> </div>
</div>
<div>
<p></p>
<p>We did something similar earlier this year.<br>
</p>
<p>However to prevent issues and allow for testing we did things a bit different :<br>
</p>
<p><br>
</p>
<p>- We installed a new server on which we created all the content we needed (we used a new FQDN so we didn't have to do anything to allow for 2 servers in the same network)<br>
</p>
<p>- Then I wrote a migration script which installed the new certificate package and re-registered the machine to the new SW server<br>
</p>
<p><br>
</p>
<p>This allowed for more control as we did migration per server group and we would never be left with unmanaged machines in the event the migration went wrong.<br>
</p>
<p>Your plan to me looks solid otherwise, although before step 1 I'd shut down the spacewalk services to make sure nothing in the database gets changed.<br>
</p>
<p>And you might want to clean up archived actions to make database backup / restore a bit quicker<br>
</p>
<p><br>
</p>
<p>Good luck<br>
</p>
<p>--<br>
</p>
<p>Jan-Albert<br>
</p>
<p><br>
</p>
<div dir="ltr" style="color:rgb(33,33,33)"></div>
<br>
<font style="font-family:Verdana; font-size:8pt; color:#7D7D7D; font-weight:bold">Jan-Albert</font><font style="font-family:Verdana; font-size:8pt; color:#7D7D7D; font-weight:bold">
</font><font style="font-family:Verdana; font-size:8pt; color:#7D7D7D; font-weight:bold">van Ree</font><font size="3" face="Segoe UI"></font><font style="font-family:Verdana; font-size:8pt; color:#7D7D7D; font-weight:bold"> |
</font><font style="font-family:Verdana; font-size:8pt; color:#7D7D7D; font-weight:bold">Linux System Administrator</font><font style="font-family:Verdana; font-size:8pt; color:#7D7D7D; font-weight:bold"> |
</font><font style="font-family:Verdana; font-size:8pt; color:#7D7D7D; font-weight:bold">MARIN Support Group</font><br>
<font style="font-family:Verdana; font-size:9pt; color:#7D7D7D; font-weight:bold">MARIN</font><font style="font-family:Verdana; font-size:8pt; color:#7D7D7D"> | T
</font><font style="font-family:Verdana; font-size:8pt; color:#7D7D7D">+31 317 49 35 48</font><font color="#7d7d7d" size="2" face="Segoe UI"></font><font style="font-family:Verdana; font-size:8pt"> |
</font><span style="font-family:Verdana; font-size:8pt"><a href="mailto:J.A.v.Ree@marin.nl" title="" target="" style="font-family:Verdana; font-size:8pt"><span style="font-family:Verdana; font-size:8pt">J.A.v.Ree@marin.nl</span></a></span><font color="#7d7d7d" size="2" face="Segoe UI"></font><font style="font-family:Verdana; font-size:8pt"> |
</font><span style="font-family:Verdana; font-size:8pt"><a href="http://www.marin.nl" title="" target="" style="font-family:Verdana; font-size:8pt"><span style="font-family:Verdana; font-size:8pt">www.marin.nl</span></a></span><br>
<br>
<a href="https://www.linkedin.com/company/marin" target=""><img naturalheight="16" naturalwidth="16" width="16" height="16" alt="LinkedIn" tabindex="0" style="border: 0px solid; user-select: none;" aria-expanded="false" src="cid:imagea4afbd.PNG@2af5c863.4a9ed021"></a> <a href="http://www.youtube.com/marinmultimedia" target=""><img naturalheight="16" naturalwidth="16" width="16" height="16" alt="YouTube" tabindex="0" style="border: 0px solid; user-select: none;" aria-expanded="false" src="cid:imagedd28b9.PNG@2e7b0512.47aec480"></a> <a href="https://twitter.com/MARIN_nieuws" target=""><img naturalheight="16" naturalwidth="16" width="16" height="16" alt="Twitter" tabindex="0" style="border: 0px solid; user-select: none;" aria-expanded="false" src="cid:imagef7e294.PNG@0220c9ed.4fb432e1"></a> <a href="https://www.facebook.com/marin.wageningen" target=""><img naturalheight="16" naturalwidth="16" width="16" height="16" alt="Facebook" tabindex="0" style="border: 0px solid; user-select: none;" aria-expanded="false" src="cid:image0516c1.PNG@5ff663d5.438bd78d"></a><br>
<font color="#7d7d7d" size="2" face="Verdana" style="font-family:Verdana; font-size:8pt">MARIN news:
<font style="font-family:Verdana; font-size:8pt"><span style="font-family:Verdana; font-size:8pt"><a href="http://www.marin.nl/web/News/News-items/Winaars-Speurspel-open-dag.htm" title="" target="" style="font-family:Verdana; font-size:8pt"><span style="font-family:Verdana; font-size:8pt">Winaars
 Speurspel open dag</span></a></span></font></font>
<p></p>
<p></p>
<div dir="ltr" style="color:rgb(33,33,33)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> spacewalk-list-bounces@redhat.com <spacewalk-list-bounces@redhat.com> on behalf of Daryl Rose <darylrose@outlook.com><br>
<b>Sent:</b> Monday, November 14, 2016 20:29<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> [Spacewalk-list] Migrating to a physical</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>I'm migrating my SW environment from a VM to a physical.   I have the physical built, but before I move forward, I need to make sure that I'll have my steps down.  Please review my steps, and let me know if I missed anything.</p>
<p></p>
<ol>
<li>Rename current SW to temporary name.</li><li>Rename physical from temporary name to actual FQDN.  <br>
</li><li>Install latest version of SW (current installation was recently upgraded to 2.5).</li><li>rsync following directories:
<ul>
<li>/etc/jabberd<br>
</li><li>/etc/rhn</li><li>/etc/sysconfig/rhn</li><li>/root/ssl</li><li><span>/var/www/html/pub</span><br>
</li><li><span><span>/var/satellite</span><br>
</span></li></ul>
</li><li>Backup Postgres DB from VM</li><li>Restore Postgres DB to physical</li></ol>
<div>One additional comment, I am using signed cert, so I need to make sure that names and certificates are all correct, so I don't end up having issues with my current connections.  </div>
<div><br>
</div>
<div>If I'm missing something, or I have something wrong, please let me know. </div>
<div><br>
</div>
<div>Thank you.</div>
<div><br>
</div>
<div>Daryl</div>
<p></p>
<p><br>
</p>
</div>
</div>
</div>
<p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>