oracle database 11g managing backups and infrastructure

Upload: yelena-bytenskaya

Post on 02-Jun-2018

238 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    1/29

    Restoring File-system Backups with Oracle Secure Backup

    Learning Objective

    After completing this topic, you should be able to

    recognize how to restore file-system backups with OSB

    1. Browsing a backup catalog

    The administrative server maintains a catalog in which it stores metadata relating to

    backup and restore operations for the administrative domain. Oracle Secure Backup,

    abbreviated as OSB, maintains a discrete backup catalog for each client in your

    administrative domain.

    raphic

    The Restore page of the OSB Web tool is opened.

    Supplement

    Selecting the link title opens the resource in a new browser window.

    Learning !i"

    Use the learning aidStyle consi"erationsfor more information on the style

    considerations for the Oracle 11gatabase used in this course.

    !hen you browse a backup catalog, OSB presents the data in the form of a file"system

    tree, #ust as it appeared on the client from which the data was saved. $or e%ample, if you

    backed up the &home&myfile.dat file located on myhost, the backup catalog for myhost

    represents the contents of the backup image as &home&myfile.dat.

    raphic

    The Restore: Backup Catalog page is opened.

    't the root of the backup catalog is the superdirectory, which contains all files and

    directories saved from the uppermost file"system level. The superdirectory provides you

    with a starting point from which you can access every top"level file"system ob#ect stored

    in the backup catalog. $or !indows clients, this superdirectory contains drive identifiers,

    such as the ( drive.

    http://dowindow%28%27../html/laod_odsb_a04_it_enus_t201_frame.html')http://dowindow%28%27../html/laod_odsb_a04_it_enus_t201_frame.html')http://dowindow%28%27../html/laod_odsb_a04_it_enus_t201_frame.html')http://dowindow%28%27../html/laod_odsb_a04_it_enus_t201_frame.html')
  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    2/29

    raphic

    The superdirectory that lists all the file-syste ob!ects is opened.

    )ou can restore f iles to the original location or to an alternative location. The end"user

    restore ability is based on user"level permissions.

    OSB automatically recalls tapes located at alternate locations for the restore operation.

    *The restore #ob remains in a pending state until tapes are returned to an accessible tape

    device.+ $ast restoration from the tape is accomplished using the tape position data

    obtained during the backup operation.

    !ith OSB, you can restore data in two different ways

    catalog-base" restore an"

    (atalog"based restore involves browsing backup catalogs for the file"system ob#ects. 'fteryou have located their names and selected the instances to restore, you can direct OSB to

    perform the restore operation.

    The catalog offers two options to restore the re-uired files tree"style *browsing of all

    backups+ and multiple -uery options *for fast identification of re-uired files+.

    raw restore

    Using raw restore involves knowing the names of the file"system ob#ects of interest and the

    secondary storage location *volume / and backup image file number+ in which they are

    stored.

    #uestion

    !hich statements accurately describe restoring the file"system data0

    Options$

    1. )ou can restore files to the original location

    . OSB automatically recalls tapes located at alternate locations for the restore

    operation

    2. 'n end user must have admin permissions to restore the file"system data

    3. )ou must know the names of the file"system ob#ects to restore them

    !nswer

    Option 1:This option is correct. "ou can restore the file-syste data to the

    original location or to an alternati#e location.

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    3/29

    Option 2:This option is correct. OSB autoatically recalls tapes located at

    alternate locations for the restore operation. The restore !ob reains in a pending

    state until tapes are returned to an accessible tape de#ice.

    Option 3:This option is incorrect. The end-user restore ability is based on user-

    le#el perissions. But the end user doesn$t necessarily need adin perissions.

    Option 4:This option is incorrect. "ou can restore file-syste files with OSB using

    a catalog-based restore operation or directly fro the edia. Restoring directly

    fro the edia re%uires you to know the naes of the file-syste ob!ects of

    interest and the secondary storage location in which they are stored.

    %orrect answer&s'$

    1. )ou can restore files to the original location

    . OSB automatically recalls tapes located at alternate locations for the restore

    operation

    )ou can use the OSB !eb tool to restore your saved files. )ou do this from the 4estore

    page. To access the 4estore page from the !eb tool 5ome page, click the Restoretab

    on the menu bar.

    raphic

    The Restore page contains two links in the Operations section & Backup Catalog

    and 'irectly fro (edia.

    6erform the following steps to list all backups of a client by using the OSB !eb tool

    1. click Backup %atalogand select any host from the 5ost 7ame list bo% on the 4estore Backup

    (atalog page

    The host edrsr)*p) is selected.

    . click the Browse (ostbutton to display the Browse 5ost page

    2. drill down to the file or directory for which you want to display the available backups on the Browse 5ost

    edrsr1p1 page

    The +ist ,ost Backups button is added in this page. nd the page contains the files & lab/0/)/1.sh2

    lab/3/*/0.sh2 and lab/3/*/4.sh.

    3. click the List (ost Backupsbutton to open the 6roperties page, and

    8. close the 6roperties page when you9ve finished viewing it and to return to the Browse 5ost

    edrsr1p1page

    The 5roperties page lists the details of ,ost Backups & Backup 6'2 Backup date 7 tie2 8olue 6'2

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    4/29

    8olue tag2 9ile nuber2 9ile section2 Re%uested le#el2 Client2 'e#ice2 5rogra #ersion2 8olue

    creation2 6nclude path2 and ctual le#el.

    ). %reating a restore re*uest

    To browse a backup catalog for a data restore operation, you perform a se-uence of

    steps. $rom the !eb tool 5ome page, click the Restoretab on the menu bar. The

    4estore page appears. On the 4estore page, click the Backup%ataloglink in the

    Operations section.

    7e%t perform the following steps on the 4estore Backup (atalog page

    1. Select the client from which the data was originally saved, in the 5ost 7ame list bo%.

    The host edrsr)*p) is selected.

    . Select one or more data selectors from the ata Selector list bo%.

    The data selector latest is selected.

    2. Select a :iew mode +nclusiveor ,act.

    The 6nclusi#e option is selected.

    3. Optionally, enter the path name of the directory that you want to browse in the 6ath field. /f you do not do

    this, Oracle Secure Backup, abbreviated as OSB, displays the uppermost directory that it has backed up,

    for the selected client.

    o path is entered in the 5ath field.

    8. (lick the Browse(ostbutton to display the Browse 5ost page with the selected directory.

    On the Browse 5ost edrsr1p1 page, click a directory name to make it your current

    directory and view its contents. )ou can repeat this operation many times to find the data

    that you want to restore. )ou can choose a directory to restore *and all its contents+, or

    you can choose to restore individual files.

    raphic

    The directory contains the files & lab/0/)/1.sh2 lab/3/*/0.sh2 and

    lab/3/*/4.sh.

    )ou can change the data selector, and then click !pplyto redisplay the page. )ou canalso change the view mode without leaving this page.

    Then select the checkbo% ne%t to the name of each file"system file or directory that you

    want to restore. oing so creates an OSB restore re-uest for each instance of the file

    identified by the data selector. 'nd to learn the identity of those instances, view the ob#ect

    property page by clicking the ad#acent ropertiesbutton.

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    5/29

    OSB displays the ob#ect 6roperties page. (lose the page when you9ve finished viewing it

    and to return to the Browse 5ost page by clicking the %losebutton.

    raphic

    The page lists file properties such as ae2 Backup 6'2 (ode 7 protection2 +ast

    odified2 and Si;e.

    On the Browse 5ost edrsr1p1 page, after you have selected the ob#ects that you want to

    be restored, click the !""button.

    raphic

    The files & lab/0/)/1.sh and lab/3/*/0.sh are selected.

    The 4estore 4estore ; 7ew 4estore page appears. /n each section of this page, youenter the re-uired details.

    !lternate path

    )ou can enter an alternative path name for each file or directory to restore, in the 'lternate

    path te%t bo%. This step is optional.

    The original path name of each ob#ect that younter one or more obtaroptions in the Obtar option*s+ field. $or e%ample, -Jenables

    debug output and provides a high level of detail in the #ob transcript.

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    6/29

    0o high spee" positioning

    Select the 0o high spee" positioningcheckbo% if you do not want to use the available

    position data to speed up the restore operation.

    0/ incremental restore

    Select the 0/ incremental restorecheckbo% to direct certain 7etwork 'ttached

    Storage, also known as 7'S, data servers to apply incremental restore rules. Typically,

    recoveries are additive each file and directory restored from a full or incremental backup

    is added to its destination directory.

    !hen you select the 0/ incremental restorecheckbo%, 7'S data servers that

    implement this feature restore each directory to its e%act state as of the last incremental

    backup image applied during the restore #ob. $iles that were deleted before the last

    incremental backup are deleted by the 7'S data service upon restore of that incremental

    backup.

    Select the Replace eisting 2ilesoption to overwrite any e%isting files with those restored

    from the backup image. 'lternatively, select the 3eep eisting 2ilesoption to keep any

    e%isting files instead of the default overwriting them with files from the backup image.

    /f you are restoring to a !indows system, select the Replace in use 2ilesoption to

    replace in use files with those from the backup image. !indows deletes each in use file

    when the last user closes it. 'lternatively, select the 3eep in use 2ilesoption to leave any

    in use !indows file unchanged. Then click O3.

    OSB displays the 4estore Backup (atalog ; edrsr1p1 page. The restore re-uest that

    you added to restore list.

    Submitting a restore re-uest initiates the creation of an OSB #ob. )ou perform a se-uence

    of steps to send catalog"based restore re-uests to the scheduler by using the OSB !eb

    tool.

    $rom the 4estore Browse 4estore (atalog page, select any host from the 5ost 7ame list

    bo%. 7e%t click the Browse (ostbutton.

    raphic

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    7/29

    The host ?'RSR)35) is selected.

    OSB displays the 4estore Backup (atalog ; >4S41361 page. (lick o.

    The !eb tool sends to the scheduler each restore re-uest that appears in the 4estore

    items list bo%.

    raphic

    The Restore ites section on this page lists the host2 ?'RSR)35)2 and its

    path2 @hoe@oracle@[email protected]

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    8/29

    Learning Objective

    After completing this topic, you should be able to

    recognize how to manage an OSB domain

    1. anaging OSB "aemons

    To oversee data protection activities among diverse hosts, devices, and databases, you

    define an administrative domain. There must be only one administrative server for each

    administrative domain.

    The administrative server contains two components

    Oracle Secure Backup, abbreviated as OSB, catalog is a directory structure with host"specific

    subdirectories. This means the contents vary depending on the roles you assign to the host. 'nadministrative server has a central catalog with configuration and metadata.

    aemons *or services+ are processes that run in the background and perform OSB operations on

    behalf of an application. Some daemons run continuously? others run only to perform a specific

    work and then e%it when they have finished.

    The OSB daemons actively participate in managing backup and restore operations.

    observiced

    On the administrative server, the observiceddaemon runs #obs *such as backup and

    restore operations+ on the re-uest of the obscheduleddaemon, cleans up old log files

    and transcripts, and provides access to the OSB configuration data to other hosts in the

    domain.

    The observiceddaemon starts the obscheduleddaemon and the web server during

    initialiation. !hen running on a client or media server, the observiceddaemon is

    primarily responsible for invoking OSB programs in response to a re-uest from the

    administrative server.

    On all hosts, the observiceddaemon is usually started as a part of system startup and

    runs continuously. On U7/= and Cinu%, the startup is usually performed through entriesin &etc&init.d, whereas on a !indows host, the observiceddaemon is started by Service

    (ontrol Aanager.

    obscheduled

    The obscheduleddaemon initiates scheduled events and manages #obs. This daemon

    receives #ob creation re-uests from obtool users and from the system backup to tape, also

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    9/29

    known as SBT, interface in response to 4ecovery Aanager, commonly known as 4A'7,

    commands.

    obixd

    The obixddaemon manages the backup catalog. One instance of this daemon runs for

    each client whenever the contents of that client

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    10/29

    . observiced

    2. obndmpd

    3. obrobotd

    !nswer

    Option 1:This option is correct. The obproxyddaeon #erifies user access for

    SBT backup and restore operations. The pro

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    11/29

    1. click the anagetab from the !eb tool 5ome page

    . click the /aemonslink in the Aaintenance section of the Aanage page

    Other a#ailable links in this section are Aobs2 8olues2 Backup 6ages2 Backup Sections2 and

    Checkpoints.

    2. select a daemon from the Type drop"down list on the Aanage aemons page

    The obser#iced daeon is selected.

    3. select the host on which the daemon is running from the 5ost drop"down list

    The host edrsr3p) is selected.

    8. select a command from the (ommand drop"down list, and

    The coand dup is selected.

    D. click !pplyto accept your selections

    ). anaging "e2aults an" policies

    efaults and policies are configuration data that control how Oracle Secure Backup,

    abbreviated as OSB, operates within an administrative domain. The data is maintained on

    the administrative server. OSB is preconfigured with a set of defaults and policies for fast

    deployment in most environments.

    OSB policies are grouped into several policy classes. >ach policy class contains policies

    that describe a particular area of OSB operations.

    ifferent types of policies are

    daemon

    device

    inde%

    log

    media

    naming, and

    7A6

    4emaining types of policies are

    operations

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    12/29

    scheduler

    security, and

    testing

    To modify the policies settings by using the !eb tool, you perform the following steps

    raphic

    The Configure page is opened.

    1. select the /e2aults an" olicieslink under the 'dvanced section on the (onfigure page

    Other a#ailable links under the d#anced section are Classes and Aob Suaries.

    . click the name of the policy you want to modify, and

    The policy operations is selected fro the 5olicy list in the Configure: 'efaults and 5olicies page.

    2. make any re-uired changes

    $inally, click any one of the three buttons !pply, O3, or %ancel. (lick !pplyto remain

    in the same page. (lick O3to save the changes and return to the (onfigure page. (lick

    %ancelto avoid the operation and navigate back one page.

    On the (onfigure efaults and 6olicies ; Operations page, for e%ample, you can set

    operation policies to specify the following

    whether OSB updates the backup history data every time a client host is backed upThis can be specified by selecting an option fro the uto history drop-down list. The yes option is

    currently selected.

    whether OSB creates volume and backup image labels for a new backup image whenever it

    backs up the data, and

    This can be specified by selecting an option fro the uto label drop-down list. The yes option is

    currently selected.

    whether OSB performs block"level verification after each backup section is completed

    This can be specified by selecting an option fro the Backup 6age recheck le#el drop-down list.

    The none option is currently selected.

    )ou can also set additional options to apply to scheduler"dispatched backup and restore

    operations, such as enabling diagnostic output mode with the obtar-Joption.

    raphic

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    13/29

    This is specified in the fields & Backup options and Restore options. Currently2

    both the fields contain the #alue =none>.

    6. anaging OSB catalogs

    The Oracle Secure Backup, abbreviated as OSB, catalog is a collection of backup

    metadata catalogs and configuration files. They are centrally located on the administrative

    server in a hierarchical file system under the OSBE5ome directory.

    There are four primary catalogs.

    File-system backup meta"ata catalog

    /n the file"system backup metadata catalog, file"system backup metadata is stored for

    each client in the indices.curcatalog *also known as the inde% database+. Thus, if the

    administrative server has 1FF clients, it has 1FF indices.curfiles. The indices.cur

    file is located in this directory.The directory path is the following:

    @usr@local@oracle@backup@adin@history@host@hostnae

    iece catalog

    The Oracle atabase backup piece metadata is stored in the sbtpiece.datand

    sbtpiece.idxfiles.

    7olumes catalog

    /n the volumes catalog, a listing of all tapes that contain backups registered with the OSB

    catalog is stored in the volumes.datand volumes.idxfiles. !hen a tape is

    overwritten, the volumes catalog is immediately updated.

    Backup sections catalog

    /n the backup sections catalog, information about backup sections is stored in the

    archives.datand archives.idxfiles. This information is important when a backup

    spans multiple volumes.

    The piece, volumes, and backup sections catalogs are located in this directory.

    raphic

    The directory path is the following:

    @usr@local@oracle@backup@adin@state@general@

    'fter volumes have been overwritten or unlabeled, the backup metadata is no longer

    needed. The inde% daemon automatically removes the backup metadata from the catalog

    at the interval set by the indexcleanupfrequencyinde% policy. The default is 1 days.

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    14/29

    #uestion

    !hich pair of files contains a list of all tapes that contain backups registered with

    the OSB catalog0

    Options$

    1. volumes.idxand volumes.dat

    . archives.idxand archives.dat

    2. sbtpiece.idxand sbtpiece.dat

    !nswer

    Option 1:This option is correct. The volumes.datand volumes.idxfiles

    contain a list of all tapes that contain backups registered with the OSB catalog.

    When a tape is o#erwritten2 the #olues catalog is iediately updated.

    Option 2:This option is incorrect. 6nforation about backup sections is stored in

    the archives.datand archives.idxfiles.

    Option 3:This option is incorrect. The Oracle 'atabase backup piece etadata is

    stored in the sbtpiece.datand sbtpiece.idxfiles.

    %orrect answer&s'$

    1. volumes.idxand volumes.dat

    The OSB home directory is created on every host where you install OSB, although the

    contents of the directory vary depending on the roles that you assigned to the host.

    These are the installed directories for an administrative server, on a Cinu% operating

    system. Some of the directories contain e%ecutable files or information related to storage

    devices.

    raphic

    The directories that contain e

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    15/29

    OSB organies its catalog in a hierarchical way. The admin directory contains the

    administrative domain catalogs.

    6reconfigured catalog backup contains four elements

    OSB"('T'CO@"A$ media family all catalog backups will be written to the same tapes

    OSB"('T'CO@"SUA #ob summary daily reports are emailed to users, showing the status of the

    catalog backup

    OSB"('T'CO@"S dataset all directories and files of the OSB catalog are defined for the file"

    system backup, and

    OSB"('T'CO@"S(5> schedule the schedule determines the timing for the catalog backup

    The primary catalog backup configuration settings have been defined. Only one stepremains that re-uire user intervention edit the OSB"('T'CO@"S(5> trigger

    specifying when the backup should be performed.

    /f you do not want to use the preconfigured recommended catalog backup specifications,

    you can create your own by performing the following steps

    1. create a dataset that includes the OSB home directory, &etc&obconfig file, and &usr&etc&ob directory

    . create a backup re-uest, either on"demand or scheduled

    2. submit the backup re-uest to the scheduler, and

    3. store the volume set in a known location

    )ou will need the catalog backup only in unusual, difficult circumstances, so you should

    make special provisions when storing the backup

    storing the volume set in a known location so that the tapes can be retrieved without having to

    look up which volumes were used to store the backup and

    configuring the operations/backupoptionspolicy to use the -voption *if you9ve configured

    a scheduled backup+

    (onfiguring the operations/backupoptionspolicy generates a full transcript and

    lists all the files that are backed up. Then you can save the transcript along with the

    tapes.

    $or additional protection, you can back up the &usr&etc&ob directory, which is the #ob

    transcript directory.

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    16/29

    )ou may also want to save a copy of the S(S/ parameters that are used to create the

    device special files for your tape devices. This can help you to reconfigure the tape

    devices during disaster recovery of your administrative server. The parameter

    specifications should be saved along with the volumes that contain the catalog backup.

    Summary

    /n this topic, you9ve learned to manage the Oracle Secure Backup, abbreviated as OSB,

    domain.

    8sing /ata Restore an" recon2igure" %atalog Backup

    Learning Objectives

    After completing this topic, you should be able to

    restore file-system data

    perform a preconfigured OSB catalog backup

    ,ercise overview

    )ou have noticed that the files from one of your directories are missing and you want to

    use an Oracle Secure Backup restore operation to restore the files. 'lso, as it is best

    practice to perform regular unencrypted backups for your OSB catalog, you want to do so

    using the predefined OSB catalog backup. )ou need to review the preconfigured

    elements, set a time trigger to activate the catalog backup, and confirm a successfulbackup.

    /n this e%ercise, you9re re-uired to restore directory files and view the associated #ob

    properties, view preconfigured elements, set a trigger, and complete a backup.

    This involves the following tasks

    submitting a restore re-uest

    viewing #ob properties

    viewing media and datasets viewing the #ob summary

    editing a trigger

    reviewing #obs

    9ask 1$ Submitting a restore re*uest

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    17/29

    )ou have noticed that the contents of one of your directories are missing. )ou want to

    restore the missing files. 4estore the contents of the &home&oracle&labs directory using the

    backup catalog. Browse the localhost host to get to the labs directory. 'dd this directory

    to the restore #ob and view the restore list and browse options. Then submit the restore

    re-uest to the scheduler.

    Steps list

    +nstructions

    1. (lick Restore

    . (lick Backup %atalog

    2. Select localhost)from the 5ost 7ame list bo% and click Browse (ost

    3. (lick the homehyperlink

    8. (lick the oraclehyperlink

    D. Select the labscheckbo% and click !""

    G. (lick O3

    H. (lick the Show restore list an" browse optionshyperlink

    I. (lick o

    9ask )$ 7iewing job properties

    )ou want to monitor the progress of your restore re-uest. 'ccess the Aanage Jobs page

    and display all active, complete, and pending file system restore #obs. Then view the

    properties of the admin& restore #ob.

    Steps list

    +nstructions

    1. (lick anage

    . (lick 4obs

    2. Select the !ctive, %omplete, and en"ingcheckbo%es

    3. Select 2ile system restorefrom the Types list bo%

    8. (lick !pply

    D. Select the a"min:)restore #ob

    G. (lick Show roperties

    9ask 6$ 7iewing me"ia an" "atasets

    Before configuring a catalog backup, you want to review some of the preconfigured

    elements. 'ccess the (onfigure Aedia $amilies page. >dit the OSB"('T'CO@"A$ media

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    18/29

    family to view its information. (lick %ancelto return to the previous page without making

    any configuration changes. 'ccess the Backup atasets page and open the OSB"

    ('T'CO@"S dataset. (lick %ancelto return to the previous page without making any

    configure changes.

    Steps list+nstructions

    1. (lick %on2igure

    . (lick e"ia Families

    2. Select OSB-%!9!LO-Fand click ,"it

    3. (lick %ancel

    8. (lick Backup

    D. (lick /atasets

    G. Select OSB-%!9!LO-/Sand click Open

    H. (lick %ancel

    9ask ;$ 7iewing the job summary

    )ou also want to view the preconfigured #ob summary. 'ccess the (onfigure Job

    Summaries page and edit the OSB"('T'CO@"SUA #ob summary. :iew its information

    and click (ancel to return to the previous page without making any changes.

    Steps list

    +nstructions

    1. (lick %on2igure

    . (lick 4ob Summaries

    2. Select OSB-%!9!LO-S8and click ,"it

    3. (lick %ancel

    9ask

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    19/29

    Steps list

    +nstructions

    1. (lick Backup

    . (lick Sche"ules

    2. Select OSB-%!9!LO-S%(,/and click ,"it

    3. (lick 9riggers

    8. Select =6from the hours drop"down list and select ;

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    20/29

    'dding clients may be your most common management task. )ou can perform it with the

    mkhostobtool command or the OSB !eb tool.

    /n the !eb tool, click %on2igure, and then click (osts.

    Then, on the (onfigure 5osts page, click the !""button.

    raphic

    6n addition to the dd button2 there are also the ?dit2 Reo#e2 Renae2 pdate2

    and 5ing buttons on this page. 6t also displays the host details2 such as host

    nae2 status2 and role in the coluns & ,ost ae2 Status2 and Roles.

    On the (onfigure 5osts ; 7ew 5osts page, you then perform the following steps

    1. >nter a host name of your choice in the 5ost field. The name must be uni-ue among all Oracle

    Secure Backup, also known as OSB, host names.

    . Optionally, enter one /6 interface name in the /6 interface name*s+ field. /f you leave this blank, OSB uses

    the name of the host you specified in the 5ost field as the resolvable /6 name for the host.

    2. Select a status from the Status drop"down list. )our choices are in serviceand not in service. The in

    servicechoice indicates that the server is logically available for backup and restore operations. 'nd the

    not in servicechoice indicates that the server is unavailable.

    Currently2 in ser#ice is selected in the Status drop-down list.

    3. Select one or more administrative domain roles for the host from the 4oles list bo%.

    The adinistrati#e doain roles a#ailable are client2 adin2 and ediaser#er.

    8. Select an access method for the host *if applicable+ from the 'ccess method drop"down list. )our choices

    are oband 0/.

    The ob ethod is selected in the ccess ethod drop-down list.

    0ote

    Select the Suppresscommunicationwithhostcheckbo< if you want to add a

    =standalone> ser#er to the adinistrati#e doain.

    4emoving hosts from your administrative domain includes that the backup catalog is also

    removed. The key store remains, so that your backups from that host remain valid.

    To add media servers, first from the 'dministrative Server page, click the link

    corresponding to the number of configured Aedia Servers under the 4esources section in

    the administrative domain.

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    21/29

    raphic

    Other a#ailable resources are (edia 9ailies2 8olues2 'e#ices2 6nterrupted

    Operations2 and Waiting Operations.

    The link takes you to the Aedia Servers page from which you can manage your media

    servers. On the Aedia Servers page, click !""to add a new media server to your

    administrative domain.

    To configure a new media server on the 'dd Aedia Server page, perform the following

    steps

    1. >nter the name by which you want to refer to the host in the 7ame field. The host name that you

    choose must be uni-ue among all OSB host names.

    The nae edrsr)3p) is entered in the ae field.

    . Optionally, enter one /6 interface name in the 7S 5ostname*s+ or /6 'ddress*es+ field. /f you leave thisblank, OSB uses the name you assigned to the host in the 7ame field as the resolvable /6 name for the

    host.

    The 65 interface nae entered is )0.)D1.01.))3.

    Then select a status from the Status drop"down list. )our choices are +nServiceand 0ot

    +nService. +nServiceindicates that the server is logically available to perform backup

    and restore operations. 0ot+nServiceindicates that the server is logically unavailable to

    perform backup or restore operations.

    raphic

    Currently2 6n Ser#ice is selected.

    7e%t select an access method for the host *if applicable+ from the 'ccess Aode drop"

    down list. )our choices are 0ativeand 0/.

    /n the 0ativemethod, the host contains a local installation of OSB. 'nd in the 0/

    method, the host is accessed through the OSB 46( protocol *plus 7A6+ or solely

    through 7etwork ata Aanagement 6rotocol, commonly known as 7A6.

    $inally, select the Suppresscommunicationwithhostcheckbo% if you want to add a

    host to the administrative domain that is not yet connected to the network and click O3.

    raphic

    Currently2 ati#e is selected in the ccess (ode drop-down list.

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    22/29

    The 7A6 defines a common architecture for backups of heterogeneous file servers on

    a network. 7A6 allows administrators to back up data using any combination of

    compliant network"attached servers, backup devices, and management applications.

    !ith 7A6, network congestion is minimied because the data path and control path are

    separated. Backups can occur locally from file servers directly to tape drives whereas

    management occurs centrally.

    7A6 is commonly used by 7etwork 'ttached Storage, also known as 7'S, devices,

    which are also known as filers, to perform backup and restore operations without

    re-uiring an OSB installation on the appliance.

    The filer communicates with the backup software through 7A6. This model is very

    different from the classic backup model, which re-uires the installation of an agent or

    backup software component on each host to communicate and perform backup and

    restore operations as directed by the backup software server.

    7'S devices can be a client or media server but not an administrative server.

    /f you select 7A6 in the 'ccess Aode drop"down list on the 'dd Aedia Server page,

    you must also specify additional options for your new host on the 7A6 Settings page.

    $irst select an authentication type from the 'uthentication Type drop"down list. The

    authentication type defines the way in which OSB authenticates itself to the 7A6

    server. Typically, you should use the 7egotiated default setting.

    There are five 'uthentication Type options.

    0egotiate"

    The 0egotiate"option instructs OSB to negotiate with the 7A6 server to determine the

    best authentication mode to use.

    /e2ault

    The /e2aultoption uses the value of the 'uthentication type for the 7A6 policy.

    0one

    The 0oneoption attempts to use the 7A6 server from OSB without providing

    authentication data *this is usually unsuccessful+.

    9et

    The 9etoption uses plain *unencrypted+ te%t to authenticate.

    /nter the values which are appropriate for your environment.

    raphic

    The nae root is entered in the sernae field. The 5assword section has two

    radio buttons & se 'efault 5assword and se This 5assword. The se 'efault

    5assword option is selected. The '(5 protocol has three public #ersions2 called

    *2 02 and 3. ,owe#er2 it is recoended to allow OSB to choose the protocol

    #ersion that the ser#er proposes when the connection is established. nd to do

    this2 fro the 5rotocol 8ersion drop-down list2 the option s 5roposed By Ser#er is

    selected. 6f the port is not set2 then the default port =)////> is used.

    ). !""ing "evices

    ' device is a tape drive or library. )ou can add new devices in one of two ways

    By automatically discovering them. Oracle Secure Backup, also known as OSB, can

    automatically discover and configure secondary storage devices connected to certain types of

    7A6 servers, such as 7etwork 'ppliance filers.

    By adding them manually to define devices that cannot be automatically discovered.

    On the evices page, click either !""Libraryor !""/riveto add a new device to yourconfiguration.

    raphic

    6n addition to the dd +ibrary and dd 'ri#e buttons2 there are also the Eo2 ?dit2

    and Reo#e buttons. "ou can #iew details of all de#ices or perfor an operation

    using the 8iew drop-down list. There are also ctions and 'ri#e ctions drop-

    down lists in which 8iew 'e#ice 'etails and Reuse 8olue are selected

    respecti#ely. The 'e#ices page lists the de#ice details in a table with coluns &

    Select2 ae2 Type2 Slot uber2 Status2 State2 (aintenance2 (edia Ser#er2

    8endor2 and 9irware.

    !hen you add a tape library device to your configuration, you must specify the device

    type, its attachment, and its OSB name in the 'dd Cibrary page.

    raphic

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    24/29

    These details are specified using the ae field and the Status drop-down list.

    Suppose you want to add a tape drive that is part of your tape library to your

    configuration. /n this case, in addition to the type, attachment, and name, you must

    specify the corresponding tape library as well as the data transfer element, abbreviated

    as T>, of the tape drive in the 'dd rive page.

    OSB identifies each tape drive within a tape library by its T> number. ' T> must be

    specified if the library is specified.

    raphic

    '?Ts are also called as Slot ubers. They are the physical position of tape

    dri#e=s> in a library. They are nubered starting fro ).

    )ou can also use the mkdevobtool command to add an OSB device ob#ect to your

    administrative domain configuration. $or e%ample, you run these commands in the obtool

    command to add the devices tape drive and tape library.

    %o"e

    ob> mkdev --type library --attach hasun2!/dev/obl tc-lib

    ob> mkdev --type tape --library tc-lib --dte " --attach

    hasun2!/dev/obt

    tc-tape

    ob> lsdev

    ob> mkdev --type library --attach hasun20:/dev/obl0 tc-lib

    This e

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    25/29

    %o"e

    library tc-lib in service

    drive " tc-tape in service

    Unlike S(S/, which is a host"centric protocol, $iber (hannel libraries and tape drives are

    typically shared among multiple OSB media servers. ' $iber (hannel"attached tape drive

    or tape library often has multiple attachments, one for each host that can directly access

    it.

    )ou can specify multiple attach points when creating a device with the mkdevor chdev

    obtool commands, the !eb tool, or >nterprise Aanager. Aultiple attach points enable you

    to attach the same device to multiple hosts on a network.

    #uestion

    !hich statements accurately describe adding devices in OSB0

    Options$

    1. 'll devices can be automatically discovered

    . evices can be added manually

    2. obtool can be used to add devices

    3. S(S/ devices are shared among multiple OSB media servers

    !nswer

    Option 1:This option is incorrect. OSB can autoatically disco#er and configure

    secondary storage de#ices connected to certain types of '(5 ser#ers2 such as

    etwork ppliance filers.

    Option 2:This option is correct. 'e#ices that cannot be autoatically disco#ered

    can be added anually. On the 'e#ices page2 click eitherAddLibraryorAdd

    Driveto add a new de#ice to your configuration.

    Option 3:This option is correct. "ou can use the obtool mkdevcoand to add

    an OSB de#ice ob!ect to your adinistrati#e doain configuration.

    Option 4:This option is incorrect. nlike SCS62 which is a host-centric protocol2

    9iber Channel libraries and tape dri#es are typically shared aong ultiple OSB

    edia ser#ers.

    %orrect answer&s'$

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    26/29

    . evices can be added manually

    2. obtool can be used to add devices

    Cibraries and tape devices attached to 7etwork 'ttached Storage, also known as 7'S,

    filers are automatically configured by the operating system on which the 7'S device runs.

    Both S(S/ device and $iber (hannel configuration occur automatically and re-uire no

    input from the user.

    OSB can detect changes in device configuration for some types of these 7A6"

    accessed hosts and on the basis of this information, automatically update the device

    configuration in the administrative domain.

    5owever, 7'S tape libraries and tape drives must first be made accessible to the OSB

    software. This is accomplished by performing device discovery on each of the 7'S filers

    in the administrative domain. )ou can discover devices by using >nterprise Aanager, the

    OSB !eb tool, or obtool commands. OSB detects multiple hosts connected to the same

    device by comparing the serial numbers reported by the operating system.

    raphic

    6n the OSB Web tool2 the de#ice disco#ery is specified in the (edia Ser#ers page2

    which is currently opened. This is done by selecting 'isco#er '(5 'e#ices fro

    the ctions drop-down list. Other options are 8erify Connecti#ity2 Resynchroni;e

    Settings2 and ?dit (edia Ser#er 'e#ices.

    )ou can discover devices using this obtool command.

    %o"e

    ob> discoverdev --verbose --host

    edrsr"2p"

    #uestion

    !hat are the characteristics of device discovery on 7A6 hosts0

    Options$

    1. OSB can detect changes in device configuration for all 7A6"accessed hosts

    . evices attached to 7'S filers should be manually configured on the OS running the

    7'S device

    2. OSB can detect multiple hosts connected to the same device

    3. 7'S tape libraries must first be made accessible to the OSB software

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    27/29

    !nswer

    Option 1:This option is incorrect. OSB can detect changes in de#ice

    configuration for soe types of these '(5-accessed hosts and on the basis of

    this inforation2 autoatically update the de#ice configuration in the

    adinistrati#e doain.

    Option 2:This option is incorrect. +ibraries and tape de#ices attached to S

    filers are autoatically configured by the operating syste on which the S

    de#ice runs.

    Option 3:This option is correct. OSB detects ultiple hosts connected to the

    sae de#ice by coparing the serial nubers reported by the operating syste.

    Option 4:This option is correct. S tape libraries and tape dri#es ust first be

    ade accessible to the OSB software. This is accoplished by perforing de#ice

    disco#ery on each of the S filers in the adinistrati#e doain.

    %orrect answer&s'$

    2. OSB can detect multiple hosts connected to the same device

    3. 7'S tape libraries must first be made accessible to the OSB software

    6. anaging "evices

    To manage devices, from the 'dministrative Server page, you can click the anagelink

    corresponding to the evices label in the 4esources section.

    This takes you to the evices page where you have the options !"" Libraryand !""

    /rive. )ou can also select an e%isting device and click ,"itor Removeto perform those

    actions on that device.

    ' tape must be mounted in the drive before you can write to it. Aounting a volume means

    logically preparing a tape volume in a drive to be read or written.

    raphic

    nd e

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    28/29

    The path of the file is the following:

    OSB,oe@de#ices@obrobots

    0ote

    (any things can go wrong when trying to control an unknown tape library.

    To view the tape library properties, perform the following steps in >nterprise Aanager

    raphic

    The 'e#ices page is opened.

    1. (lick the name of a tape library in the Select column on the evices page and click ,"it.

    The tape library #lib is selected.

    . The >dit Cibrary page is displayed, showing the properties of the selected tape library. The device

    attachment information is displayed at the bottom of the page. (lick Show !"vance" Settingsto view

    the additional properties for the device.

    )ou can make changes to the tape library configuration in the Cibrary Settings section of

    the >dit Cibrary page and then click one of the following buttons

    raphic

    The ,ide d#anced Settings link appears in this page.

    O3 to save the changes and return to the evices page

    %ancel to avoid the operation and move back one page, and

    !"" to configure device attachments in the 'ttachments section

    To view tape library or tape drive properties using the !eb tool interface, you can select a

    tape library or tape drive in the main te%t bo% on the Aanage Cibraries page and click

    Showroperties.

    raphic

    Other buttons on the page are ?rror +og2 +ist 8olues2 and pply.

    To view the tape drive properties, perform the following steps

  • 8/10/2019 Oracle Database 11g Managing Backups and Infrastructure

    29/29

    1. on the Aanage Cibraries page, select a tape drive in the main te%t bo% and click Show

    roperties

    The tape dri#e dri#e =)> is selected.

    . the !eb tool displays a page with the properties for the tape drive that you selected on the evice

    6roperties page, and

    2. click %loseto return to the Aanage evices page

    To manage volumes, you can access the :olumes page from the 'dministrative Server

    page by clicking the /etailslink to the right of the :olumes label in the 4esources

    section.

    )ou can use the :olumes page to display a list of all volumes associated with an

    administrative server.

    To display the volumes, you must first specify a filter option. )ou do so by using the

    Search section. /n the e%ample, the f ilter option limits the volumes displayed to only those

    for the 4A'7">$'UCT media family. $or a listing of all volumes, select the !lloption

    from the $ilter By drop"down list and then click o.

    raphic

    6n addition to the ll option2 other options are (edia 9ailies2 8olue 6's2 8olue

    Set 6's2 Barcode2 and ttributes.

    The 4esults table identifies the :olume / and other important information related to your

    volumes. )ou can view all the backup sections in a selected volume by clicking theBackupSectionsbutton.

    Use the Backup Sections page to display the sections of a backup. ' backup section is

    that portion of a backup image that fits on one physical volume. The Sections table

    displays the Backup Cevel, (lient 5ost, :olume Set (reation Time, and 'ttributes for

    each section.

    Summary

    /n this topic, you9ve learned to manage the OSB infrastructure.