10
© 2009 VMware Inc. All rights reserved Automated Refresh of Oracle Data Steve Tout Sr. Security Engineer August, 2010

Automated Refresh of Oracle Data

Embed Size (px)

Citation preview

Page 1: Automated Refresh of Oracle Data

© 2009 VMware Inc. All rights reserved

Automated Refresh

of Oracle Data

Steve Tout

Sr. Security Engineer

August, 2010

Page 2: Automated Refresh of Oracle Data

2

What is a Refresh, Anyways?

Code Deploy

Tune Up

Data Sync

Page 3: Automated Refresh of Oracle Data

3

New Instance Management “NIM”

• Each project demands their own instance for Dev & Test

• Resource constrained for Refresh and Post-Refresh smoke testing

• Number of initiatives and instances have more than doubled, but number of resources (Dev, QA, PPM, DBA, Ops, Deploy) have not

Key Challenges

• Avoid mistakes made with manual processes

• Reduce Build & Refresh times

• Restore sanity, responsiveness to business needs and work-life balance

Key Drivers

Page 4: Automated Refresh of Oracle Data

4

Cloning Oracle Access Manager & OID Solution Overview

1. Clone the Database Instance

2. Clone the OID instance

3. Reconfigure cloned OID

4. Rename the existing

container in OID

5. Clone/Provision (or install)

OAM components against

cloned OID

6. Copy config from the old

namespace to the new

namespace

7. Update all OAM References

MacBook Pro Monster © 2010 Mac Mcrae http://macmcrae.com

Prod IdM

LT UAT QAI

OID

Identity

WebPass Identity Console

Access

Access Manager

Page 5: Automated Refresh of Oracle Data

5

Refresh Solution Overview

Backup

• Done using shell / Perl script (LDAP)

• Takes backup of configuration

• Purge all caches, sync record and workflow tickets

Refresh

• With SRDF and Time Finder

• Refreshes User data in target system from source

• Copy root suffix of source system to target system

Restore

• Done using shell / Perl script

• Restores backup to target system

Page 6: Automated Refresh of Oracle Data

6

Step 1 & 3: Backup and Restore App Layer Configurations

1. Shell Command initiated to

backup app configuration from

Source OID

2. PPM gets response back for

job completion

3. Shell Command initiated to

purge all app data (Optional: or

optimize for later retrieval)

4. Shell command initiated to

restore app configuration to

Source OID.

5. PPM gets response back for

job completion

PPM

Console

Source LDAP

Target LDAP 5

1

4

2

Unix

Shell

3

Page 7: Automated Refresh of Oracle Data

7

Step 2 – Block Level Replication of Oracle Data

RM Server

Primary Symmetrix

Target Symmetrix

Source System Target System

User data loaded from target to source system using SRDF

15-36x faster than Bulkdelete and Bulkload (than OID alone)

Page 8: Automated Refresh of Oracle Data

8

Further Reading

Steve’s Blog

http://www.stevetout.com

VMware & Oracle Alliance Website

http://www.vmware.com/solutions/partners/oracle

VMware Community at EMC

http://www.emc.com/solutions/application-environment/vmware

Page 9: Automated Refresh of Oracle Data

9

Appendix Additional Reference Slides

Page 10: Automated Refresh of Oracle Data

10

PPM Workflow Overview