<html>
<head>
<!-- Template generated by Exclaimer Mail Disclaimers on 08:50:24 Tuesday, 15 November 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<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 width="16" height="16" style="border: 0px Solid ; " src="cid:imagea4afbd.PNG@2af5c863.4a9ed021" alt="LinkedIn"></a> <a href="http://www.youtube.com/marinmultimedia" target=""><img width="16" height="16" style="border: 0px Solid ; " src="cid:imagedd28b9.PNG@2e7b0512.47aec480" alt="YouTube"></a> <a href="https://twitter.com/MARIN_nieuws" target=""><img width="16" height="16" style="border: 0px Solid ; " src="cid:imagef7e294.PNG@0220c9ed.4fb432e1" alt="Twitter"></a> <a href="https://www.facebook.com/marin.wageningen" target=""><img width="16" height="16" style="border: 0px Solid ; " src="cid:image0516c1.PNG@5ff663d5.438bd78d" alt="Facebook"></a><br>
<font style="FONT-FAMILY: Verdana; FONT-SIZE: 8pt" color="#7d7d7d" size="2" face="Verdana">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>
</EXCLAIMER:ORIGINAL_BODY_AFTER>
<p></p>
</EXCLAIMER:TEXT_ONLY></EXCLAIMER:AD></EXCLAIMER:AD>
</body>
</html>