创建一个devices:a ,device type是:file library
scan该设备时提示如下:(主要就是Slots are not configured)
[Normal] From: MSM@hosta "A_Writer0"Time: 2009-8-12 15:11:51
[65:74]
Slots are not configured.
============================================================================
0 media out of 0 successfully scanned.
============================================================================
看doc提示按照下面的方法add slot结果找不到添加的位置啊,晕死了
Adding a Slot
Data Protector provides full support of handling slots and media in media pools used by libraries. Adding a slot configures a location for media in a storage device.
On some libraries, slots are detected and added automatically when the library is configured.
Steps
In the Context List, click Devices & Media.
In the Scoping Pane, click Devices.
In the Results Area, right-click the name of the library, and then click Properties.
Click the Repository tab, specify the slot that you want to use with Data Protector, and then click Add to add the slot to the list. Use a dash to enter a multiple slots at a time, for example, 5-12.
Make sure you use a format supported by your library. For example, when adding slots to a SCSI library, do not use letters or leading zeros.
Click Apply to confirm.
--================================================
创建了一个备份任务使用了device a,结果备份时一直挂在这里
[Normal] From: BSM@hosta "New3"Time: 2009-8-12 15:10:31
OB2BAR application on "xys" successfully started.
[Normal] From: ob2rman@xys "orcl"Time: 2009-8-12 15:10:32
Starting backup of target database.
Net service name: orcl.
Instance status: OPEN.
Instance name: orcl.
Database DBID = 1220123855.
Database control file type: CURRENT.
Database log mode: ARCHIVELOG.
[Normal] From: ob2rman@xys "orcl"Time: 2009-8-12 15:10:38
Starting Oracle Recovery Manager.
恢复管理器: Release 10.2.0.1.0 - Production on 星期三 8月 12 15:10:39 2009
Copyright (c) 1982, 2005, Oracle.All rights reserved.
RMAN> CONNECT TARGET *
2> run {
3> allocate channel 'dev_0' type 'sbt_tape'
4>parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=orcl,OB2BARLIST=New3,OB2BARHOSTNAME=xys)';
5> backup incremental level 0
6>format 'New3.dbf'
7>database;
8> sql 'alter system archive log current'
9> ;
10> backup
11>format 'New3.dbf'
12>archivelog all;
13> backup
14>format 'New3.dbf'
15>current controlfile;
16> }
17> EXIT
连接到目标数据库: ORCL (DBID=1220123855)
使用目标数据库控制文件替代恢复目录 2BARLIST=New3,OB2BARHOSTNAME=xys)';
分配的通道: dev_0
通道 dev_0: sid=141 devtype=SBT_TAPE
通道dev_0: Data Protector A.06.00/331
启动 backup 于 12-8月 -09
通道 dev_0: 启动增量级别 0 数据文件备份集 IST=New3,OB2BARHOSTNAME=xys)';
通道 dev_0: 正在指定备份集中的数据文件 ? IST=New3,OB2BARHOSTNAME=xys)';
输入数据文件 fno=00001 name=E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
输入数据文件 fno=00003 name=E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
输入数据文件 fno=00005 name=E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\TEST.DBF
输入数据文件 fno=00006 name=E:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS02.DBF
通道 dev_0: 正在启动段 1 于 12-8月 -09
|