Beruflich Dokumente
Kultur Dokumente
7. Conclusion
Oracle Certifications
Oracle Certified Master (11g)
Oracle Certified Professional (8i – 12c)
Oracle Certified Expert (RAC)
Oracle Implementation Specialist (Exadata, OVM)
3 21.06.2017 ZDLRA - in Action
Our company.
OPERATION
Source: Oracle
8 21.06.2017
Delta Push
Delta Push is a highly optimized form of source-
Backuped Database side optimization
– Through RMAN block change tracking
– No reading of unchanged data
Two operations on the protected Database
– Incremental "forever" backup
– Real time redo transport
One-time full backup as prerequirement
Afterwards Incremental forever backup
Validate incoming Backups against corrupted
Changed Data physical blocks
Source: Oracle Compress the Backups using special block-level
Algorithm
Backup
Day N Virtual Full
Totality of all Database Backup in a
Storage Location Day 1 Virtual Full
validates the incoming blocks Day 0 Day 1 Day N
compresses, indexes and stores Full Incr Incr
deduplicate, less storage usage
High number of virtual full backups
Higher recover window
Source: Oracle
Delta Store
Source: Oracle
14 21.06.2017 ZDLRA - in Action
Delta Push – how it works (2/2)
Optionally Real Time Redo Transport could be activated
ZDLRA will be using Data Guard Technology (RFS on RA)
Validated Redo Blocks will be stored on Delta Store
Archive Logs will be generated whenever a Log Switch happen on Prod DB
Optionally you can replicate or copy to a remote ZDLRA or Tape
Source: Oracle
– Recovery window
Silver Policy – Internal Critical – Retention
Disk: 30 days – Replication
Tape: 45 days
Source: Oracle
20 21.06.2017 ZDLRA - in Action
Storage Locations
Main Storage Location are the Container within the ASM Diskgroup
It is possible to have more than one Storage Location in ASM
Backup Polling Locations are Storage Location outside from ZDLRA (e.g. NFS Mount)
• Backups are placed directly to this location without interacting with ZDLRA
• With Polling Policies you can define how often and where
is the polling directory
• Once all requirement meets e.g. backup related to a
protected database a copy to the RA will be created
• After copying process the protected database will be delete
the backup Automatically from polling directory Source: Oracle
– HTTP Servlet inside the database will be started for communication between the
clients and the ZDLRA (dbms_ra.startup_recovery_appliance)
SQL> exec dbms_ra.startup_recovery_appliance;
Once the Environment meets all the requirements we can add the databases to the
ZDLRA
It works also with old fashion syntax soft link from libra.so to libobk.so is
needed !!!
run {
allocate channel c1 type sbt_tape;
backup incremental level 1 database plus archivelog delete input;
}
...
ORA-27211: Failed to load Media Management Library
Scheduling is also free selectable, EM is recommended !
43 21.06.2017 ZDLRA - in Action
Copy to Tape
From database Page under Availability Backup & Recovery Perform Recovery
... And you can adapt the script if needed and submit the job...
– RMAN Client should be configured otherwise parameter are needed (e.g. ENV=...)
run {
restore database;
recover database;
alter database open;
}
Or a point-in-time Recovery
run {
set until time '08.09.2016 08:45:00';
restore database;
recover database;
alter database open resetlogs;
}
▪ then we shutdown the database inconsistently (abort)… before we checked the actual SCN
SQL> select current_scn from v$database;
CURRENT_SCN
-----------
28933241
SQL> shutdown abort
▪ the ZDLRA figure out the crash of the protected database and catalog the redo stream from the
staging area as archivelog with the latest SCN he know… that will be latest consistent SCN for
restore and recover the database
RMAN> list backup of archivelog all;
.
.
1 26 28933197 18-APR-17 28933202 18-APR-17
1 27 28933202 18-APR-17 28933232 18-APR-17
1 28 28933232 18-APR-17 28933246 18-APR-17
56 21.06.2017 ZDLRA - in Action
Recovery Appliance Views and
Utilities
It is also possible to read the Recovery Appliance Information over Views from Recover
Appliace Metadata Database
View Name Description
RA_DB_ACCESS Describes User Accounts that have access to which protected database