Wednesday, May 22, 2013

Cài đặt và cấu hình Oracle Secure Backup + ZFS7320 + Exadata path1


Install Oracle Secure Backup

Chuẩn bị bộ cài

OS Oracle Linux 5U9
Sử dụng bộ cài osb-10.4.0.2.0_linux.x64_cdrom120606

Copy bộ cài vào thư mục /usr/local/oracle/backup/

[root@TC-OSB ~]# cd /usr/local/oracle/backup/
[root@TC-OSB backup]# ls -al
total 13996
drwxr-xr-x 5 root root     4096 May  6 07:42 .
drwxr-xr-x 3 root root     4096 May  6 07:41 ..
drwxr-xr-x 2 root root     4096 May  6 07:42 cdtools
drwxr-xr-x 6 root root     4096 May  6 07:42 doc
-rw-r--r-- 1 root root 13434880 May  6 07:42 doc.tar
-rw-r--r-- 1 root root   706560 May  6 07:42 install.tar
drwxr-xr-x 2 root root     4096 May  6 07:42 linux86_64
-rw-r--r-- 1 root root    99418 May  6 07:42 obreadme.pdf
-rw-r--r-- 1 root root        0 May  6 07:42 OSB.10.4.0.2.0_LINUX64.rel
-rw-r--r-- 1 root root    28835 May  6 07:42 setup
-rw-r--r-- 1 root root     3914 May  6 07:42 welcome.html
[root@TC-OSB backup]#

Cài đặt hệ Orace Secure Backup


Phân quyền và chạy file cài đặt

[root@TC-OSB backup]# chmod 755 setup
[root@TC-OSB 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.2.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.

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
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]: yes

Please edit the obparameters file.
When you are ready to continue:
 1. log in as (or 'su' to) root
 2. cd to /usr/local/oracle/backup
 3. run install/installob

[root@TC-OSB backup]#


Chạy lệnh install/installob

Trong qúa trình cài đặt hệ thống hỏi password. Set pass: oracle cho tất cả hệ thống

Please enter the key store password:
Re-type password for verification: 

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: 


Chọn tùy chọn a.


    (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]? a



[root@TC-OSB backup]# install/installob

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]? 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]? a

Beginning the installation.  This will take just a minute and will produce
several lines of informational output.

Installing Oracle Secure Backup on TC-OSB (Linux version 2.6.39-300.26.1.el5uek)

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: 

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: 

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:


    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
    creating /etc/rc.d/init.d/observiced
    activating observiced via chkconfig
    initializing the administrative domain

****************************** N O T E ******************************
On Linux systems Oracle recommends that you answer no to the next two
questions. The preferred mode of operation on Linux systems is to use
the /dev/sg devices for attach points as described in the 'ReadMe'
and in the 'Installation and Configuration Guide'.


Is TC-OSB connected to any tape libraries that you'd like to use with
Oracle Secure Backup [no]? yes

How many Oracle Secure Backup tape libraries are attached to TC-OSB [1]?

Please describe each tape library by answering the following questions.

    Oracle Secure Backup logical unit number [0]:
    Host SCSI adapter number 0-15 [0]:
    SCSI bus address [0]:
    SCSI target ID [3]:
    SCSI lun 0-7 [0]:

Is the information you entered correct [yes]? yes

Is TC-OSB connected to any tape drives that you'd like to use with
Oracle Secure Backup [no]?

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -

Beginning device driver configuration and device special file creation.

NOTE: No driver installation is required for Linux.
/dev/obl0 created

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -

NOTE: You must configure the new devices via the Web interface or via
      the command line using the obtool 'mkdev' command.

Installation summary:

    Installation  Host                OS          Driver     OS Move    Reboot
        Mode      Name                Name      Installed?  Required?  Required?

    admin         TC-OSB              Linux     yes         no         no   

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
Oracle Secure Backup will be ready for your use after you do the following:

    On TC-OSB:
        No further action is needed; Oracle Secure Backup is ready for your use on
        TC-OSB.


[root@TC-OSB backup]#

Kiểm tra hệ thống Oracle Secure Backup

Sau khi cài đặt thành công vào hệ thống Oracle Secure Backup theo link sau:

Đăng nhập vào hệ thống với acc: admin/oracle



Giao diện sau khi đăng nhập thành công


 Hoàn tất quá trình cài dặt hệ thống Oracle Secure Backup

No comments:

Post a Comment