Either this weekend or next I'm going to be moving my main server from
debian unstable to gentoo stable. My reasoning is pretty simple. I've
had more problems with debian unstable lately than gentoo stable (which
I run on my personal webserver), nicer control of things via cflags and
such, and gentoo provides a nicer mix between current/secure/stable than
debian seems to. I'm looking forward to a stage 1 install on a nice
dual CPU box (though in the interests of time I may just do a stage 3:)
Anyway, I'm setting up a checklist in my mind and trying to figure out
what I need to do and set up and back up before the move, if there's
something I've forgotten. The box is a web/db/jabber/mail system with
some user accounts. Anyway, this is what I'm thinking so far.
- don't screw up /home (separate disk), unplug before upgrading just to
be sure
- backup:
* jabber home dir (for the spool files, I'll install the gentoo jabber
ebuild
* /usr/local/sbin scripts
* /usr/local/ files to sort through later
* /etc to copy passwd/shadow/group over to retain user perms
* apache config
* php.ini
* mysql binary data dir
* postgresql binary data dir
* /root
* random cgi files in /usr/lib/cgi that might there
- dump mysql/postgresql to sql files for import/backup
- dump dpkg currently installed packages
- list whatever has been installed via cpan from the command line
- copy across rdiff-backup backups directory so I don't have to upload
multi-megabytes next time my home box does it's backup
- anything else obvious I'm missing?
The next thing would be the actual set up of the system. I'd like it to
be a pretty failsafe box, I've had mucho bad hardware karma lately, so I
want the set up of the drives filesystems to be as rock solid as I can
get them. I currently have:
- 3x18G SCSI drives (intended for sw RAID5 on /home)
- 4x40G IDE drives (intended for the rest of the system)
What would be the best set up as far as drives go? Raid5? Raid 1+0?
Raid 0+1? I currently have each disk split into four parts, one that's
for / (with the other three synced each night so that they can be
booted off of if the main hda1 goes), a swap partition, and two
partitions for part of a raid array (md0 = hda3 hdb3 hde3 md1 = hda4
hdb4 hde4). I'm not sure if this makes any sense now though, when I
originally set it up I was new to raid you see.
The rest of the box is a dual 1.13Ghz PIII with 2G ram.
Thanks!
alan
--
Alan <[EMAIL PROTECTED]> - http://arcterex.net
--------------------------------------------------------------------
"There are only 3 real sports: bull-fighting, car racing and mountain
climbing. All the others are mere games." -- Hemingway
--
[EMAIL PROTECTED] mailing list