<div dir="ltr">Daryl<div>I hope you ran the full upgrade script and not just the database upgrade script.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 29, 2016 at 12:23 PM, Daryl Rose <span dir="ltr"><<a href="mailto:darylrose@outlook.com" target="_blank">darylrose@outlook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_-2097587459255495914divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Once again I posted and then figured out how to resolve the issue.  </p>
<p><br>
</p>
<p>I was able to successfully to upgrade the schema and that resolved both of my issues.  At this moment, it looks like my migration was successfully. </p>
<p><br>
</p>
<p>Thank you to everyone who helped me get this completed successfully.</p>
<p><br>
</p>
<p>Daryl</p>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_-2097587459255495914divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><span class=""><b>From:</b> <a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.<wbr>com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@<wbr>redhat.com</a>> on behalf of Daryl Rose <<a href="mailto:darylrose@outlook.com" target="_blank">darylrose@outlook.com</a>><br>
</span><b>Sent:</b> Tuesday, November 29, 2016 9:53 AM<div><div class="h5"><br>
<b>To:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
<b>Subject:</b> Re: [Spacewalk-list] Migrating to a physical</div></div></font>
<div> </div>
</div><div><div class="h5">
<div>
<div id="m_-2097587459255495914divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello again,</p>
<p><br>
</p>
<p>After I posted this message, I realized what might be the cause of at least one of my errors.  </p>
<p><br>
</p>
<p>I didn't realize that v2.6 was just released and installed that version on the physical server, while the original server is still v2.5.  I'm sure that will resolve the schema error, but will it also resolve the repository issue?  </p>
<p><br>
</p>
<p>Can I upgrade the old server and migrate the database over as Paul posted previously?  Does the server name have to be the correct name?  To do the migration, I renamed the original server to "<server name>-old", and renamed the physical server to the actual
 name of the server, had DNS change to reflect the name changes, then installed Spacewalk on the physical server.  </p>
<p><br>
</p>
<p>I can rename everything again and preform the upgrade on the original server, but if I can upgrade it without the name change that would be preferred.  Or, I can rename the server without updating DNS.  Does the upgrade query DNS to verify that it can fully
 resolve the name?  I could try and force it to read the /etc/host file?</p>
<p><br>
</p>
<p>Thoughts?</p>
<p><br>
</p>
<p>Thank you.</p>
<p><br>
</p>
<p>Daryl</p>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_-2097587459255495914divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> <a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.<wbr>com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@<wbr>redhat.com</a>> on behalf of Daryl Rose <<a href="mailto:darylrose@outlook.com" target="_blank">darylrose@outlook.com</a>><br>
<b>Sent:</b> Tuesday, November 29, 2016 9:28 AM<br>
<b>To:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
<b>Subject:</b> Re: [Spacewalk-list] Migrating to a physical</font>
<div> </div>
</div>
<div>
<div id="m_-2097587459255495914divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello All,</p>
<p><br>
</p>
<p>I finally had the opportunity to migrate from my virtual environment to the physical environment.  Thank you to Paul Robert Marino for providing these steps to migrating over the database.  </p>
<p><br>
</p>
<p>For the most part, things went well, however, I see one error that I'm not sure about, and I can't see any of my repositories.</p>
<p><br>
</p>
<p>The error that I see is on the login screen:</p>
<p><i style="font-size:12pt"><br>
</i></p>
<p><i style="font-size:12pt"><span style="color:rgb(255,0,0)">A schema upgrade is required. Please upgrade your schema at your earliest convenience to receive latest bug fixes and avoid potential problems.</span></i></p>
<p><i style="font-size:12pt"><br>
</i></p>
<p></p>
<div>How do do I upgrade the schema?  Is this a database message?</div>
<div><br>
</div>
<div>I also get this error whenever I click on a repository:</div>
<div><br>
</div>
<div>
<div><i><span style="color:rgb(255,0,0)">Internal Server Error</span></i></div>
<div><i><span style="color:rgb(255,0,0)">The server experienced a problem which prevented your request from being filled out. It may not be possible to execute this action at this time.</span></i></div>
<div><i><br>
</i></div>
<div><i><span style="color:rgb(255,0,0)">Please help us correct this problem by contacting us with details of how you received this message.</span></i></div>
<div><br>
</div>
Any thoughts on these issues?</div>
<div><br>
</div>
<div>Thank you.</div>
<div><br>
</div>
<div>Daryl</div>
<p></p>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div id="m_-2097587459255495914divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> <a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.<wbr>com</a> <<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@<wbr>redhat.com</a>> on behalf of Paul Robert Marino <<a href="mailto:prmarino1@gmail.com" target="_blank">prmarino1@gmail.com</a>><br>
<b>Sent:</b> Tuesday, November 15, 2016 3:29 PM<br>
<b>To:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
<b>Subject:</b> Re: [Spacewalk-list] Migrating to a physical</font>
<div> </div>
</div>
<div>
<div dir="ltr">this is an interesting thread.
<div>some notes the initial plan looks good.</div>
<div>however I usually use C names instead of A records in the DNS.</div>
<div>this means you can easily change which host the the record is pointing to.</div>
<div>next I would consider moving the database to a separate box or cluster, this will give a nice performance boost over running every thing on the same box.</div>
<div><br>
</div>
<div>As to your followup question about the archiving I think you may have already figured this out but the archive command in the PostgreSQL's config is for the database journal.</div>
<div><br>
</div>
<div>Also on a side note there is a quicker way to migrate a PostgreSQL database.</div>
<div>step 1</div>
<div>while the box is running do a recursive scp from the original box to the new one of the PostgreSQL's data directory, by default its in /var/lib/pgsql on Red Hat based distributions.</div>
<div>step 2</div>
<div>shut down PostgreSQL on the source server.</div>
<div>step 3</div>
<div>use rsync -a --delete -c -I of the source server to the destination server. Note the -c and -I flags are very important in this case.</div>
<div>step 4</div>
<div>start PostgreSQL on the destination server, and optionally the source server too.</div>
<div><br>
</div>
<div>By the way this is the method pgpool uses to restore a failed slave if you have 3 or more servers in a cluster using a second running slave as the source. the one difference is it uses rsync for both step 1 and 3, but I always use SCP because it is faster
 for the initial copy.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Nov 15, 2016 at 10:45 AM, test-yle <span dir="ltr">
<<a href="mailto:test-yle@quanticdream.com" target="_blank">test-yle@quanticdream.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="white" lang="FR">
<div class="m_-2097587459255495914m_4691099594876420550WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I use a crontab with a scrip to clean a archive.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I list a task with spacecmd schedule_list | grep “”
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">And spacecmd schedule_cancel number “id” I kill a archive .<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The Script:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">#!/bin/sh<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">fich="/srv/scripts/Clean-Tache<wbr>-Spwalk/liste.txt"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">spacecmd schedule_list | grep "Show differences between profiled config files and deployed config files" > $fich<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">spacecmd schedule_list | grep "Deploy config files to system" >> $fich<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">spacecmd schedule_list | grep "Run an arbitrary script" >> $fich<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">ligne=`wc -l $fich | awk -F " " '{print $1}'`<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">x=0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">echo "The number of line is $ligne"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">echo "x=$x"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">while [ "$x" -le "$ligne" ]; do<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">#    echo "1------- $x"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">        id=`cat $fich | awk 'NR=='$x' {print $1}'`<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">        echo "ID $id Delete"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">        spacecmd schedule_cancel $id<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">    x=$(($x + 1))<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">        echo "-------------$x"<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">done<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">De :</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">
<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.<wbr>com</a> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces<wbr>@redhat.com</a>]
<b>De la part de</b> Ree, Jan-Albert van<br>
<b>Envoyé :</b> mardi 15 novembre 2016 15:32<br>
<b>À :</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
<b>Objet :</b> Re: [Spacewalk-list] Migrating to a physical<u></u><u></u></span></p>
</div>
</div>
<div>
<div class="m_-2097587459255495914h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Ah yes, that can be an issue indeed, we only have a small installation with around 80 clients<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Cleaning up archived actions can be done from the GUI :<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Schedule > Archived Actions > Select All > Delete Actions<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">I had roughly 50K archived actions there, in your case it might be a lot more.<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">--<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Jan-Albert<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><br>
</span><b><span style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#7d7d7d">Jan-Albert van Ree | Linux System Administrator | MARIN Support Group</span></b><span style="font-family:"Calibri",sans-serif;color:black"><br>
</span><b><span style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#7d7d7d">MARIN</span></b><span style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#7d7d7d"> | T
<a href="tel:%2B31%20317%2049%2035%2048" value="+31317493548" target="_blank">+31 317 49 35 48</a></span><span style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:black"> |
<a href="mailto:J.A.v.Ree@marin.nl" target="_blank">J.A.v.Ree@marin.nl</a> | <a href="http://www.marin.nl" target="_blank">
www.marin.nl</a></span><span style="font-family:"Calibri",sans-serif;color:black"><br>
<br>
<a href="https://www.linkedin.com/company/marin" target="_blank"><span style="text-decoration:none"><img border="0" width="16" height="16" id="m_-2097587459255495914m_4691099594876420550_x0000_i1025" alt="LinkedIn" style="width:0.1666in;height:0.1666in" src="cid:image001.png@01D23F5E.B6E173F0"></span></a> <a href="http://www.youtube.com/marinmultimedia" target="_blank"><span style="text-decoration:none"><img border="0" width="16" height="16" id="m_-2097587459255495914m_4691099594876420550_x0000_i1026" alt="YouTube" style="width:0.1666in;height:0.1666in" src="cid:image002.png@01D23F5E.B6E173F0"></span></a> <a href="https://twitter.com/MARIN_nieuws" target="_blank"><span style="text-decoration:none"><img border="0" width="16" height="16" id="m_-2097587459255495914m_4691099594876420550_x0000_i1027" alt="Twitter" style="width:0.1666in;height:0.1666in" src="cid:image003.png@01D23F5E.B6E173F0"></span></a> <a href="https://www.facebook.com/marin.wageningen" target="_blank"><span style="text-decoration:none"><img border="0" width="16" height="16" id="m_-2097587459255495914m_4691099594876420550_x0000_i1028" alt="Facebook" style="width:0.1666in;height:0.1666in" src="cid:image004.png@01D23F5E.B6E173F0"></span></a><br>
</span><span style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#7d7d7d">MARIN news:
<a href="http://www.marin.nl/web/News/News-items/Operational-performance-of-wind-assisted-ships-1.htm" target="_blank">
Operational performance of wind assisted ships</a></span><span style="font-family:"Calibri",sans-serif;color:black">
<u></u><u></u></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Calibri",sans-serif;color:#212121">
<hr size="2" width="98%" align="center">
</span></div>
<div id="m_-2097587459255495914m_4691099594876420550divRplyFwdMsg">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">
</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank"><span lang="EN-US">spacewalk-list-bounces@redhat.<wbr>com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">
 <</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank"><span lang="EN-US">spacewalk-list-bounces@redhat<wbr>.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">>
 on behalf of Daryl Rose <</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:darylrose@outlook.com" target="_blank"><span lang="EN-US">darylrose@outlook.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Sent:</b> Tuesday, November 15, 2016 14:07<br>
<b>To:</b> </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:spacewalk-list@redhat.com" target="_blank"><span lang="EN-US">spacewalk-list@redhat.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><br>
<b>Subject:</b> Re: [Spacewalk-list] Migrating to a physical</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#212121">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#212121"> <u></u><u></u></span></p>
</div>
</div>
<div>
<div id="m_-2097587459255495914m_4691099594876420550divtagdefaultwrapper">
<p><span style="font-family:"Calibri",sans-serif;color:black">Jan-Albert,<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Thank you for the feedback.  <u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">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.
  :-( <u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><snip><u></u><u></u></span></p>
<blockquote style="margin-left:30.0pt;margin-right:0cm">
<p><span style="font-family:"Calibri",sans-serif;color:black">And you might want to clean up archived actions to make database backup / restore a bit quicker<u></u><u></u></span></p>
</blockquote>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"></snip>
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">I'm not really sure how to do this.  I did a little research and I found this example:<u></u><u></u></span></p>
</div>
<blockquote style="margin-left:30.0pt;margin-right:0cm">
<div>
<ul type="disc">
<li class="MsoNormal" style="color:black"><i><span style="font-family:"Calibri",sans-serif">archive_cleanup_command = 'pg_archivecleanup /mnt/server/archivedir %r'</span></i><span style="font-family:"Calibri",sans-serif"><u></u><u></u></span></li></ul>
</div>
</blockquote>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">I don't really think that this is what I need, or is it?
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Thank you, and thank you for the feedback.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Daryl<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Calibri",sans-serif;color:black">
<hr size="2" width="98%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<div>
<div id="m_-2097587459255495914m_4691099594876420550divRplyFwdMsg">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">
</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank"><span lang="EN-US">spacewalk-list-bounces@redhat.<wbr>com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">
 <</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank"><span lang="EN-US">spacewalk-list-bounces@redhat<wbr>.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">>
 on behalf of Ree, Jan-Albert van <</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:J.A.v.Ree@marin.nl" target="_blank"><span lang="EN-US">J.A.v.Ree@marin.nl</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Sent:</b> Tuesday, November 15, 2016 1:50 AM<br>
<b>To:</b> </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:spacewalk-list@redhat.com" target="_blank"><span lang="EN-US">spacewalk-list@redhat.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><br>
<b>Subject:</b> Re: [Spacewalk-list] Migrating to a physical</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:black"> <u></u><u></u></span></p>
</div>
</div>
<div>
<p><span style="font-family:"Calibri",sans-serif;color:black">We did something similar earlier this year.<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">However to prevent issues and allow for testing we did things a bit different :<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">- 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)<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">- Then I wrote a migration script which installed the new certificate package and re-registered the machine to the new SW server<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">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.<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">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.<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">And you might want to clean up archived actions to make database backup / restore a bit quicker<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Good luck<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">--<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black">Jan-Albert<u></u><u></u></span></p>
<p><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><br>
</span><b><span style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#7d7d7d">Jan-Albert van Ree | Linux System Administrator | MARIN Support Group</span></b><span style="font-family:"Calibri",sans-serif;color:black"><br>
</span><b><span style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#7d7d7d">MARIN</span></b><span style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#7d7d7d"> | T
<a href="tel:%2B31%20317%2049%2035%2048" value="+31317493548" target="_blank">+31 317 49 35 48</a></span><span style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:black"> |
<a href="mailto:J.A.v.Ree@marin.nl" target="_blank">J.A.v.Ree@marin.nl</a> | <a href="http://www.marin.nl" target="_blank">
www.marin.nl</a></span><span style="font-family:"Calibri",sans-serif;color:black"><br>
<br>
<a href="https://www.linkedin.com/company/marin" target="_blank"><span style="text-decoration:none"><img border="0" width="16" height="16" id="m_-2097587459255495914m_4691099594876420550_x0000_i1031" alt="LinkedIn" style="width:0.1666in;height:0.1666in" src="cid:image001.png@01D23F5E.B6E173F0"></span></a> <a href="http://www.youtube.com/marinmultimedia" target="_blank"><span style="text-decoration:none"><img border="0" width="16" height="16" id="m_-2097587459255495914m_4691099594876420550_x0000_i1032" alt="YouTube" style="width:0.1666in;height:0.1666in" src="cid:image002.png@01D23F5E.B6E173F0"></span></a> <a href="https://twitter.com/MARIN_nieuws" target="_blank"><span style="text-decoration:none"><img border="0" width="16" height="16" id="m_-2097587459255495914m_4691099594876420550_x0000_i1033" alt="Twitter" style="width:0.1666in;height:0.1666in" src="cid:image003.png@01D23F5E.B6E173F0"></span></a> <a href="https://www.facebook.com/marin.wageningen" target="_blank"><span style="text-decoration:none"><img border="0" width="16" height="16" id="m_-2097587459255495914m_4691099594876420550_x0000_i1034" alt="Facebook" style="width:0.1666in;height:0.1666in" src="cid:image004.png@01D23F5E.B6E173F0"></span></a><br>
</span><span style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#7d7d7d">MARIN news:
<a href="http://www.marin.nl/web/News/News-items/Winaars-Speurspel-open-dag.htm" target="_blank">
Winaars Speurspel open dag</a></span><span style="font-family:"Calibri",sans-serif;color:black">
<u></u><u></u></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:"Calibri",sans-serif;color:#212121">
<hr size="2" width="98%" align="center">
</span></div>
<div id="m_-2097587459255495914m_4691099594876420550divRplyFwdMsg">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">
</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank"><span lang="EN-US">spacewalk-list-bounces@redhat.<wbr>com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">
 <</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank"><span lang="EN-US">spacewalk-list-bounces@redhat<wbr>.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">>
 on behalf of Daryl Rose <</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:darylrose@outlook.com" target="_blank"><span lang="EN-US">darylrose@outlook.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">><br>
<b>Sent:</b> Monday, November 14, 2016 20:29<br>
<b>To:</b> </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><a href="mailto:spacewalk-list@redhat.com" target="_blank"><span lang="EN-US">spacewalk-list@redhat.com</span></a></span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><br>
<b>Subject:</b> [Spacewalk-list] Migrating to a physical</span><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#212121">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif;color:#212121"> <u></u><u></u></span></p>
</div>
</div>
<div>
<div id="m_-2097587459255495914m_4691099594876420550divtagdefaultwrapper">
<p><span style="font-family:"Calibri",sans-serif;color:black">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.<u></u><u></u></span></p>
<ol start="1" type="1">
<li class="MsoNormal" style="color:black"><span style="font-family:"Calibri",sans-serif">Rename current SW to temporary name.<u></u><u></u></span></li><li class="MsoNormal" style="color:black"><span style="font-family:"Calibri",sans-serif">Rename physical from temporary name to actual FQDN.  <u></u><u></u></span></li><li class="MsoNormal" style="color:black"><span style="font-family:"Calibri",sans-serif">Install latest version of SW (current installation was recently upgraded to 2.5).<u></u><u></u></span></li><li class="MsoNormal" style="color:black"><span style="font-family:"Calibri",sans-serif">rsync following directories:
<u></u><u></u></span></li></ol>
<ol start="4" type="1">
<ul type="circle">
<li class="MsoNormal" style="color:black"><span style="font-family:"Calibri",sans-serif">/etc/jabberd<u></u><u></u></span></li><li class="MsoNormal" style="color:black"><span style="font-family:"Calibri",sans-serif">/etc/rhn<u></u><u></u></span></li><li class="MsoNormal" style="color:black"><span style="font-family:"Calibri",sans-serif">/etc/sysconfig/rhn<u></u><u></u></span></li><li class="MsoNormal" style="color:black"><span style="font-family:"Calibri",sans-serif">/root/ssl<u></u><u></u></span></li><li class="MsoNormal" style="color:black"><span style="font-family:"Calibri",sans-serif">/var/www/html/pub<u></u><u></u></span></li><li class="MsoNormal" style="color:black"><span style="font-family:"Calibri",sans-serif">/var/satellite<u></u><u></u></span></li></ul>
</ol>
<ol start="5" type="1">
<li class="MsoNormal" style="color:black"><span style="font-family:"Calibri",sans-serif">Backup Postgres DB from VM<u></u><u></u></span></li><li class="MsoNormal" style="color:black"><span style="font-family:"Calibri",sans-serif">Restore Postgres DB to physical<u></u><u></u></span></li></ol>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">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.
  <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">If I'm missing something, or I have something wrong, please let me know. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Thank you.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black">Daryl<u></u><u></u></span></p>
</div>
<p><span style="font-family:"Calibri",sans-serif;color:black"><u></u> <u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/spacewalk-list</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/spacewalk-<wbr>list</a><br></blockquote></div><br></div>