Monday, May 12, 2014

Post 59 of Series : Install Oracle Secure Backup Client and Configuring Hosts and Datafile Sets on OSB (Oracle Secure Bakup)

Those Saints and devotees who serve the Lord have all their sins washed away. Have Mercy on me, O Lord and Master, and
keep me in the Sangat, the Congregation that You love. || 1 || I cannot even speak the Praises of the Lord, the Gardener of
the world. We are sinners, sinking like stones in water; grant Your Grace, and carry us stones across. || Pause || The rust
of poison and corruption from countless incarnations sticks to us; joining the Saadh Sangat, the Company of the Holy, it is
cleaned away. It is just like gold, which is heated in the fire, to remove the impurities from it.



Now we will install OSB (Oracle Secure backup) client on the other host (in my case "rac70.meditate.com"). If client is not installed on the other srver, we cannot take backup and execute restore jobs from that server. Here are the steps to install Client :

[root@rac70 backup]# ./setup
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.4.0.3.0_LINUX64.
Please wait a moment while I learn about this host... done.
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
    1. linux86_64
       administrative server, media server, client
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
Loading Oracle Secure Backup installation tools... done.
Loading linux86_64 administrative server, media server, client... done.
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
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?  (The Oracle Secure Backup Installation Guide
contains complete information about installob.)
Please answer 'yes' or 'no' [yes]:
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
Welcome to installob, Oracle Secure Backup's installation program.
For most questions, a default answer appears enclosed in square brackets.
Press Enter to select this answer.
Please wait a few seconds while I learn about this machine... done.
Have you already reviewed and customized install/obparameters for your
Oracle Secure Backup installation [yes]?
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
Oracle Secure Backup is not yet installed on this machine.
Oracle Secure Backup's Web server has been loaded, but is not yet configured.
Choose from one of the following options. The option you choose defines
the software components to be installed.
Configuration of this host is required after installation completes.
You can install the software on this host in one of the following ways:
    (a) administrative server, media server and client
    (b) media server and client
    (c) client
If you are not sure which option to choose, please refer to the Oracle
Secure Backup Installation Guide. (a,b or c) [a]? c
Beginning the installation.  This will take just a minute and will produce
several lines of informational output.
Installing Oracle Secure Backup on rac70 (Linux version 2.6.32-358.el6.x86_64)
    generating links for client installation
    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 version to 10.4.0.3.0 in /etc/obconfig
    protecting the Oracle Secure Backup directory
    creating /etc/rc.d/init.d/observiced
    activating observiced via chkconfig
    Starting Oracle Secure Backup service daemon (/etc/observiced)
Installation summary:
    Installation  Host                OS          Driver     OS Move    Reboot
        Mode      Name                Name      Installed?  Required?  Required?
    client        rac70               Linux     no          no         no
Oracle Secure Backup is now ready for your use.
[root@rac70 backup]#



Before you take the back-up, you need to configure the hosts and the the datafile sets. USe the following steps to configure the datafile sets.


 
You will see the virtual tape library and the virtual tape drive on the home screen that you configured in the last step.



 
 




 
Configure -> Hosts


 
 

 
 
Dataset File Examples
When configuring a dataset file, it might be helpful to study the dataset files in the samples subdirectory of the Oracle Secure Backup home directory. The sample dataset files use the *.ds extension.
Including Only One Host in Each Dataset File
A typical strategy is to create one dataset file for each host to back up. For example, assume that your administrative domain includes client hosts brhost2, brhost3, and brhost4. You could create the dataset files brhost2.ds, brhost3.ds, and winhost1.ds as shown in the following examples. Each of the examples excludes core dumps and editor backup files.
Following example includes all files in the /, /usr, and /home file systems on host brhost2 except for core dumps and editor backup files.
brhost2.ds
include host brhost2 {
    exclude name core
    exclude name *.bak
    exclude name *~
    include path /
    include path /usr
    include path /home
}
Following example includes all files in the / and /usr file systems on host brhost3 except for core dumps and editor backup files.
Example 5-3 brhost3.ds
include host brhost3 {
    exclude name core
    exclude name *.bak
    exclude name *~
    include path /
    include path /usr
}
 
BAckup -> Datasets ->Add





 
I picked File. I will take the rman backup in this directory and will backup all the rman backup pieces to tape. 


 
I named it "backup_Disc_to_tp_71"



 
Click Dataset if there ar any errors:



 
 
 
 Now we are ready to start the backup job for file system to tape using OSB (Oracle Secure Backup)
 
 
I chant the chant of the Name of the Lord, day and night; I chant the Name of the Lord, Har, Har, Har, and enshrine it within my heart. The Name of the Lord, Har, Har, Har, is the most perfect medicine in this world; chanting the Name of the Lord, Har, Har, I have conquered my ego. || 3 || The Lord, Har, Har, is unapproachable, of unfathomable wisdom, unlimited, all-powerful and infinite. Show Mercy to Your humble servant, O Life of the world, and save the honor of servant Nanak. || 4 ||
 


No comments:

Post a Comment