Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2416006
  • 博文数量: 384
  • 博客积分: 10193
  • 博客等级: 上将
  • 技术积分: 3785
  • 用 户 组: 普通用户
  • 注册时间: 2005-06-09 18:02
文章分类

全部博文(384)

文章存档

2011年(10)

2010年(29)

2009年(39)

2008年(36)

2007年(43)

2006年(198)

2005年(29)

分类: Oracle

2006-07-13 14:45:41

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下的安装:

1 检查管理服务器和各个介质服务器,客户端的机器名称和IP地址影射正确, 如果使用hosts文件, 检查/etc/hosts文件中包含了管理服务器和各个介质服务器,客户端的主机名称和ip地址正确对应, 如果使用dns, 确保可以通过dns在主机名和ip地址之间相互查询.

2 如果使用Debian GNU/Linux, 检查如下包已经安装:

libgdbm3 libgdbmg1    ncompress libapache-mod-ssl ca-certificates apache2

以上软件包包并不一定是必须的, 这些软件包是我在安装过程中使用apt-get 添加的.

3 建立安装目录/usr/local/oracle/backup, 使用如下命令创建:

mkdir -p /usr/local/oracle/backup

/usr/local/oracle/backup是Oracle Secure Backup的默认安装目录, 如果您希望Oracle Secure Backup安装在别的目录, 请建立相应的目录.

4 开始安装 Oracle Secure Backup.

guoliang:~# cd /usr/local/oracle/backup/  
guoliang:/usr/local/oracle/backup# /root/osb_10_1cdrom/
autorun.inf   .etc.linux32  obreadme.pdf  solaris64     
cdtools       linux32       setup         welcome.html  
doc           .ob_cdtools   setup.exe     winx86        
guoliang:/usr/local/oracle/backup# /root/osb_10_1cdrom/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.1.060420.

Please wait a moment while I learn about this host... done.

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
You may load any of the following Oracle Secure Backup packages:
    1. linux32 (RH 2.1, RHEL 3, RHEL 4, SuSE 8, SuSE 9)
       administrative server, media server, client
    2. solaris64 (Solaris 2.8 and later, SPARC)
       administrative server, media server, client

Enter a space-separated list of packages you'd like to load.  To load all
packages, enter 'all' [1]: 1

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
Loading Oracle Secure Backup installation tools... done.
Loading linux32 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 UNIX installation program.

It installs Oracle Secure Backup onto one or more UNIX, Linux, or other
supported open-source systems on your network.  (Install Oracle Secure
Backup for Windows using the CD-ROM from which you loaded this software.)
 
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]?
 
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
 
You can choose to install Oracle Secure Backup in one of two ways:
    (a) interactively, by answering questions asked by this program, or
    (b) in batch mode, by preparing a network description file
 
Use interactive mode to install Oracle Secure Backup on a small number
of hosts.  Use batch mode to install Oracle Secure Backup on any number
of hosts.
 
Which installation method would you like to use (a or b) [a]?
 
-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
 
Oracle Secure Backup is not yet installed on this machine.

Oracle Secure Backup's Web server has been loaded, but is not yet configured.
 
You can install this host one of three ways:
    (a) administrative server
        (the host will also be able to act as a media server or client)
    (b) media server
        (the host will also be able to act as a client)
    (c) client
 
If you are not sure which way to install, please refer to the Oracle
Secure Backup Installation Guide. (a,b or c) [a]?
 
Beginning the installation.  This will take just a minute and will produce
several lines of informational output.

Installing Oracle Secure Backup on localhost (Linux version 2.6.8-3-k7)
 
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:  
 
    generating links for admin installation with Web server
    WARNING: The UNIX sendmail program was not found in /usr/lib or
        /usr/ucblib.  The mail options in Oracle Secure Backup will not
        operate until you install and configure the sendmail program.
    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
    removing qrserviced from system startup
 Removing any system startup links for /etc/init.d/qrserviced ...
    adding observiced to system startup
 Adding system startup for /etc/init.d/observiced ...
   /etc/rc0.d/K01observiced -> ../init.d/observiced
   /etc/rc1.d/K01observiced -> ../init.d/observiced
   /etc/rc6.d/K01observiced -> ../init.d/observiced
   /etc/rc2.d/S92observiced -> ../init.d/observiced
   /etc/rc3.d/S92observiced -> ../init.d/observiced
   /etc/rc4.d/S92observiced -> ../init.d/observiced
   /etc/rc5.d/S92observiced -> ../init.d/observiced
    initializing the administrative domain
obtool: Error: can't connect to administrative observiced - host not found
obtool: Error: can't connect to administrative observiced - host not found
 
Is localhost connected to any tape libraries that you'd like to use with
Oracle Secure Backup [no]?
 
Is localhost connected to any tape drives that you'd like to use with
Oracle Secure Backup [no]?

-  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
 
Would you like to install Oracle Secure Backup on any other machine [yes]? no
Installation summary:
 
    Installation  Host                OS          Driver     OS Move    Reboot
        Mode      Name                Name      Installed?  Required?  Required?
 
    admin         localhost           Linux     no          no         no    
 
Oracle Secure Backup is now ready for your use. 

安装完成后, 可以使用浏览器访问对Oracle Secure Backup进行控制, 登陆的用户名是admin, 密码是安装过程中输入的密码.

秀一张登陆后的pp给大家看看


本来想做一下将Oracle数据库和普通文件备份到磁盘的测试, 找了半天后发现这么一句话:

Oracle Secure Backup does not have native virtual tape support.

也就是说, Oracle Secure Backup本身不支持备份到磁盘的功能. 我手边有没有磁带机, 只好做罢.

参考连接:
Oracle Secure Backup的老家http://www.oracle.com/technology/products/secure-backup/index.html

Oracle Secure Backup下载
http://www.oracle.com/technology/software/htdocs/devlic.html?url=http://www.oracle.com/technology/software/products/securebackup/htdocs/secbackup.html

Oracle Secure Backup文档


阅读(3850) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~