Download - Delphix Patching Epiphany

Transcript
Page 1: Delphix Patching Epiphany

The Patching EpiphanyThe Case of the Limitless DBA

Kellyn Pot’Vin-Gorman | Technical Intelligence Manager

Page 2: Delphix Patching Epiphany

2© 2016 Delphix Corporation

Who am I?

Page 3: Delphix Patching Epiphany

3© 2016 Delphix Corporation

Epiphany

e·piph·a·nyəˈpifənē/

noun

a (1) : a usually sudden manifestation or perception of the essential nature or meaning of something (2) : an intuitive grasp of reality through something (as an event) usually simple and striking (3) : an illuminating discovery, realization, or disclosureb : a revealing scene or moment

Page 4: Delphix Patching Epiphany

4© 2016 Delphix Corporation

I sat through his sessions.

I sat next to my husband the last couple years while he implemented virtualization.

I virtualized environments with Oracle’s products in a number of customer implementations as an expert in the area.

If I was this close to it and missed it, so possibly were others…

Kyle’s goal was this for years…

Page 5: Delphix Patching Epiphany

5© 2016 Delphix Corporation

The goal here is to use one use case to help drive the epiphany of virtualization.

A Single Use Case

Page 6: Delphix Patching Epiphany

6© 2016 Delphix Corporation

Why do we still patch and upgrade the old fashioned way?

After three months at Delphix…. Recognized the benefit of virtualization and addressing tedious tasks. How to describe a complex topic that simplifies?

The message was challenging….Maybe it was the sticky notes.

Page 7: Delphix Patching Epiphany

7© 2016 Delphix Corporation

Patching and Upgrading….

Page 8: Delphix Patching Epiphany

8© 2016 Delphix Corporation

Standard Database Environment

Finance

HR

CRM

TIME?WEEKS?MONTHS?

Page 9: Delphix Patching Epiphany

9© 2016 Delphix Corporation

Now You Have To Maintain All Of It

Page 10: Delphix Patching Epiphany

10© 2016 Delphix Corporation

Patching and Upgrading Databases

Each patch, (PSU) would need to be applied to a development database, requiring outage to development teams and then tested before applying to test, QA and then onto production.

This has to be performed to EACH environment, every database, each quarter.

Finance

HR

CRM

Quarterly PSU Patching isA Major Undertaking

Page 11: Delphix Patching Epiphany

11© 2016 Delphix Corporation

• Downtime for valuable resources.

• DBAs working afterhours

• Each database must have it done and…- The tedious task must be performed over and over

again.- Little opportunity for advanced learning.- Each database may experience different bugs.

Risks/Challenges Of This Approach

Page 12: Delphix Patching Epiphany

12© 2016 Delphix Corporation

▶▶▶

Virtualize and Deployed ▶ ▶▶0.6 TB

Virtualization Eliminates 90%+ Common, Repeated Data

Storage Pool for Delphix

QADEV PATCH TEST

PRODUCTIONDatabase/App Tier

1 TB

1 TB

Read From Production

Spin a VIRTUAL database up a patch test, without having to remove a current development or test one.

TEST

Page 13: Delphix Patching Epiphany

13© 2016 Delphix Corporation

The CLI, (Command Line Interface) is very robust for Delphix and Creating VDB is easy!

I’m a Command Line Person, Whatcha Got?

• The name of the VDB you want to create• The group in which to create the VDB• The Oracle database name• The Oracle database unique name• The Oracle database instance number• The Oracle database instance name• The source dSource or VDB from which you wish to provision• The SCN or timestamp of the point you want to provision from, (commands

can be run to get the list of snapshots or timeflow ranges.)

Page 14: Delphix Patching Epiphany

14© 2016 Delphix Corporation

https://docs.delphix.com/display/DOCS43/CLI+Cookbook%3A+Provisioning+a+VDB+from+a+TimeFlow+Bookmark

Choose Source Snapshot:>snapshot list database=<dbname>timeflow ”<dbname>" timeflowRanges; commit;

Create A Virtual Database:>database provision;delphix database provision > defaultsdelphix database provision defaults > set container=<Vdbname>delphix database provision defaults > commit;

Page 15: Delphix Patching Epiphany

15© 2016 Delphix Corporation

What a CLI Scripted Refresh Looks Like

> database> select <VDB name>> refresh> set timeflowPointParameters.type= (one of TimeflowPointBookmark, TimeflowPointBookmarkTag, TimeflowPointLocation, TimeflowPointSemantic, TimeflowPointTimestamp as appropriate)> set timeflowPointParameters.location= (the location, timestamp, or bookmark you wish to refresh to)> set timeflowPointParameters.timeflow= (the timeflow associated with location)> commit

Page 16: Delphix Patching Epiphany

16© 2016 Delphix Corporation

• Monstrous deployments, (20+) benefit from a scripted, CLI option.

• Single or several VDB deployment.

• When investigating deep level issues, using the CLI can make details easier to search through.

• When looking for “just the facts”, then a graphical UI is beneficial for high level error messages.

• Self-service has great benefits and make it simple for those without deep level skills to take advantage of virtualized environments for development and testing.

When Do I USE the CLI or Graphical UI?

Page 17: Delphix Patching Epiphany

17© 2016 Delphix Corporation

Cost Vs. Benefit…• No Management Packs outside of database

feature licensing.• Heterogeneous Opportunities

Page 18: Delphix Patching Epiphany

18© 2016 Delphix Corporation

Spin up a new VDB and apply patch

there- no need to commandeer

existing!

Environment Virtualization, DB Style

DDD

VV V

VV V

VV V

V

V

V

Page 19: Delphix Patching Epiphany

19© 2016 Delphix Corporation

VV V

VV V

VV V

No need to keep the extra VDBs post patch to prod.

After Testing, Apply to Production

DDD

V

V

V

Page 20: Delphix Patching Epiphany

20© 2016 Delphix Corporation

The Compressed Copies in the Delphix Engine are Upgraded!

Environment Virtualization, DB Style

DDD

Page 21: Delphix Patching Epiphany

21© 2016 Delphix Corporation

In minutes, refresh and complete!

Environment Virtualization, DB Style

VV V

VV V

VV V

DDD

Page 22: Delphix Patching Epiphany

22© 2016 Delphix Corporation

Page 23: Delphix Patching Epiphany

23© 2016 Delphix Corporation

• Not only did I save on 80% or more on storage usage overall.

• I didn’t have to take away a valuable resource’s database environment to test the patch/upgrade.

• I didn’t have to apply the patch/upgrade to each environment, as they are virtualized copies of the source.

• I save significant time that commonly has to be allocated to quarterly and annual maintenance for patching and upgrading.

• I apply the patch twice- once to test, once to production. I only need to refresh my environments after I’m done.

• This works for the database AND application tier.

Patching and Upgrading with Virtualization

Page 24: Delphix Patching Epiphany

24© 2016 Delphix Corporation

The quickest way to complete a task is not having to do it.

And there’s the epiphany…

Page 26: Delphix Patching Epiphany

26© 2016 Delphix Corporation

Q&A

Thank you!

Want to try it out? Download the Delphix Express Version to your laptop: https://www.delphix.com/products/free-trial-request

Page 27: Delphix Patching Epiphany

http://delphix.comhttp://dbakevlar.comhttps://www.delphix.com/products/free-trial-request

www.NEOOUG.org