Oracle Secure Backup在Linux下的安裝

DB_BLOCK發表於2013-11-07
Oracle Secure Backup在Linux下的安裝
在學習RMAN的時候,看到Oracle Secure Backup也可以備份資料,就順便學習學習




Oracle Secure Backup是Oracle公司推出的備份產品, 有Oracle Secure Backup和Oracle Secure Backup Express兩個版本, 目前支援Windows, Linux(x86), Solaris(Sparc)三個平臺. 其中Oracle Secure Backup Express可備份1臺機器上的資料庫和檔案系統, 也僅支援1個磁帶機, 只要有Oracle資料庫的授權就可以使用. Oracle Secure Backup則可以支援多臺伺服器, 多臺磁帶機和磁帶庫, 但是需要額外的授權.Oracle Secure Backup Express用來替換 Legato Storage Manager (LSM) 和 Legato Single Server Version (LSSV). 下面介紹Oracle Secure Backup在Linux下的安裝:


要安裝oracle安全備份軟體,必須執行以下步驟: 
(1)、以 root 使用者身份執行以下命令,建立 OSB 主目錄: 
mkdir -p /usr/local/oracle/backup 
(2)、瀏覽至您的 OSB 主目錄:
cd /usr/local/oracle/backup 
(3)、確保提供瞭解壓縮實用程式:
ln -s /bin/gunzip /bin/uncompress 
(4)、在您的 OSB 主目錄中,以 root 使用者身份啟動 Oracle 安全備份的安裝。  
/u01/osb-10.4.0.3.0_linux.x64_release/setup


點選(此處)摺疊或開啟

  1. [root@Ray backup]# /u01/osb-10.4.0.3.0_linux.x64_release/setup
  2. Welcome to Oracle\'s setup program for Oracle Secure Backup. This
  3. program loads Oracle Secure Backup software from the CD-ROM to a
  4. filesystem directory of your choosing.
  5. This CD-ROM contains Oracle Secure Backup version 10.4.0.3.0_LINUX64.
  6. Please wait a moment while I learn about this host... done.
  7. - - - - - - - - - - - - - - - - - - - - - - - - - - -
  8. 1. linux86_64
  9. administrative server, media server, client
  10. - - - - - - - - - - - - - - - - - - - - - - - - - - -
  11. Loading Oracle Secure Backup installation tools... done.
  12. Loading linux86_64 administrative server, media server, client... done.
  13. - - - - - - - - - - - - - - - - - - - - - - - - - - -
  14. Oracle Secure Backup has installed a new obparameters file.
  15. Your previous version has been saved as install/obparameters.savedbysetup.
  16. Any changes you have made to the previous version must be
  17. made to the new obparameters file.
  18. Would you like the opportunity to edit the obparameters file
  19. Please answer \'yes\' or \'no\' [no]: yes
  20. Please edit the obparameters file.
  21. When you are ready to continue:
  22. 1. log in as (or \'su\' to) root
  23. 2. cd to /usr/local/oracle/backup
  24. 3. run install/installob
  25. [root@Ray backup]# install/installob
  26. Welcome to installob, Oracle Secure Backup\'s installation program.
  27. For most questions, a default answer appears enclosed in square brackets.
  28. Press Enter to select this answer.
  29. Please wait a few seconds while I learn about this machine... done.
  30. Have you already reviewed and customized install/obparameters for your
  31. Oracle Secure Backup installation [yes]? yes
  32. - - - - - - - - - - - - - - - - - - - - - - - - - - -
  33. Oracle Secure Backup is not yet installed on this machine.
  34. Oracle Secure Backup\'s Web server has been loaded, but is not yet configured.
  35. Choose from one of the following options. The option you choose defines
  36. the software components to be installed.
  37. Configuration of this host is required after installation completes.
  38. You can install the software on this host in one of the following ways:
  39. (a) administrative server, media server and client
  40. (b) media server and client
  41. (c) client
  42. If you are not sure which option to choose, please refer to the Oracle
  43. Secure Backup Installation Guide. (a,b or c) [a]? a
  44. Beginning the installation. This will take just a minute and will produce
  45. several lines of informational output.
  46. Installing Oracle Secure Backup on Ray (Linux version 2.6.32-100.26.2.el5)
  47. You must now enter a password for the Oracle Secure Backup encryption
  48. key store. Oracle suggests you choose a password of at least 8
  49. characters in length, containing a mixture of alphabetic and numeric
  50. characters.
  51. Please enter the key store password:
  52. Re-type password for verification:
  53. You must now enter a password for the Oracle Secure Backup \'admin\' user.
  54. Oracle suggests you choose a password of at least 8 characters in length,
  55. containing a mixture of alphabetic and numeric characters.
  56. Please enter the admin password:
  57. Re-type password for verification:
  58. You should now enter an email address for the Oracle Secure Backup \'admin\'
  59. user. Oracle Secure Backup uses this email address to send job summary
  60. reports and to notify the user when a job requires input. If you leave this
  61. blank, you can set it later using the obtool\'s \'chuser\' command.
  62. Please enter the admin email address:
  63. generating links for admin installation with Web server
  64. updating /etc/ld.so.conf
  65. checking Oracle Secure Backup\'s configuration file (/etc/obconfig)
  66. setting Oracle Secure Backup directory to /usr/local/oracle/backup in /etc/obconfig
  67. setting local database directory to /usr/etc/ob in /etc/obconfig
  68. setting temp directory to /usr/tmp in /etc/obconfig
  69. setting administrative directory to /usr/local/oracle/backup/admin in /etc/obconfig
  70. setting version to 10.4.0.3.0 in /etc/obconfig
  71. protecting the Oracle Secure Backup directory
  72. creating /etc/rc.d/init.d/observiced
  73. activating observiced via chkconfig
  74. initializing the administrative domain
  75. ****************************** N O T E ******************************
  76. On Linux systems Oracle recommends that you answer no to the next two
  77. questions. The preferred mode of operation on Linux systems is to use
  78. the /dev/sg devices for attach points as described in the \'ReadMe\'
  79. and in the \'Installation and Configuration Guide\'.
  80. Is Ray connected to any tape libraries that you\'d like to use with
  81. Oracle Secure Backup [no]? no
  82. Is Ray connected to any tape drives that you\'d like to use with
  83. Oracle Secure Backup [no]? no
  84. Installation summary:
  85. Installation Host OS Driver OS Move Reboot
  86. Mode Name Name Installed? Required? Required?
  87. admin Ray Linux no no no
  88. Oracle Secure Backup is now ready for your use.

安裝完成後,可以在網頁中輸入:https://hostname 對oracle secure backup 進行控制。登入的使用者名稱是admin 密碼是在安裝時輸入的密碼




總結:花了一天的時間從oracle官網上下載完osb,安裝之後才發現Oracle Secure Backup does not have native virtual tape support.不支援到磁碟的備份。不過,沒關係,學習嘛。

歡迎大家批評指正:
QQ交流群:300392987
論        壇:www.oraclefreebase.com

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29210156/viewspace-775927/,如需轉載,請註明出處,否則將追究法律責任。

相關文章