Saturday, January 29, 2011

Bare-Metal Restores of Linux Servers with Tivoli

We currently use IBM Tivoli to back up our Linux servers and we are looking for suggestions on the best way to restore to bare metal. I've read IBM's doc on this issue. Is that still relevant or is there a better way? Also, how do you handle testing a restore to a vm or another piece of hardware on the same network that the original server lives?

  • Dont know about tivoli, but restoring Linux systems from bare metal can be easy or hard, depending on if you have used LVM.

    Basic

    1. record fstab info

    2. save the boot block to a file on your disk and back it up

    to restore: ( no LVM )

    1. Using the fstab info rebuild the target drive the same way

    2. Boot to another drive with the target drive hooked up too, so you and restore to it

    3. Using fdisk build the new drive the same as the old

    4. Restore to the target drive using your back up system

    5. Restore the book block and use dd to put it into place

    6. Probably have to install grub, lilo or whatever

    7. Boot to new drive

    ( these instruction assume no hardware change)

    The key to be able to do this is PRACTICE!!!!!!

    kmarsh : This could work, but I find disk imaging a much more automated way to repartition disks.
    From
  • If you want a commercial product with support, check out CBMR. I've seen it working on my previous job. It is decent software, supports TSM, supports Linux LVM, supports bare metal restore to a different hardware, and is re-sold by IBM.

    Looking on their web site, I see they also now have something new called TBMR that seems to be even tighter integrated with TSM. I don't know this one, but in your situation it seems to be worth checking out too.

    Chad P : What has your experience been with doing recovery using CBMR? Any tips or caveats?
    kubanczyk : CBMR has no protection from files changing during the backup. But actually you need only /bin, /boot, /usr, etc, so I decided it is not an issue really. Just works as far as I've tested it. I tested only booting from CD, not from the network.
    From kubanczyk
  • On the GPL-licensed side, I only know of ReaR (Relax and Recover) which can handle TSM... http://rear.sourceforge.net/

  • I've seen CBMR used often with TSM for bare metal recovery, this is not an advertisement but it might be your best option. Cristie Bare Metal Recovery (google for it if interested)

    From Marcel

0 comments:

Post a Comment