Вы находитесь на странице: 1из 26

Data Domain Direct Backup

using Oracle 11gR2


Demo Delivery Guide
Table of Contents

Data Domain with Oracle Backup Demonstration Guide

Overview.....................................................................................................................................................3
Objectives....................................................................................................................................................3
Preparing For This Demo.............................................................................................................................3
Demonstration Step-By-Step Guide.............................................................................................................4
Connect via RDP 4
Review of Data Domain GUI 4
Oracle Backup 14
Native Backup process.......................................................................................................................14
Run Backup using a Backup script......................................................................................................17
Oracle Restore 24

Page | 2
Overview
Data Domain deduplication storage systems optimize data protection and disaster recovery, providing
massive data reduction, eliminating reliance on tape, straightforward administration and ease of use.
Data Domain easily integrates with existing infrastructure to simplify and centralize management.
Backup agents running on different operating systems are a challenge to backup software. The
complexity of the different agents adds to the management burden of the database and backup
administrators. DataDomain simplifies database backup and recovery in complex environments by:

 Allowing inherent Database management tools to run backup and restore jobs.
 Eliminating the middle man with direct write access to Data Domain.
 Providing secure share level access by host and user

Objectives
This document provides a step-by-step guide to effectively demonstrate:

 A review of the Data Domain browser based GUI management portal, data
management, system layout and command line interface functions.
 Generating the Oracle database backup to Data Domain, highlighting inherent Oracle
RMAN backup tools to run backup and restore jobs with direct write access to a Data
Domain CIFS share
 Discussing various Data Domain technologies, such as variable segment deduplication,
memory writes, disk commits and data integrity validation.

Preparing For This Demo


All user requirements, user names, passwords, Oracle configurations, CIFS share mapping, etc are all
completed by scripts run at initial login and as part of the automated provisioning of this demo system.

Should you encounter any errors please reference the ‘known issues’ document.

NOTE: The Data domain Access rights provide only ‘user’ level access, thus limiting any capability to
manage/configure the Data Domain unit. But the admin access is provided if needed.

To outline the flow of the demo for your customer please use the ‘DD_Direct _Backup_Oracle_SQL.pptx’
animated powerpoint slide.

Page | 3
Demonstration Step-By-Step Guide

Connect via RDP


1) Logon to Oracle machine as emcadmin / d3m04emc

Review of Data Domain GUI

2) Launch IE shortcut to DD browser portal from the Desktop (Double click DD_HTTP icon)

3) Login to DD Enterprise Manager with assigned user credentials as displayed on the desktop
wallpaper: username: emcadmin; password:d3m04emc

Page | 4
4) Expand the DD Network tree in the left pane to display all systems within the network.
Note: All systems can be viewed from any of the networked systems, up to 64 entries. In
the center pane:

 System Status presents a health overview of all systems with a network


 Space Usage shows general statistics for the network, note that you’re looking at totals
and averages from all units combined, statistical information from individual units can
vary.
 Systems view breaks down the deduplication and space usage by individual units.

Page | 5
5) Select the DD system, DD1-VE.VLAB.LOCAL listed under DD Network

Page | 6
Status

Summary sub-tab

Point out any Service specific alerts or the absence thereof.

Discuss File System utilization.

Point out all the Services that are enabled and running, Replication, VTL and DD Boost are licensed
features.

Hardware: DD VE.

Alerts sub-tab

Review Current and History Alerts

Active Users Sub-Tab

Review user session info; note that same user can have multiple sessions. Example of that would be
a session thru GUI and a session thru SSH.

Page | 7
Stats Sub-Tab

Note graphical representation of real-time system activity

Page | 8
Data Management

File System Sub-Tab

Summary tab - explain the two Resource directories:

/data - where all backup data is written to, also is the root directory for creating CIF Shares and other
merkle tree directory structures.

/ddvar - An administrative share, updates, upgrades, SPs. Should NOT be used for writing backup
data. Access permissions should be limited to DD Administrators only.

Configuration tab - Point our Local Compression Type: lz. Compression parameter can be changed
to use gzfast, but is more intensive on the CPU utilization.

CIFS Sub-Tab

Show all the CIFS shares created on the appliance and their logical path. Note host client access is
open to all. Explain share access is controlled by combination of host and user access.

Page | 9
NFS Sub-Tab

Review NFS, pointing out that client access can be granted by IPs or Subnet

VTL Sub-Tab

To create a VTL requires Admin rights, in this case it’s best to review what the steps should be taken
and walk thru the proper tabs for correlating step.
1) Zoning of DD and Media Server
2) Set Alias names for NW initiators (done in Physical Resources)
3) Create Group (done in Access Groups)
4) Set group on initiator
5) Create library (done in Virtual Tape Libraries) creating drives, slots, caps
6) Vault, create pools and tapes
7) Import tapes
8) Add Luns in Access Groups
9) Scan for all devices on Media Server Host
10) Configure/discover library on Media Server

Page | 10
Replication

Discuss Directory level and Collection based replication. Collection replication is a device to device
replication, requires formatting of target device.

Replication isn’t configured for this demo.

Hardware

Storage Sub-Tab

Point out disk size and manufacturer

Network Sub-Tab

Discuss current Network configuration, mentioning that although only two Ethernet ports are
physically available, max supported show up in the enterprise manager.

Page | 11
Chassis Sub-Tab

Review the physical representation of DD VE Appliance. There is no information about the chassis
because it’s a virtual version.

NVRAM is 1GB in size with two batteries on the card, all data gets written to the DD system in the
following fashion:
1) first lands in NVRAM
2) goes through deduplication process
3) deduped blocks get committed to the disk
4) memory space is recycled.

Page | 12
System Settings

License Sub-Tab

Explain licensed features

Access Management Sub-Tab

Review access protocols and host based access control.

Review local users, oppose to other authentication methods like NIS or Active Directory, in which
case users would not show up in the bottom pane, as it’s a representation of local users
only.

General Configuration Sub-Tab

Email alert settings are set during initial configuration to forward any issues with the appliance to
DataDomain Support.

Maintenance

System Sub-Tab

Displays appliance Model, DD OS version and system uptime.

Support Sub-Tab

Stores all auto generated reports that are sent to DD support

System health and activity is captured in Logs, however, format of log output is not formatted for
standard txt file format.

Page | 13
Oracle Backup

Native Backup process

a) Double click on the “RMAN run” shortcut on the desktop…

b) The windows will show up:

c) The backup process will contain two steps:


a) Datafiles backup
b) Archivelog backup

Datafiles backup

a) Enter the command (in one line):


“BACKUP FORMAT '\\192.168.2.100\emcadmin\data\OracleBackup_%U.bck’ DATABASE
FILESPERSET=1;” and press Enter:

b) The progress will show up in cmd window:

Page | 14
c) Next screen will report on the completion of work:

d) Then we need to do a backup of Archivelog:

Archivelog backup

a) Enter the command (in one line):


“BACKUP FORMAT '\\192.168.2.100\emcadmin\logs\OracleBackup_%U.bck'
ARCHIVELOG ALL;” and press Enter:

b) The progress will show up in cmd window:

c) Next screen will report on the completion of work:

d) Enter the command “EXIT;” to exit from RMAN.

e) To check the backup files going to desktop -> double click on DD_CIFS shortcut:

Page | 15
f) You will see all data and logs files which have been backed up:

Page | 16
Run Backup using a Backup script

a) Going to C:\System Docs\scripts:

b) Double click on “RUN_OracleBackup.cmd”…

c) Next screen will show up:

Page | 17
d) Once the backup completes, confirm the backup process finished without errors:

e) To check the backup files going to desktop -> double click on DD_CIFS shortcut:

f) You will see all backup files which have been made:

Page | 18
While the backup is running use the following CLI views to capture and monitor system
stats and compression rates.
Open a SSH Session using PuTTY, Login using the credentials: emcadmin/d3m04emc

Page | 19
a) While the backup is running execute command: iostat 2 to look at ingest and write stats.

Look closely at, CPU utilization, eth0 in/out, Disk writes


b) Now let’s look at compression summary for the whole system and local compression for
the backup that we just ran.

Page | 20
1. First system wide summary…

Define what each column represents


Pre-Comp = Data written before compression
Post-Comp = Storage used after compression
Global-Comp = Pre-comp / size after de-dupe
Local-Comp = Size after de-dupe / post-comp
Total-Comp = Pre-comp / Post-comp
Reduction % = pre-comp – post-comp / pre-comp * 100

2. Now let’s look at the summary compression of our backup files….

Explain that such high rate of compression is achieved by storing only unique blocks to the
device not only to the backup job.

Here we can see the compression of data over a period the backup process:

Compression of the data folder

We can see the real-time compression state. The pictures are showing the real size of data
which comes in to the input and actual stored data.

Page | 21
Compression of the logs folder

3. You may wish to run another backup to compare the Data Domain figures.

Please delete the previous data from the CIFS share first!

Note:

If so, there are further scripts available to you to write random data to the ORACLE
database. This script is located: C:\System Docs\scripts:

Page | 22
Note: If necessary to have a backup with different size from previous, please run a script
(AA_Oracle_Update_Table.pls)

Please follow up by the next steps if we would like to run a script:

a) Double click on a script and in a shown window click “&Compile” button:

b) In appeared window should be chosen connection “ORCL” if so then press “OK”:

c) The following signs are indicate that the script is completed correct:

Page | 23
Following a successful run of these scripts, which take approximately one minute to run, you
should then run a second backup. You may want to use a different backup tool on this occasion
to run your backup. We have provided a backup script, should you wish to use it. The name of
backup script is RUN_OracleBackup.cmd and location is in C:\System Docs\scripts\

Again, while the backup is running you should use the same CLI commands and views as used
during the previous backup to capture and monitor system stats and compression rates.

Oracle Restore

a) Double click on the “RMAN run” shortcut on the desktop…

b) The windows will show up:

Page | 24
a) Enter the command “STARTUP FORCE MOUNT;” and press enter:

b) Enter the command “RESTORE DATABASE;” and press enter:

NOTE: the DB will be restored from the latest successful backup

c) Then enter the command “RECOVER DATABASE;” and press enter:

d) Then enter the command “ALTER DATABASE OPEN;”and press enter:

Page | 25
e) Enter “EXIT;” to exit from RMAN

This brings us to the end of the demo. If the situation deems appropriate feel free to explore further.

Page | 26

Вам также может понравиться