News for hackers. Stuff that matters.
Re:Slicehost: Boot your slices with your own custom kernel by StavrosK on Thursday October 28, 2010 @01:05PM (#1843741)
Hmm, how did you migrate? I have so many sites and old cruft that anything short of a clone of the VM will fail horribly...
Re:Slicehost: Boot your slices with your own custom kernel by askedrelic on Thursday October 28, 2010 @02:08PM (#1844104)
Short answer: Build scripts + standard layout.

(I'm a Debian guy) I used 'dpkg -l' to check what all I had currently installed and narrowed down what packages I was still using. Check /etc/init.d for start up scripts. Hard files on disk are easy to migrate, live migrating MySQL data is more tricky, but my personal sites don't really have that much going on. I always keep a .tar.gz of the entire server for future reference.

Move over as much as possible and try to get things running. Save your .bash_history and get a build script going. Pull any /etc/ config files you are missing. Reinstall your required packages. Test your new site via editing /etc/hosts, then move the DNS. Watch your logs and look for 404 erors for files you didn't copy over correctly.

It takes time, but if you use an organized and repeatable process, it can take less time in the future.

Re:Slicehost: Boot your slices with your own custom kernel by akira410 on Thursday October 28, 2010 @02:53PM (#1844344)
Same here. I also hacked up (with Linode) a Linode Stack Script (for those that do not know, it's basically a fancy bash script that gets run upon deployment.)

It goes through the trouble of installing all of my various dpkg dependencies, setting up mysql, downloading and compiling rails and nginx w/ passenger, as well as setting up my bash prompt.

Re:Slicehost: Boot your slices with your own custom kernel by tasaro on Thursday October 28, 2010 @01:13PM (#1843788)
This is a good starting point: http://bit.ly/WdezH
Re:Slicehost: Boot your slices with your own custom kernel by StavrosK on Thursday October 28, 2010 @01:15PM (#1843798)
Thanks, I read that but it sounds like a hassle, I guess I'll have to bite the bullet. Thanks!