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./if3
“./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.conf
or 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.rcapache2 restart
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!
🙂
Thank you Jeremy!!…
I have been looking for guidance in this for so long, I am glad I found you….
As a linux newbie I am going to have to take a big gulp of courage and go for it…. I’ll let you know how I get on…
Best wishes
Glad to be of help, Stan! Thanks again for the prompt. By the way, your question has also prompted me to whip up a cheat-sheet for setting up iFolder 3.6 on SLES 10 sp2. It’s sort of a follow-up to the stuff I’ve done in the past with OpenSuse. It’s basically the same, with one or two exceptions… I’ll put that up early next month…
🙂
Hi Pavlov,
I finally managed to focus on the iFolder 3.6 hardware migration.
My iFolders are all stored on an external array. At present only about 45 Gbs in total (but very precious!!). No matter how I ran tar it would fail before completion, it was also incredibly slow – 6 hours plus… In the end I took faith in the hardware storing the array and moved the controller card with the array to the new server. I created my iFolders folder, built the iFolder server with that iFolder data path, then mounted the external array to the same folder et voila! – all running happily!!! – Phew!!!
Just when I thougjht peace had returned to the camp…. Wham! Novell relaunch opensource iFolder…..Aghh!!! Fantastic eh!!!!
O.K. any ideas/concerns on how to upgrade the iFolder 3.6 server & data to 3.7???
Best Wishes
Stan Chelchowski