Automated Refresh of Oracle Data
-
Upload
steve-tout -
Category
Documents
-
view
1.919 -
download
0
Transcript of Automated Refresh of Oracle Data
© 2009 VMware Inc. All rights reserved
Automated Refresh
of Oracle Data
Steve Tout
Sr. Security Engineer
August, 2010
2
What is a Refresh, Anyways?
Code Deploy
Tune Up
Data Sync
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
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
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
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
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)
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
9
Appendix Additional Reference Slides
10
PPM Workflow Overview