Top Banner
B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant
39

B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

Jan 17, 2016

Download

Documents

Brett Eaton
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

B5: The Complete Database Disaster Recovery Plan!

David EddySenior Solution Consultant

Page 2: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation2

What color are you?

Source: http://www.drj.com/articles/fall06/1904-03.html

Page 3: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation3

Agenda

Disaster Recovery (DR) Tools Using the Tools Building a New Plan An Example Plan Wrap-up & Questions

Page 4: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation4

DR Tools: The Basics

Not just recovery but…• Ensuring consistency

• Ensuring availability

• Ensuring reliability

Documentation critical

Page 5: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation5

DR Tools Explained

4 Levels of Tools:

1. Lump ‘o’ Coal

2. Bronze Medal

3. Silver Medal

4. Gold Medal

Page 6: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation6

DR Tools: Lump ‘o’ Coal

You have nothing… You don’t think you need a plan You don’t want to get paid

Page 7: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation7

Lump ‘o’ Coal Tools Overview

http://monster.com http://www.linkedin.com http://www.resumes.com http://jobsearch.about.com/od/curriculumvitae

/Curriculum_Vitae.htm http://safari.oreilly.com/0028642759

(The Complete Idiot’s Guide™ to PC’s)

Page 8: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation8

What is your final destination?

1.76 2.29 10,867,052

1.76 – Avg. score between 1st and 2nd place

2.29 – Salary difference between 1st and 2nd place

$10,867,052 – Salary of #1 player last year

Page 9: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation9

DR Tools: Bronze

Backups Dbanalysis IdxCheck DbTool RAID 10

Page 10: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation10

Bronze Tools Overview

All of these tools (except Raid 10) are available to you…

probkup [dbname] [filename] proutil [dbname] -C dbanalys > [filename] proutil [dbname] -C idxcheck all >

[filename] dbtool [dbname]

Page 11: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation11

DR Tools: Silver

All of the Above (Bronze) After-Imaging AI Management Utility Database Maintenance

• Update Statistics

• Index Compaction

Database Monitoring

Page 12: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation12

Silver Tools Overview

After Imaging (AI) – A sequential log of changes to your database

AI Management Utility• Allows the Database broker to do the “front end” work for you

“Back End”

Backup

DB

“Front End”

DB

A1

A2

A3

A1.1

A2.2

A3.3

A1.4

A2.5

A3.6

Page 13: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation13

Silver Tools OverviewManagement & Monitoring

Tools to help prevent the disaster• Progress® Explorer

• OpenEdge® Management

• ProTop

• ProMonitor

• Miscellaneous– Scripts– Promon– Virtual System Tables (VST’s)

Page 14: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation14

Silver Tools OverviewAdditional Help!

Services• Progress GFS

• Your Application Partner

• DBAppraise – White Star Software

• Managed DBA Services – BravePoint

Page 15: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation15

DR Tools: Gold

All of the above (Bronze & Silver) OpenEdge Replication 3rd party replication

• NetApp

• SRDF

Failover Clusters Additional database parameters to add stability

• Runtime consistency checking parameter (-MemCheck, -DbCheck, -TableCheck, -IndexCheck, -AreaCheck)

Page 16: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation16

Gold Tools Overview

B2: What's New in 10.1 RDBMS?

B1: After Imaging - New features, Greater Flexibility

Page 17: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation17

Agenda

Disaster Recovery (DR) Tools Using the Tools Building a New Plan An Example Plan Wrap-up & Questions

Page 18: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation18

Using The Tools: What Do You Have Now?

Established? Documented? Tested? Staff Training? Who is in charge?

• NOT the CEO…

• “Greater human intervention == More failures”

Page 19: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation19

Using The Tools: What Are Your Challenges?

Where does your existing plan break down? When did you last update it?

Page 20: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation20

Using The Tools: What is your number?

Gartner estimates that only 35 percent of SMBs have a comprehensive disaster recovery plan in place.

According to analyst firm IDC, about 70% of all successful attacks on computer networks were carried out by employees and insiders.

Pink Square – You don’t have a plan and you wouldn’t test it if you had it!!!

Page 21: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation21

Agenda

Disaster Recovery (DR) Tools Using the Tools Building a New Plan An Example Plan Wrap-up & Questions

Page 22: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation22

Building a New Plan: What to Consider?

Business Requirements Which tools do you want? Documentation, documentation, documentation Development

• Database design (physical & logical)• Configuration design

Testing Pre-production Production

Page 23: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation23

Building a New Plan: What to Consider?What do these have in common?

Infinity Your DB DR Plan Your children’s need to borrow money…

Page 24: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation24

Maintaining The New Plan

Wash, rinse, repeat Making sure the plan is complete

• Environmental Changes• Documentation• M & A• Growth

Famous Customer Quote: “Nothing has changed – Honest!”

Page 25: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation25

Agenda

Disaster Recovery (DR) Tools Using the Tools Building a New Plan An Example Plan Wrap-up & Questions

Page 26: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation26

Under Development

The examples presented herein are to be used as templates. They are one example of how to do DB DR planning. There are others. The author can, in no way, shape, or form, be held accountable for their execution capabilities. The documents referenced here may or may not contain proprietary code. This code is the sole responsibility of the executor, not the creator. Your mileage may vary.

By continuing with this presentation you agree to adhere to the following concept: beta is for sissies; if it compiles then ship it; you start coding – I’ll figure out what we’re supposed to be creating.

Products mentioned and used in the example templates are owned by their respective creators. Use of TLA’s are expected and encouraged.

The views in this presentation represent those of the speaker and not necessarily those of Progress Software Corporation.

No sandwiches were injured during this portion of the presentation.

D I S C L A I M E R

D I S C L A I M E R

Page 27: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation27

An Example Plan: Overview

Available on PSDN after the conference… Perl scripting language used

• Why did I use Perl?

Documentation included Logging included

Page 28: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation28

An Example Plan: Documentation

Documentation• Internal script documentation

• Process logging

Naming Conventions• Start/Stop* - start/stop processes

• Run* - Initial run scripts

• Move* - scripts to move files around

• *.properties – property configuration files

• Sub* - subroutine library

Page 29: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation29

An Example Plan: Script Overview

StartAI, StartRepl RunAI, RunAIMgr, RunRepl,

RunBkup,RunBkupValidate, RunRestBkup MoveBkup, MoveAI, StopAI, StopRepl

Page 30: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation30

Wrapping it all up…

Page 31: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation31

Wrap-up

Ensure your plan is complete Ongoing maintenance and validation is critical

to a successful DB DR plan Documentation

Documentation

Documentation

Page 32: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation32

So what do I do now?

If you are Bronze – on Monday you should:• Ask what the business requirements are for

DR

• Check your backup

• Schedule and execute on tools provided

• Schedule time to look at the dbanalysis!!!

• Schedule testing your plan

Page 33: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation33

So what do I do now?

If you are Silver – On Monday you should:• Do all of Bronze plus

• Ask about business requirements again

• Make sure you are monitoring and managing the correct resources!

• Check your log files

Page 34: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation34

So what do I do now?

IF you are Gold – On Monday you should:• Be able to sleep in…

• Already know what the business requirements are

• Ensure your plan is current…

• Check for any additional holes in your plan

Page 35: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation35

So what do I do now?

Finally - if you are a Lump ‘o’ Coal

On Monday you should:• Come in Late

• Update your CV

• Make sure you LinkedIn contacts are up to date…

• Join your local PUG

Page 36: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation36

Other Sessions

B1: After-Imaging: New features – greater flexibility

B9: Success with OpenEdge Replication

Page 37: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation37

Questions?

Page 38: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation38

Thank You

Page 39: B5: The Complete Database Disaster Recovery Plan! David Eddy Senior Solution Consultant.

© 2008 Progress Software Corporation39