Tài liệu Oracle RMAN 11g Backup and Recovery- P4 - Pdf 10

118 Part II: Setup Principles and Practices
Oracle
Secure Backup
administrative
server
Oracle Secure
Backup clients
NAS
appliance
Linux NDMP
OB
OB
Linux
Unix
Backup Restore
Control flow
Windows
Oracle
database
Oracle
database
Oracle
Secure
Backup
catalog
Tape
library
Oracle
Secure Backup
media server
Recovery

client. Access to OSB configuration data on the administrative server is provided by the
service daemon. It also runs jobs requested by the schedule daemon. On a media server
or a client, the daemon handles membership in an administrative domain.
Schedule daemon This runs only on the administrative server. It is the OSB scheduler.
Index daemon This daemon runs only on the administrative server, to manage the
backup catalog. It starts when a backup is completed or the catalog is accessed for
restore or browsing operations.
Apache web server daemon This runs only on the administrative server and provides
the Web tool interface.
NDMP daemon This daemon runs on a media server and a client, and provides data
communication between them.
Robot daemon This runs on a media server and manipulates tapes in a tape library. The
service daemon starts one robot daemon for each tape library when a tape manipulation
is needed.
Proxy daemon This daemon runs on a client to verify user access for SBT backup and
restore operations.
Host Access Modes
Communicating to a host in an administrative domain is possible through two access modes:
Primary For primary access mode, OSB is installed on a host. The access mode is used
by OSB daemons. An Oracle database typically exists on a host accessed via this mode.
In OEM, it is referred to as “native” access mode. In OSB Web tool, it is called “OB”
access mode.
NDMP The Network Data Management Protocol host is a storage appliance provided
by third-party vendors, such as DinoStor, Mirapoint, and Network Appliance. Using a
vendor-specific implementation, the NDMP host uses the NDMP protocol to back up and
restore file systems. OSB is accessible via NDMP, although OSB software is not installed
on an NDMP host.
Administrative Data
OSB arranges information for the administrative domain as a hierarchy of files in the OSB home
on the administrative server. The directory that OSB installed into is the OSB home.

The installer assigns a random password to the oracle user. Usually, it is unnecessary to log into
OSB by using this user.
Operating System Accounts
For OSB users, the namespace is distinct from the namespaces for Linux, Unix, and Microsoft
Windows users. Therefore, if you access a host in the administrative domain as, for example, the
operating system user backup_usr, and if the OSB user in the domain is named backup_usr, these
accounts will be managed separately, though the names are identical. You may find it convenient
to create the OSB user with the same name and password as an operating system user.
At the time you create an OSB user, you may associate the user with Unix and Microsoft
Windows accounts. Accounts of this type are used with an unprivileged backup, which is a
backup that is not run with root privileges. Privileged backup and restore operations use a client
with root (Unix) or Local System (Microsoft Windows) permissions.
/usr/local/oracle/backup
Back up on a regular basis
admin
Centralized on the administrative server
config
class
history log stateencryption security
dataset default device family host schedule summary user
FIGURE 5-4 Administrative server directories
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
Chapter 5: Oracle Secure Backup 121
If you were to create an OSB user named backup_usr and associate it with Unix account
ubackup_usr and Microsoft Windows account wbackup_usr, when backup_usr uses the backup
unprivileged command to back up a client, the jobs will run under the operating system account
associated with backup_usr. Therefore, backup_usr is only able to back up files on a Unix client
accessible to ubackup_usr, and able to back up files on a Microsoft Windows client accessible to
wbackup_usr.
With the “modify administrative domain’s configuration” right, you may configure the

and password for their OSB user accounts.
user Assigned to users to allow them rights to interact in limited ways with their domains.
This class allows users to browse their own data within the OSB catalog and to perform
user-based restores.
Installing and Configuring Oracle Secure Backup
OSB is available for delivery on CD-ROM or may be downloaded from the Oracle Technology
Network (OTN) web site at the following address:
/>The following are requirements for installing and configuring OSB:
Each host in the OSB administrative domain must run TCP/IP. Static IP addresses should
be assigned to all hosts, or it should be ensured that the DHCP server always assigns the
same IP address.
There should be no duplicate host names in the OSB administrative domain, because
index catalog data is based on the client host name.
For Linux media servers, the SCSI Generic (SG) driver needs to be installed.
Each node of a RAC cluster using OSB requires an installation of OSB.










Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
Chapter 5: Oracle Secure Backup 123
RMAN Workshop: Install and Configure Oracle
Secure Backup
Workshop Notes

[root@lin32 download]# mkdir -p /usr/local/oracle/backup
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
124 Part II: Setup Principles and Practices
Step 5. Issue the change directory command to the OSB destination and run setup:
[root@lin32 download]# cd /usr/local/oracle/backup/
[root@lin32 backup]# /root/download/osb-10.3.0.1.0 linux32 cdrom090504/setup
The following output is returned:
Welcome to Oracle’s setup program for Oracle Secure Backup. This program loads
Oracle Secure Backup software from the CD ROM to a filesystem directory of your
choosing.
This CD ROM contains Oracle Secure Backup version 10.3.0.1.0 LINUX32.
Please wait a moment while I learn about this host done.

1. linux32
administrative server, media server, client

Loading Oracle Secure Backup installation tools done.
Loading linux32 administrative server, media server, client done.

Oracle Secure Backup has installed a new obparameters file.
Your previous version has been saved as install/obparameters.savedbysetup.
Any changes you have made to the previous version must be made to the new obparameters file.
Would you like the opportunity to edit the obparameters file
Please answer 'yes' or 'no' [no]:
Step 6. Leaving the default parameters for now, press ENTER to choose the default answer. The
following output is returned:

Loading of Oracle Secure Backup software from CD ROM is complete.
You may unmount and remove the CD ROM.
Would you like to continue Oracle Secure Backup installation with 'installob' now?

several lines of informational output.
Installing Oracle Secure Backup on lin32 (Linux version 2.6.18-53.el5)
You must now enter a password for the Oracle Secure Backup encryption key store.
Oracle suggests you choose a password of at least 8 characters in length,
containing a mixture of alphabetic and numeric characters.
Please enter the key store password:
Re-type password for verification:
Step 10. Enter the OSB encryption key twice. The key is not displayed. You will see the
following output:
You must now enter a password for the Oracle Secure Backup 'admin' user. Oracle
suggests you choose a password of at least 8 characters in length, containing a
mixture of alphabetic and numeric characters.
Please enter the admin password:
Re-type password for verification:
Step 11. Enter the admin password twice. The password is not displayed. You will see the
following output:
You should now enter an email address for the Oracle Secure Backup 'admin' user.
Oracle Secure Backup uses this email address to send job summary reports and to
notify the user when a job requires input. If you leave this blank, you can set it
later using the obtool’s 'chuser' command.
Please enter the admin email address:
Step 12. Leave the e-mail address blank for now. The following output is returned:
generating links for admin installation with Web server
updating /etc/ld.so.conf
checking Oracle Secure Backup’s configuration file (/etc/obconfig)
setting Oracle Secure Backup directory to /usr/local/oracle/backup in /etc/obconfig
setting local database directory to /usr/etc/ob in /etc/obconfig
setting temp directory to /usr/tmp in /etc/obconfig
setting administrative directory to /usr/local/oracle/backup/admin in /etc/obconfig
protecting the Oracle Secure Backup directory

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
128 Part II: Setup Principles and Practices
Step 17. Go to
Configure: Hosts,
and make sure that
the server has the
mediaserver role,
as shown here.
Step 18. To add a storage
selector, click the Database
Backup Storage Selectors link
at the bottom of the Configure
page, click Add, and fill in the
fields, as shown in the
illustration.
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
Chapter 5: Oracle Secure Backup 129
Step 19. Click OK
and the storage will
be created, as shown
at right.
Step 20. Now, let’s
configure OEM for OSB
usage. Connect to the
database and go to the
Availability tab in OEM.
Click Backup Settings
and go to the end of
the page shown in this
illustration.

in the illustration.
If you click the Manage tab,
file system data backup and
restore jobs can be scheduled.
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
Chapter 5: Oracle Secure Backup 133
Oracle Database and File System Data Backup
Using Oracle Secure Backup
It is not possible to perform Oracle database backup and restore using the OSB Web tool. Therefore,
we recommend using OEM as a centralized interface to schedule backup and restore jobs for
Oracle database and file system data.
RMAN Workshop: Schedule Oracle Database and
File System Data Backups
Workshop Notes
This workshop schedules OSB Oracle database and file system data backups. First, let’s take a full
Oracle database backup.
Step 1. Connect to the database, go to the Availability tab in OEM, and click Schedule Backup.
Then, choose Whole Database and click Schedule Customized Backup. On this page, you can
choose different backup options. Click Next, and on the Settings page, choose Tape, and click
Next:
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
134 Part II: Setup Principles and Practices
Step 2.
Choose
the job as a one-time
job and review the
scheduled job.
Click Submit Job,
as shown here.
Step 3. OEM will indicate that

138 Part II: Setup Principles and Practices
Oracle Database Backup Using Oracle Secure
Backup Cloud Module
OSB provides the ability to use storage clouds, such as Amazon S3, as offsite backup storage
destinations. To utilize Amazon S3 as backup storage, you need to sign up for Amazon S3 service
and get the Access Key ID and the Secret Access Key. After the access identifiers are collected,
they can be used to configure OSB during the OSB Cloud Module installation. The OSB Cloud
Module install tool can be downloaded from OTN at the following address: cle
.com/technology/software/tech/cloud/index.html.
RMAN Workshop: Installing OSB Cloud Module and
Using It for OSB Backups
Workshop Notes
This workshop installs OSB Cloud Module and schedules an OSB Oracle database backup.
Step 1. Download and install OSB Cloud Module:
[oracle@lin32 distrib]$ ls l
total 2428
rw r r 1 oracle oinstall 2480195 Jan 19 18:13 osbws installer.zip
[oracle@lin32 distrib]$ unzip osbws installer.zip
Archive: osbws installer.zip
inflating: osbws readme.txt
inflating: osbws install.jar
[oracle@lin32 distrib]$ vi osbws install.sh
[oracle@lin32 distrib]$ cat osbws install.sh
java jar osbws install.jar AWSID <Access Key ID> AWSKey <Secret Access Key>
otnUser alisher.yuldashev@<mail server>.com otnPass <OTN password> walletDir
$ORACLE HOME/dbs/osbws wallet
[oracle@lin32 distrib]$ chmod u+x osbws install.sh
[oracle@lin32 distrib]$ ./osbws install.sh
Oracle Secure Backup Database Web Service Install Tool
OTN userid is valid.

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
Chapter 5: Oracle Secure Backup 141
Summary
Oracle Secure Backup delivers high performance and secure data protection crucial for both
offsite and local storage of mission-critical data. Complete product support from Oracle Support
Services, integration with Oracle Enterprise Manager, ability to use the Cloud as a next-generation
offsite backup storage, and excellent pricing are only a few of the many reasons for employing
OSB to meet your file system and Oracle database backup requirements. For centralized backup
tape management in mixed, distributed environments that provides a complete backup solution
for the enterprise, OSB is a strong contender.
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
This page intentionally left blank
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.


Nhờ tải bản gốc
Music ♫

Copyright: Tài liệu đại học © DMCA.com Protection Status