Kint
08-08-2001, 09:59 AM
Here's the situation :
I've got 20 or so servers at this small company with absolutely no failover backups. Most of these servers were installed on the fly by the 'in-house' programmers, with no thought given to proper layout, security and backups. Some are Mandrakes, some are RedHats, some are Slackwares. Some IDE, some SCSI. Some of them have more than 1 HD, some don't. You get the point. The only hardware standard is Intel CPUs on all the linux servers. The actual data (user files, code, documents) is backed up safely using the LEGATO client for Linux. What I need is some sort of failover in the case of HD failure or worse, a break-in. I had considered mirroring, but that would imply buying 20 or so HDs. Plus, if a break-in occurs, that doesn't help me much. The mirror can be wiped quite easily.
Also, it seems that LILO has been installed on the MBR on all servers. I tried simply tar'ring (and dump'ing) up the OS filesystem (minus the data, basically /home and /usr), but that proved cumbersome when trying to replicate to another disk. It took too long to recreate a server, and I had problems getting LILO to rewrite itself to the MBR on the new disk. I solved that problem by using another boot loader altogether.
Then I tried 'dd'. That worked well, except that in some cases, /usr and /home are not on a separate partition and I end up backing up huge ammounts of data that's already been picked up by LEGATO. Also, that pretty much prevents me from doing incremental backups. On some servers, the configuration does change quite often.
Then I tried the latest version of Norton Ghost. Works well enough, lets me read ext2 partitions (thus only creating an image as big as the data being used, not the total size of the HD), but I have to shutdown the servers to ghost them. The full enterprise verrsion of Ghost (which lets you do live backups remotely) seems to lack a Linux client.
So there I am. I'd like to hear from SysAdmins who experienced something similar. Ideally, the solution would be something native to linux (tar, dump, etc.), and I don't mind 'combining' solutions (local mirroring for all the servers, plus some off-site backups).
A quick note on LILO : When recreating filesystems with restore or tar, I used a boot disk and chroot'ed my newly created filesystem as /, then ran lilo -b /dev/hda. For some reason, on reboot the system hung at 'LI...'.
Many, many thanks.
[ 08 August 2001: Message edited by: Kint ]
I've got 20 or so servers at this small company with absolutely no failover backups. Most of these servers were installed on the fly by the 'in-house' programmers, with no thought given to proper layout, security and backups. Some are Mandrakes, some are RedHats, some are Slackwares. Some IDE, some SCSI. Some of them have more than 1 HD, some don't. You get the point. The only hardware standard is Intel CPUs on all the linux servers. The actual data (user files, code, documents) is backed up safely using the LEGATO client for Linux. What I need is some sort of failover in the case of HD failure or worse, a break-in. I had considered mirroring, but that would imply buying 20 or so HDs. Plus, if a break-in occurs, that doesn't help me much. The mirror can be wiped quite easily.
Also, it seems that LILO has been installed on the MBR on all servers. I tried simply tar'ring (and dump'ing) up the OS filesystem (minus the data, basically /home and /usr), but that proved cumbersome when trying to replicate to another disk. It took too long to recreate a server, and I had problems getting LILO to rewrite itself to the MBR on the new disk. I solved that problem by using another boot loader altogether.
Then I tried 'dd'. That worked well, except that in some cases, /usr and /home are not on a separate partition and I end up backing up huge ammounts of data that's already been picked up by LEGATO. Also, that pretty much prevents me from doing incremental backups. On some servers, the configuration does change quite often.
Then I tried the latest version of Norton Ghost. Works well enough, lets me read ext2 partitions (thus only creating an image as big as the data being used, not the total size of the HD), but I have to shutdown the servers to ghost them. The full enterprise verrsion of Ghost (which lets you do live backups remotely) seems to lack a Linux client.
So there I am. I'd like to hear from SysAdmins who experienced something similar. Ideally, the solution would be something native to linux (tar, dump, etc.), and I don't mind 'combining' solutions (local mirroring for all the servers, plus some off-site backups).
A quick note on LILO : When recreating filesystems with restore or tar, I used a boot disk and chroot'ed my newly created filesystem as /, then ran lilo -b /dev/hda. For some reason, on reboot the system hung at 'LI...'.
Many, many thanks.
[ 08 August 2001: Message edited by: Kint ]