Today’s question comes from Stan Chelchowski. Here’s the essential part of what he wrote: “How do you migrate open source iFolder server and corresponding iFolders to new hardware? Both are running SLES10. Can this all be done by copying directories between the servers and then making the new hardware take on the old server’s identity?”
The answer is: pretty much yes. With an eye toward the particular sequence of events, of course. I’ve actually done this myself, and have had great success with the steps outlined below. Of course, you *could* always just build a new server, and tell the users to sync their data to the new place. After all, this method is a migration in itself… 😉
Anyway, back to the point, here’s the way I did it:
tar -zcvf if3.tgz /if3). This location must match the location you give/gave during the configuration script run. Copy the backup file to the new target server.
/usr/bin/simias-server-setup…Make sure you specify everything the same as on the original source setup (things like the datastore, authentication details, etc).
simias_server.confor adding the
ifolder_apache.conf. (Make sure to check my other posts on this topic for details.)
mv /if3 /if3-dont-use
tar - zxvf if3.tgz…so that the archive expands into the same place as before. You should now have a correctly named simias datastore that was migrated from the source server.
That should do it! If all went well, and there’s no iptables rules blocking it and such, you should be up and running. Of course, there are other ways to do it, and there are things you can change on the way, as long as you know what configuration files to edit (like those in /etc/simias, and at the actual simias db directory), in order to stitch it all back together. But I thought that would be outside the general scope of this post. For now anyway, I hope it works for you… Enjoy!