Professional Documents
Culture Documents
Chapter 17
Disaster Planning
Agenda
The Need for Planning
General Disaster Recovery
Guidelines
Backing Up The Database for
Disaster Recovery
Disaster Prevention
Questions
What is a Disaster?
Sungard Recovery Services defines a
disaster as any unplanned, extended loss
of critical business applications due to
lack of computer processing capabilities
for more than a 48-hour period.
An alternative definition: any event that
has a small chance of transpiring, a high
level of uncertainty, and a potentially
devastating outcome.
Critical
Non-critical
Static
Dynamic
Business
Operations
IT
Operations
DBMS
Operations
Business-critical applications.
Important to your organization and should be the next group to
recover after the very critical applications.
Critical applications.
Differentiated from a business critical application by its immediacy or
data currency needs. This group of applications, though important,
need not be available immediately.
Required Applications.
Not critical but must be backed up such that they can be recovered at
the remote site if needed.
Noncritical applications.
Need not be supported in the event of a disaster.
Very few applications fall into this category.
However, this lesson addresses only DBMS and databaserelated recovery issues.
Options:
Dual data centers
Backup data center
Recovery service provider
Personnel.
The name and contact information for each member of the recovery team. Be sure to include
the work, home, and mobile phone numbers for each team member.
Authorizations.
The security authorizations necessary for the recovery operations and the personnel to whom
theyve been granted.
Recovery procedures and scripts for all system software, applications, and data.
The complete step-by-step procedures for the recovery of each piece of system software,
every application, and every database object, and the order in which they should be restored.
Part of this section should be a listing of all the installation tapes for system software as well
as the tapes for all maintenance that has been applied. Options for database recovery
procedures will be covered later in this chapter.
Reports.
List the reports you will need at the recovery site to ensure a complete recovery. The reports
should list each backup tape, its contents, when it was produced, when it was sent from the
primary location, and when it arrived at the remote site. As an additional component, include
a description of the naming conventions for the remote site backup files.
Testing Goals
A disaster recovery test can discover weaknesses and errors in the
plan.
A valid disaster recovery test need not end in a successful recover
although that is the desired result. A disaster recovery test that
reveals weaknesses in the plan serves a useful purpose.
Afterward, be sure to address all problems encountered during the test
Scheduling a Test?
A scheduled test of the disaster recovery plan is
not a good idea.
A disaster recovery test should work more like a
pop quiz that doesnt give you the opportunity to
prepare.
One day your boss should come to work and
announce that the building was just destroyed.
Who should be called?
Is everyone available?
How can you get the right people to the remote site for
recovery?
Can you get your hands on the disaster recovery plan?
Personnel
Choosing the right team is essential.
From the perspective of the DBMS, must be capable of:
installing and configuring the DBMS system software
assuring the integration of the DBMS with other system
software components
recovering individual databases
testing the integrity of the databases
recovering related data that may not be stored in a
database
installing and configuring application software
testing the applications
taking care of the numerous details along the way.
Tape Backups
You can use similar techniques as
deployed to create local backup files.
Multiple output from image copy backups:
Local
Remote
Timeline
Backups
Log
Log(s)
Keep at least three backup tapes at your remote site for each
database object.
This provides a cushion in case one or more of the image copy tapes is
damaged.
Storage Management
Backups
1. Stop the DBMS to create a system-wide
point of stability for recovery.
2. Copy all of the database objects, using
storage management software to dump
complete disk volumes to tape.
3. When all of the disk volumes containing
database objects have been successfully
copied, restart the DBMS.
4. Copy the backup tapes and send them to
the remote site.
Other Approaches
WAN for delivery of backups to the
remote site.
Remote mirroring of data to the
alternate site over the network.
Standby Database
Guidelines
Adhere to the written plan.
The DBA must be part of a multidiscipline
team for disaster recovery.
Pay attention to the order of recovery.
Understand data latency.
Remember vital data.
Beware of compression and
encryption.
Post-recovery image copies.
Disaster Prevention
Establish procedures and policies to prevent problems
in the first place.
Although you cannot prevent an earthquake or flood,
you can implement policies to help prevent man-made
disasters.
For example, use surge protectors to prevent power surges
from destroying computing equipment and have backup
generators on standby in case of electrical outages.
Questions