Line | |
---|
1 | $Id$
|
---|
2 |
|
---|
3 | MondoRescue supports OBDR mode.
|
---|
4 |
|
---|
5 | You need to use the options -o and -t of mondoarchive to activate it.
|
---|
6 | You may also need an additional software (hpsa_obdr_mode) if using HP ProLiant servers, in order to put th tape drive in the right mode from the command line (also in case of problem after OBDR boot, when the drive doesn't come back alone into tape mode Cf: http://trac.mondorescue.org/ticket/358)
|
---|
7 | That software is available from http://cciss.sf.net/ and http://trac.mondorescue.org/attachment/ticket/358/hpsa_obdr_mode.c + http://trac.mondorescue.org/attachment/ticket/358/Makefile
|
---|
8 |
|
---|
9 | Here is an example script showing how to setup the tape based DR correctly completely from the CLI on SLES 10 on a ProLiant server using an internal SAS DAT 160 tape drive:
|
---|
10 |
|
---|
11 | # Create some temp dirs for mondoarchive
|
---|
12 | mkdir -p /mondo/images /mondo/sratch /mondo/tmp
|
---|
13 | # Re-read the bus content
|
---|
14 | echo "engage scsi" > /proc/driver/cciss/cciss1
|
---|
15 | # Load the tape device driver
|
---|
16 | modprobe st
|
---|
17 | # Force the tape drive to be in tape mode
|
---|
18 | hpsa_obdr_mode -m tape /dev/cciss/c1d0
|
---|
19 | # Create the Disaster Recovery bootable tape
|
---|
20 | mondoarchive -G -N -O -E "/mondo" -t -o -d /dev/st0 -T /mondo/tmp -S /mondo/scratch
|
---|
21 | # Force the tape drive to be in CD mode (bootable mode aka OBDR)
|
---|
22 | hpsa_obdr_mode -m cd /dev/cciss/c1d0
|
---|
23 | #reboot
|
---|
24 |
|
---|
25 | The machine is backed up and then rebooted in the OBDR mode ... without using the button ;-)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.