Re: Moving a server to new hardware
Lawrence Sica <lomion@...
2009-11-12 16:23:47 GMT
On Nov 12, 2009, at 2:32 AM, LuKreme wrote:
> Have an old piece of shit server that is limping along. have ordered
> a replacement (core2duo, 4GB of RAM, 250GB drive)
> Will be installing FreeBSD (latest Release version) on it.
> I need to move MySQL databases, shell user accounts, MySQL user
> accounts, saslauth users, mail spools, as well as all the installed
> software from the old machine (FreeBSD 6.2) to the new machine as
> seamlessly as possible. I DO have an extra static IP, so I can put
> the server in place and go from there.
> I also have a second drive on the current server that contains rsync
> backups of the entire server. I was thinking this might help if I
> moved the drive to the new machine and used it as a base to restore
> The last time I did this it was not seamless, I was down for a
> couple of days, and it pissed me off royally.
> Obviously there will be SOME downtime, but I would really like to
> get that down to minutes and not days.
> Any suggestions or RTFM links from the *nix geeks?
Well did you try just copying over the password database for the
users? I've done it on Solaris a number of times with no problems,
not sure if FreeBSD will bitch, it should not though.
As for the database itself. A dump and restore won't work for you?
I'd not simply rsync stuff over since that might actually clobber
something. I'd manually move the data. As for configs, unless it's
the same exact version of FreeBSD you can't simply copy those w/o
You could also just try and drop the old drives in the new box and
go. That should work unless you have a seriously customized install.
You'll then have a bootable system fully ready and can move data.
This assumes you are going to the same OS rev.
OSX-Nutters mailing list | OSX-Nutters@...
List hosted at http://cat5.org/