https://wiki.fogproject.org/wiki/index.php?title=Moving_Between_Servers&feed=atom&action=historyMoving Between Servers - Revision history2024-03-28T08:40:04ZRevision history for this page on the wikiMediaWiki 1.30.0https://wiki.fogproject.org/wiki/index.php?title=Moving_Between_Servers&diff=12423&oldid=prevWayne-workman.28155 at 03:44, 13 January 20172017-01-13T03:44:22Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr style="vertical-align: top;" lang="en">
<td colspan="2" style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: white; color:black; text-align: center;">Revision as of 03:44, 13 January 2017</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><font color="red">Note:</font> The below content is from year 2011. I've left it intact for historical purposes, but a new article is available here: [[Migrate FOG]]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Migrating FOG Server: Case Studies ==  </div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Migrating FOG Server: Case Studies ==  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Since there are many variables to consider when migrating any server from one platform to another, this page may serve as a repository for the experience of others.  If none of the cases below match yours exactly, perhaps you can interpolate the details and add your own experience as a separate study.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Since there are many variables to consider when migrating any server from one platform to another, this page may serve as a repository for the experience of others.  If none of the cases below match yours exactly, perhaps you can interpolate the details and add your own experience as a separate study.</div></td></tr>
</table>Wayne-workman.28155https://wiki.fogproject.org/wiki/index.php?title=Moving_Between_Servers&diff=4354&oldid=prevAtomix at 18:30, 25 October 20112011-10-25T18:30:47Z<p></p>
<p><b>New page</b></p><div>== Migrating FOG Server: Case Studies == <br />
Since there are many variables to consider when migrating any server from one platform to another, this page may serve as a repository for the experience of others. If none of the cases below match yours exactly, perhaps you can interpolate the details and add your own experience as a separate study.<br />
<br />
=== Migrating Ubuntu 9.04 64-bit on VMWare to Physical Ubuntu 9.04 64-bit ===<br />
<br />
What if you need to move FOG from one server to another? In my situation, I was virtualizing my FOG server to sit on a VMWare Server instance. I couldn't just convert the entire machine because the origional platform was a 64-bit Ubuntu 9.04. VMWare doesn't convert that (at least not easily), so I just built a clean Ubuntu 9.04 install.<br />
<br />
My first step in moving my installation was to install FOG on the new server. I took all the defaults as mentioned in the [[FOGUserGuide]] so that the install would mimic the first one I did. I made sure both were running the same version (I had to update my old install to 0.27) so that I wouldn't have any SQL schema issues. I then used MySQL Navigator to export the old FOG database, copied the .sql file to the new server and used Navigator again to import the data to the new FOG database. I then copied the files in the /images directory making sure to chown and chmod so that the local fog user had permissions.<br />
<br />
After this and a reboot for good luck (my old windows habits die hard) I went into the web interface. It took me a bit to figure out what changes needed to be made there but I found them. Under Other Information -> FOG Settings I made sure that it reflected any IP/DNS changes. Specifically I had to change: FOG_WOL_HOST, FOG_TFTP_HOST, and FOG_WEB_HOST. I also reset the TFTP password as documented at [[Unable to connect to TFTP]]. The final kicker (and it took me a minute to figure it out) is under Storage Management -> All Storage Nodes -> DefaultMember. You need to change the IP address here or when the client goes to pull the image, it will look at the wrong address.<br />
<br />
Of course if you keep the same IP address most of this is not an issue. If that's the case it's as simple as moving the database and the image files.<br />
<br />
I didn't have any snapins to move (still can't get it to work right in my setup), so perhaps someone else can add that in later.</div>Atomix