|
- RMAN> CONFIGURE DEFAULT DEVICE TYPE TO sbt;
- new RMAN configuration parameters:
- CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
- new RMAN configuration parameters are successfully stored
- RMAN> show all;
- RMAN configuration parameters for database with db_unique_name ORCL are:
- CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
- CONFIGURE BACKUP OPTIMIZATION OFF; # default
- CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
- CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
- CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
- CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
- CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
- CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
- CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
- CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
- CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
- CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
- CONFIGURE MAXSETSIZE TO UNLIMITED; # default
- CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
- CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
- CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
- CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
- CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_orcl.f'; # default
- RMAN> backup datafile 4;
- Starting backup at 09-APR-18
- RMAN-00571: ===========================================================
- RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
- RMAN-00571: ===========================================================
- RMAN-03002: failure of backup command at 04/09/2018 20:08:10
- ORA-19554: error allocating device, device type: SBT_TAPE, device name:
- ORA-27211: Failed to load Media Management Library
- Additional information: 2
- RMAN> exit
复制代码
- [root@station20 local]# cd /usr/local/oracle/backup
- [root@station20 backup]# ls
- [root@station20 backup]# /stage/osb_10.4.0.4.1_linux.x64_release/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 4.0.4.1_linux.x64.
- 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]: 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]? 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 station20 (Linux version 2.6.32-696.el6.x86_64)
-
- 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
- setting version to 10.4.0.4.0 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 station20 connected to any tape libraries that you'd like to use with
- Oracle Secure Backup [no]?
-
- Is station20 connected to any tape drives that you'd like to use with
- Oracle Secure Backup [no]?
- Installation summary:
-
- Installation Host OS Driver OS Move Reboot
- Mode Name Name Installed? Required? Required?
-
- admin station20 Linux no no no
-
- Oracle Secure Backup is now ready for your use.
复制代码- [root@station20 stage]# obtool
- ob> lsdev
- ob> lshost
- station20 admin,mediaserver,client (via OB) in service
- ob> mkdev -t library -o -a station20:/dev/sg9 lib01
- ob> mkdev -t tape -o -a station20:/dev/sg3 -l lib01 -d 3 tape03
- ob> mkdev -t tape -o -a station20:/dev/sg4 -l lib01 -d 4 tape04
- ob> inventory -L lib01
- ob>
复制代码
- ob> lsvol -L lib01 -l
- Inventory of library lib01:
- in 1: barcode E01001L4, oid 100
- in 2: barcode E01002L4, oid 101
- in 3: barcode E01003L4, oid 102
- in 4: barcode E01004L4, oid 103
- in 5: barcode E01005L4, oid 104
- in 6: barcode E01006L4, oid 105
- in 7: barcode E01007L4, oid 106
- in 8: barcode E01008L4, oid 107
- in 9: barcode E01009L4, oid 108
- in 10: barcode E01010L4, oid 109
- in 11: barcode E01011L4, oid 110
- in 12: barcode E01012L4, oid 111
- in 13: barcode E01013L4, oid 112
- in 14: barcode E01014L4, oid 113
- in 15: barcode E01015L4, oid 114
- in 16: barcode E01016L4, oid 115
- in 17: barcode E01017L4, oid 116
- in 18: barcode E01018L4, oid 117
- in 19: barcode E01019L4, oid 118
- in 20: barcode E01020L4, oid 119
- in 21: vacant
- in 22: barcode CLN101L4, oid 120
- in 23: barcode CLN102L5, oid 121
- in 24: vacant
- in 25: vacant
- in 26: vacant
- in 27: vacant
- in 28: vacant
- in 29: vacant
- in 30: barcode F01030L5, oid 122
- in 31: barcode F01031L5, oid 123
- in 32: barcode F01032L5, oid 124
- in 33: barcode F01033L5, oid 125
- in 34: barcode F01034L5, oid 126
- in 35: barcode F01035L5, oid 127
- in 36: barcode F01036L5, oid 128
- in 37: barcode F01037L5, oid 129
- in 38: barcode F01038L5, oid 130
- in 39: barcode F01039L5, oid 131
- in iee1: vacant
- in iee2: vacant
- in iee3: vacant
- in iee4: vacant
- in dte1: vacant
- in dte2: vacant
- in dte3: vacant
- in dte4: vacant
- ob> loadvol -D tape04 -m write 2
- ob> lsvol -L lib01 -l
- Inventory of library lib01:
- in 1: barcode E01001L4, oid 100
- in 2: vacant
- in 3: barcode E01003L4, oid 102
- in 4: barcode E01004L4, oid 103
- in 5: barcode E01005L4, oid 104
- in 6: barcode E01006L4, oid 105
- in 7: barcode E01007L4, oid 106
- in 8: barcode E01008L4, oid 107
- in 9: barcode E01009L4, oid 108
- in 10: barcode E01010L4, oid 109
- in 11: barcode E01011L4, oid 110
- in 12: barcode E01012L4, oid 111
- in 13: barcode E01013L4, oid 112
- in 14: barcode E01014L4, oid 113
- in 15: barcode E01015L4, oid 114
- in 16: barcode E01016L4, oid 115
- in 17: barcode E01017L4, oid 116
- in 18: barcode E01018L4, oid 117
- in 19: barcode E01019L4, oid 118
- in 20: barcode E01020L4, oid 119
- in 21: vacant
- in 22: barcode CLN101L4, oid 120
- in 23: barcode CLN102L5, oid 121
- in 24: vacant
- in 25: vacant
- in 26: vacant
- in 27: vacant
- in 28: vacant
- in 29: vacant
- in 30: barcode F01030L5, oid 122
- in 31: barcode F01031L5, oid 123
- in 32: barcode F01032L5, oid 124
- in 33: barcode F01033L5, oid 125
- in 34: barcode F01034L5, oid 126
- in 35: barcode F01035L5, oid 127
- in 36: barcode F01036L5, oid 128
- in 37: barcode F01037L5, oid 129
- in 38: barcode F01038L5, oid 130
- in 39: barcode F01039L5, oid 131
- in iee1: vacant
- in iee2: vacant
- in iee3: vacant
- in iee4: vacant
- in dte1: vacant
- in dte2: vacant
- in dte3: vacant
- in dte4: unlabeled, barcode E01002L4, oid 132, lastse 2
- ob>
复制代码
|
|