You are running sarge now, no worries there.

I have done several migrations like this in the past few weeks.
My method was:

0. Install packages you'll want on your new system onto your old
   system so they'll be there when you arrive
  - mdadm
  - xfsprogs && xfsdump
  - grub
1. Boot the new machine with a live CD (like Knoppix or similar).
2. Partition and get the filesystems the way I wanted.
  - For important servers I like a 3-drive setup
    (a) two drives in RAID 1
    (b) one drive doing nightly backups
  - I prefer XFS for most partitions because there is no fsck
    step (faster recovery from reboots)
3. Use tar and nc to transfer the filesystem from the old machine
   to the new machine.
4. Install a new kernel that supports the new hardware and
   drivers (like XFS and RAID) by hand -- i.e. put the kernel
   image and modules in the correct places
5. Install grub, your bootloader.
6. Modify etc/fstab to reflect changes to the filesystem layout
   (i.e. RAID)
7. Change the static IP in /etc/network/services to something
   unused (ask me) and try test booting the new machine.

8. When things work, change the static IP in
   /etc/network/services to the correct value, shutdown the old
   machine, and reboot the new machine.

Almost zero downtime.

Caveats: It would be best if changes within Moodle were
disallowed when you get ready to transfer the filesystem to
prevent having things in the wrong state when you bring up the
new system.

An alternative is to transfer the Moodle files one last time just
before the actual switch.  Take Apache down, transfer the Moodle
databases, then switch.

Don

-- 
Don Bindner <[EMAIL PROTECTED]>

-----------------------------------------------------------------
To get off this list, send email to [EMAIL PROTECTED]
with Subject: unsubscribe
-----------------------------------------------------------------

Reply via email to