Académique Documents
Professionnel Documents
Culture Documents
DISASTER RECOVERY
August 2005
Copyright
This manual, including all the figures and screenshots it contains, is
Copyright 2001-2005 by Arkeia SA, All Rights Reserved.
Arkeia Arkeia SA
1808 Aston Avenue 31, rue Delizy
Suite 220 93692 Pantin Cedex
Carlsbad, CA 92008 France
USA
US, Canada, Mexico, South America, Europe, Middle East Africa, and central
Australia, Pacific Rim, China Asia
ARKEIA reserves all rights that are not expressly granted to the LICENSEE.
ARKEIA does not warrant and does not enter into any commitments regarding the
content of the documentation and the software. ARKEIA further disclaims any
implicit warranties tied to the sale of the right to use license of this SOFTWARE
with respect to its quality, its results, its merchantability or its suitability for a par-
ticular purpose. Consequently, the license to use this SOFTWARE is granted as
is, without any promise being made.
This manual tells you how to use Arkeia and the Arkeia Disaster Recovery appli-
cation to:
1. prepare for a disaster recovery, and
2. restore a client, or server.
The Disaster Recovery Disaster Recovery application can be used under both the
Arkeia Network Backup and Arkeia Server backup applications.
!
Using Disaster Recovery Disaster Recovery for an Arkeia server
computer requires an additional license, which can be obtained
from Arkeia sales. Go to the Arkeia website www.arkeia.com to
puchase a license, or for a free demonstration license.
Please make sure that you have the correct license, by checking with Arkeia,
before attempting to start a Disaster Recovery on an Arkeia server or client.
It is important to test the Disaster Recovery procedure to make sure it supports the
hardware that will be restored, especially using the drivers that are present on the
Arkeia Disaster Recovery CD.
You can only restore what you have backed up, and you can only restore the back-
ups you can find.
!
The Disaster Recovery procedure is entirely based on the avail-
ability of backup tapes (or other backup media). If the backup
media is damaged or missing, there is nothing that Disaster
Recovery (or any other backup software) can do. For this reason,
we highly recommend that you make copies of all backup media.
Disaster Recovery provides a simple utility to quickly duplicate
backup media, in its standard distribution. For more information
on this utility, refer to the Arkeia User Manual section titled Dupli-
cate a tape on page 221.
Client DR backup
1. Backup the system information required to reconstruct the client computer:
a. Disk configuration - partitions, file systems, file system block size, file
system label.
b. Network configuration - network card, TCP/IP parameters.
2. Backup all the files present on the computer.
Server DR backup
1. Backup all the files present on the server computer.
2. Backup the system information required to reconstruct the server:
a. Disk configuration - partitions, file systems, file system block size, file
system label.
b. Network configuration - network card, TCP/IP parameters.
c. Server database (dbase/f3xxx) and index (dbase/03dbtree) of server
backups (where xxx indicates a directory).
Server DR restoration
1. Boot the target computer from the Arkeia DR CD-ROM.
2. Enter the name of the tape drive where the tapes containing the server data
will be loaded. If you have a tape library, it must be used in a single drive
manually-loaded mode during the DR restoration.
3. The DR program recovers the server system configuration from the nomi-
nated tape drive, including the Arkeia database and index.
4. The server computer configuration is reconstructed by the DR program:
a. hard disks are partitioned,
b. the partitions are formatted,
c. the partitions are mounted.
5. The server data files are restored to the hard disks.
6. The original bootloader is restored.
7. The recovered server is restarted and brought online.
Click to check this box to include the information Arkeia needs for Disaster
Recovery in the backup of the associated Savepack or tree. If a Savepack has this
checkbox filled, the trees added to it will inherit the property. The Allow disaster
recovery property for an individual tree can be changed
An individual tree can have the Allow disaster recovery property inherited from its
parent Savepack reversed through the Tree advanced options menu.
For increased safety of your data, duplicate the Disaster Recovery tapes using the
tape duplication utility of Disaster Recovery. For more information on this utility,
refer to the Arkeia User Manual section Duplicate a tape on page 221.
!
During a Disaster Recovery, Disaster Recovery will ask the opera-
tor for the different tapes by name. Labeling the tapes clearly will
substantially reduce the time necessary for the restoration opera-
tion.
Proper handling and storage of the Disaster Recovery tapes is also important. For
more information on this subject, refer to Handling and replacing backup media on
page 51 in the Arkeia User Manual, and the documentation supplied by the maker
of the backup media.
Click on the icon to display the list of computers declared as clients to the current
Arkeia server. Click on the name of a computer to display the plug-ins available on
that client:
The resident plug-ins that are available in a standard Disaster Recovery installation
are file, to backup the file systems of an Arkeia client and sysinfo, which is the
plug-in used to backup the system information of the client. The / after their
respective names indicates that these elements contain sub-elements.
Double click on sysinfo to display the different classes of information that can be
backed-up:
Click on checkboxes next to config and system to select them for backup to tape.
The system information items are displayed in the Savepack as a path using the
following syntax:
computer_name!sysinfo:/config
computer_name!sysinfo:/system
Once the network parameters (the sysinfo:/config shown above) have been
backed-up, they can be restored to a Disaster Recovery diskette. This diskette will
be useful to rapidly restore a system. See Create a recovery diskette on page 15 for
more details.
Use the sysinfo plug-in to save this information as we did above for the config and
system data, but this time choose the dbase/ path instead of the config and system
files. Click on the dbase/ to display the two parts of the Arkeia database:
In the example shown above, the f3 file is the configuration database itself, and the
o3dbtree folder is the Arkeia index.
The Arkeia database (or f3) can be large, but the index (which is contained in the
directory o3dbtree/) is much larger, because it contains one part for each client
declared to the current server. For instance, if a given Arkeia server has ten clients,
named puter01 to puter10, the o3dbtree/ index will contain ten sub-directories, with
the same names as the computers: o3dbtree/puter01, o3dbtree/puter02, and so on to
o3dbtree/puter10.
Using the index, it is therefore easy to retrieve the server data, and only the server
data, by restoring only the sub-directory that corresponds to the desired server.
The database and the index should be saved at the same time. Restoration,
though, can be partial (client by client).
Since both the index and the database are updated every time Disaster
Recovery performs an operation on a client, you should backup both on a
regular basis. However, even if a Disaster Recovery procedure has to be
launched without the benefit of a complete database and index backup, the
arkrstdb utility can help complete the missing entries in the database and
index. For more information, refer to the Arkeia User Manual section named
Recover the Arkeia database: arkrstdb on page 215.
Whenever an Arkeia server which performs backup operations on itself is
reconstructed under Disaster Recovery, it is recommended that you backup
the index of the server separately from the index of its clients. For instance, if
the server is named plex, the index information that should be backed up is
contained in sysinfo:/dbase/o3dbtree/f3 and sysinfo:/dbase/o3dbtree/plex.
The recovery diskette contains information which you may find difficult to locate,
after the computer has failed. The question and answer section which starts the
Disaster Recovery procedure will be much shorter if you have a recovery diskette
because the default values will be changed to the correct values stored previously
on the diskette. To create a recovery diskette for a given computer, follow the steps
detailed below:
1. Use the instructions above (in the section titled Backup the client and server
computer configuration on page 13) to perform a complete backup of the
system configuration (with the sysinfo:/config plug-in).
2. Restore the system configuration, contained in sysinfo:/config, to disk, by
using the redirection function of Disaster Recovery. For more information on
the redirection of a restoration, refer to the Arkeia User Manual section
named Redirecting a restoration on page 142.
3. Copy the file created by this restoration to a diskette.
The Disaster Recovery procedure is now able to use this diskette to automatically
provide correct default values to the questions asked in the first step of the Disaster
Recovery procedure.
Since the Recovery file stored on the diskette is quite small, it is best to store sev-
eral of these files on a single diskette, by giving different names to each file. For
instance, if a Disaster Recovery diskette should be created for the three following
computers:
Computer 1: mars.usa.acme.com
Computer 2: jupiter.usa.acme.com
Computer 3: saturn.usa.acme.com
It is possible to create three separate files, named: mars.cfg, jupiter.cfg and sat-
urn.cfg that can then be stored on the same diskette. When the Disaster Recovery
procedure is launched, it will ask first for the Recovery diskette then, if several
files are found, it will ask which one should be used for the current target com-
puter.
!
Even if the computer configuration information has been saved to
backup media, you still need to save the data contained on its
hard disks, and not just the basic computer configuration infor-
mation.
Savepack 2
voyager.arkeia.com!sysinfo:/
The more critical the data backed up by the server, the more frequent should
be the backup.
!
You should be aware of the size of the database and the index
when setting the backup policy of these elements.
!
If you recover a client or server to a computer which has an exist-
ing operating system or existing formatted hard disk, the operat-
ing system and disk format (which includes any data on the disk)
will be obliterated and replaced with the backed up operating sys-
tem and disk format.
Although it is not essential, the most reliable Disaster Recovery operation will
occur when the computer receiving the recovered data is identical to the computer
from which the data came. This includes:
Hard disk: the computer used for the Disaster Recovery procedure should
have a hard disk with a size at least as large as the original computer. If a
larger disk is used, the unused space will be assigned as an unused (or: free)
"
If a different network card is installed in the new computer, when the
recovered system is restored, the network parameters will be overwrit-
ten with the old parameters, so you will have to re-install the network
card with the new parameters.
SCSI card: If the original computer used a SCSI card to control its hard
disks, you should check that this card is on the list of supported SCSI cards
in the section Supported SCSI cards on page 32. A Disaster Recovery CD-
ROM is supplied by Arkeia with every copy of Disaster Recovery that has a
valid Disaster Recovery license. All the listed drivers are present on the
Disaster Recovery CD-ROM under /lib/modules/2.4.20-xfs/kernel/drivers.
Arkeia versions prior to 5.1.12 are not able to detect the SCSI card and load the
correct SCSI modules automatically. If you are running a version prior to 5.1.12
you will have to determine which card is installed in the computer, and which mod-
ule supports that card. To load a module, log in to a virtual terminal (Alt+F2 or
Alt+F3) and type this command:
insmod <module_path>
To start the Disaster Recovery procedure, power on the target computer, and make
sure its BIOS is set to boot from the CD-ROM drive.
!
The Disaster Recovery procedure does not support computers
that either do not have a CD-ROM drive or that cannot boot from
the CD-ROM drive. It is unlikely that recovery of computers which
cannot boot from a CD-ROM drive will succeed.
Insert the Arkeia Disaster Recovery CD-ROM, and re-boot the computer.
When computer has booted, the first screen of the Arkeia Disaster Recovery proce-
dure will be displayed.
After the initialization stage under Linux, the Disaster Recovery procedure will ask
for your keyboard type, and whether a recovery diskette is available. If a Disaster
Recovery diskette is available, enter y for Yes. If several Recovery files are present
on the floppy, the Disaster Recovery procedure will then ask which file should be
used for the computer being restored.
"
Even if a Disaster Recovery diskette has been inserted for the system
being recovered, the Disaster Recovery procedure will ask the ques-
tions detailed below. The difference is that when you have a Disaster
Recovery diskette, the default values offered at the prompt will be the
values read from the recovery diskette, so they need not be typed in,
just press Enter to confirm.
!
The Disaster Recovery procedure will attempt to detect the cor-
rect model of the network card. The result of this detection will
then appear as the default value. If a Recovery diskette has been
prepared, the default value will always be the one that has been
saved on the diskette.
If the network card default value does not seem correct, entering the letter h for
Help, instead of a value, will display all the models that are supported by the Disas-
ter Recovery procedure. The value of the correct model should then be entered
after the question.
!
The Disaster Recovery procedure does not support DHCP. If the
network the crashed computer is connected to uses DHCP, con-
figure the DHCP server in such a way that both the crashed com-
puter and the Arkeia server used for its restoration always use the
same fixed TCP/IP address.
When these questions are answered, the Disaster Recovery procedure will display
the complete list of parameters and their values under the heading Configuration
data. The procedure then requests confirmation that all parameters have been
entered correctly.
If one of the parameters is incorrect, answer n for No. The procedure then restarts
from the beginning and asks again for the network card configuration, computer
name, TCP/IP address, and so on.
Restore a client
If at the point in the re-configuration of the network where you are asked if the
computer is a server (Question 8 here on page 22), you answered n for no, you will
be directed to the client restoration procedure, after the network connection is re-
configured.
The Disaster Recovery procedure will now contact the Arkeia server defined on
the network, and retrieve the configuration information about the damaged com-
puter from the Arkeia backup server database.
!
If the amount of data to be restored is large, the Disaster Recov-
ery procedure may require you to insert several tapes into the
Arkeia server drives, therefore a Disaster Recovery operation
should not be left unattended.
You can let Disaster Recovery repartition the new disk in the same configuration as
the original, or you can format and repartition the new disk manually if:
the destination disk is smaller than the original disk, because Disaster Recov-
ery cannot partition the disk in this case, or
the destination disk is bigger than the original, because Disaster Recovery
would leave the extra space unused, or
you wish to re-size the partitions.
For each disk, Disaster Recovery will ask whether you want to format it or not. If
you answer no for a disk, that disk will not be formatted or partitioned. This is use-
ful if, for example, the original computer had two disks and you want to re-create
only one disk. The disks for which you answer yes, are formatted and partitioned.
In the example below, the:
The original file system labels are then displayed. You can allow Disaster Recov-
ery to restore them, or you can manually apply different labels.
!
It is important to restore the filesystem labels because some
Linux distros, for example Red Hat, configure the fstab file to
mount devices according to their labels.
In the example above, /dev/hda1 is labeled / and the /dev/hda3 filesystem has no
label.
The restoration process typically requires a large amount of memory, so for a more
efficient restoration, it is recommended that you activate a swap partition, if you
have the space available.
When the query is completed, Arkeia lists all the tapes needed for the restoration.
In the example above, only one tape is needed: LT01_tape1.
You are then asked to insert each tape from the list in turn into an available drive,
and indicate which drive contains the tape. This process is repeated for each tape in
the list, until all the data is restored.
For more information about the Restore screen, see the Arkeia User Manual How
to launch the restoration on page 145.
The last step in the Disaster Recovery process, for both clients and servers, is the
installation of the bootloader.
If the user has created a Disaster Recovery diskette, the bootloader configuration
may have been detected automatically. The two boot loaders that can be detected
The Disaster Recovery procedure will ask which command should be used to
install the bootloader. As mentioned above, the default value is /sbin/lilo. If the
damaged computer used another bootloader, its complete path and name should be
entered when requested. For grub, this path is usually /usr/sbin/grub.
!
If grub is used as the bootloader of the computer, you may have to
enter the following command at the grub prompt:
root (hd0,0)
setup (hd0)
This command assumes that the computer boots from the first
partition of the first disk: (hd0,0). The first hard disk can be a
SCSI disk (/dev/sda1 under Linux) or an IDE disk (/dev/hda1 under
Linux).
After this last stage, the Disaster Recovery procedure is complete and the computer
completely restored.
When the correct hard disk parameters have been retrieved from the backup tape,
the Disaster Recovery process will apply them to the server hard disk and proceed
with the next step.
When the Arkeia server database has been restored, the Disaster Recovery process
will prompt you to insert the tapes that contain the index of the Arkeia server. For
instance, if the name of the server is apex, its index will be saved by the sysinfo
plug-in as: apex!sysinfo:/dbase/o3dbtree/apex.
The bootloader should now be installed on the server. For more information on this
step, refer to Recover the bootloader on page 30.
Adaptecs PCI based SCSI controllers (not the hardware RAID controllers)
Adaptec AHA-274x, AHA-284x, AHA-29xx, AHA-394x, AHA-398x, AHA-274x,
AHA-274xT, AHA-2842, AHA-2910B, AHA-2920C, AHA-2930/U/U2, AHA-
2940/W/U/UW/AU/, U2W/U2/U2B/, U2BOEM, AHA-2944D/WD/UD/UWD, AHA-
2950U2/W/B, AHA-3940/U/W/UW/, AUW/U2W/U2B, AHA-3950U2D, AHA-
3985/U/W/UW, AIC-777x, AIC-785x, AIC-786x, AIC-787x, AIC-788x , AIC-789x,
AIC-3860
aic7xxx.o
EATA-PIO protocol compliant SCSI Host Adapters like the DPT PM2001 and the
PM2012A
eata_pio.o
Generic NCR family of SCSI controllers NCR5380 and NCR53c400 cards Not to
be confused with the NCR 53c7 or 8xx controllers.
g_NCR5380.o
AMI MegaRAID 418, 428, 438, 466, 762, 490 and 467 SCSI host adapters
megaraid.o
Perceptive Solutions PSI240i EIDE interface card (acts as a SCSI host adapter)
psi240i.o
ISA, VLB, and PCMCIA versions of the Qlogic FastSCSI! cards as well as any
other card based on the FASXX chip (including the Control Concepts
QLogic ISP1020 Intelligent SCSI cards IQ-PCI, IQ-PCI-10, IQ-PCI-D This driver
works for all QLogic PCI SCSI host adapters (IQ-PCI, IQ-PCI-10, IQ_PCI-D)
except for the PCI-basic card
qlogicisp.o
A
Arkeia daemon 13
arkeiad 13
B
bootloader 11
C
CD-ROM bootable 11
Configuration data 23
D
device 20
Disaster Recovery
license 9
disaster recovery CD-ROM 11
Disaster Recovery toolbox 12
disk configuration 10
DNS 22
F
file system label 28
firewall 22
FQDN 21, 22
fstab 28
G
grub 30, 31
H
hard disk parameter restoration 10
hard disk partition 11
L
license
Disaster Recovery 9
lilo 30, 31
M
man 16
model 20
N
netmask 22
network configuration 10
network parameter restoration 10
P
password 23
plug-in 13, 14, 15, 31, 32
R
recovery diskette 12, 15
repartition the new disk
partition the new disk 27
restoration
lost computer 10
route table 24
S
SCSI 31
SCSI cards supported by DR 18
server system configuration 11
swap partition 28
sysinfo 13, 14, 31, 32
/config 14, 15
/dbase 15, 32
T
tape duplication 12
tape pool 12, 13
TCP/IP 22, 23