2005-12-15 12:03
tonyada
TSM+RMAN backup!请教!
平台环境:AIX 5200-04,Oracle 9.0.2,TSM 5.2.2。
使用tsm client定制一个调度,调用rman脚本可以实现oracle全库的0级备份、恢复也是成功的。但是用同样的脚本把备份级别改成1级就失败。
测试脚本如下:其中的:(“incremental level = 0 cumulative”)0改成1就失败!
shutdown immediate;
startup mount;
run {
allocate channel t1 type sbt_tape parms
'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
allocate channel t2 type sbt_tape parms
'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
backup
incremental level = 0 cumulative
database
format 'db_%d_%s_%p_%t'
tag = 'whole_inc0';
}
alter database open;
×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××
原始报错信息如下:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on t1 channel at 12/14/2005 17:13:52
ORA-27206: requested file not found in media management catalog
ORA-19502: write error on file "db_FSGL_157_1_577041088", blockno 1025 (blocksize=512)
ORA-27030: skgfwrt: sbtwrite2 returned error
ORA-19511: Error received from media manager layer, error text:
ANS1017E (RC-50) Session rejected: TCP/IP connection failure
2005-12-15 13:32
jiangxh
pls sure your database db_block_size and tape block size!
2005-12-15 13:34
orian
这个问题很奇怪
在tsm server那端看log有什么提示?
2005-12-15 15:58
tonyada
dsm错误信息
12/14/05 09:51:55 ANS1909E The scheduled command failed.
12/14/05 09:51:55 ANS1512E Scheduled event 'TEST' failed. Return code = 127.
12/14/05 09:52:06 ANS2820E An interrupt has occurred. The current operation will end and the
client will shut down.
12/14/05 09:58:24 ANS1909E The scheduled command failed.
12/14/05 09:58:24 ANS1512E Scheduled event 'TEST' failed. Return code = 1.
12/14/05 09:58:51 ANS2820E An interrupt has occurred. The current operation will end and the
client will shut down.
12/14/05 10:10:55 ANS2820E An interrupt has occurred. The current operation will end and the
client will shut down.
12/14/05 10:12:47 ANS1909E The scheduled command failed.
12/14/05 10:12:47 ANS1512E Scheduled event 'TEST' failed. Return code = 1.
12/14/05 10:13:06 ANS2820E An interrupt has occurred. The current operation will end and the
client will shut down.
12/14/05 10:24:12 ANS2820E An interrupt has occurred. The current operation will end and the
2005-12-15 20:00
charly
RMAN的增量备份必须处与归档模式的。看你好像是非归档模式的,因为你没有Open数据库。
2005-12-17 13:11
wildhorse
他同tsm+rman,应该就起归档了。
requested file not found in media management catalog这个提示我想可能是catalog库里面的信息没有db_FSGL_157_1_577041088文件信息。用tsm for oracle模块下的tdposync命令查看下,保持tsm服务器和rman目录信息的一致。
2005-12-23 11:00
tonyada
谢谢大家的解答!上次tsm的问题回去有测试了一下基本解决了。但是现在比较奇怪的的问题是:0级备份的时候只能使用1-2个通道,但是1级备份的时候就只能使用4-5个通道,否则就会失败,不明白是什么道理!正在找呢^_^
就是这个通道:allocate channel t1 type 'sbt_tape' parms
2005-12-23 17:09
onlyq
请问楼主 我用tsm 和rman备份的时候出现
下面这个错误 但是直接用rman备份到硬盘设备类型为disk就不会出错
这个问题怎么解决呢
谢谢楼主~
ORA-19554: 配置设备时出错,设备类型: SBT_TAPE, 设备名称:
ORA-19557: 设备错误, 设备类型: SBT_TAPE, 设备名称:
ORA-27000: skgfqsbi: 无法初始化存储子系统 (SBT) 层
OSD-02512: Message 2512 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 7011) 调制解调器没有接受发送给它的指令。验证配置的调制解调器与连
接的调制解调器是否匹配。
ORA-19511: 从介质管理器层接收到错误, 错误文本为:
SBT error = 7011, errno = 2512, sbtopen: system error
ORA-06512: 在"SYS.X$DBMS_BACKUP_RESTORE
RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.DEVICEALLOCATE
2005-12-23 21:50
wildhorse
楼上的,你做的配置没有做齐全,赶紧检查吧。
2005-12-24 10:57
orian
小马,tsm高手啊!过几天我也要装tsm了,5年前经验,早过时了,到时候向你请教啊!
2005-12-24 14:03
darkbug
tsm53有点变态的,isc+ac+tsm方式慢的要死,orain老大有得玩了
2005-12-24 19:05
wildhorse
[quote]原帖由 [i]orian[/i] 于 2005-12-24 10:57 发表
小马,tsm高手啊!过几天我也要装tsm了,5年前经验,早过时了,到时候向你请教啊! [/quote]
晕。这软件对您来说很简单的哟。
2005-12-24 19:07
wildhorse
[quote]原帖由 [i]darkbug[/i] 于 2005-12-24 14:03 发表
tsm53有点变态的,isc+ac+tsm方式慢的要死,orain老大有得玩了 [/quote]
不要装isc和ac。直接装tsm,然后加载web管理接口给用户用。
isc就是你给一缸水,它只取一瓢用。。。
超级浪费资源。。。
2005-12-24 20:05
darkbug
[quote]原帖由 [i]wildhorse[/i] 于 2005-12-24 19:07 发表
不要装isc和ac。直接装tsm,然后加载web管理接口给用户用。
isc就是你给一缸水,它只取一瓢用。。。
超级浪费资源。。。 [/quote]
用户要干才行:'(
2005-12-24 20:59
wildhorse
isc,嘿嘿。
在win上,用远程终端连接过去,闪不坏客户的眼睛我就不信咯。:lol
2005-12-25 13:14
orian
我准备给它们装5.2哈哈!
2005-12-25 22:56
毛毛兔
还是5.2的用起来顺手啊
2005-12-26 12:48
wildhorse
装5.3 server+5.2的web admin idl。。。
哈哈。。。
2005-12-26 13:52
darkbug
偷工减料呀:lol
2005-12-26 20:32
wildhorse
精简精简,符合趋势。。。;P
2005-12-26 21:56
毛毛兔
客户九成不会答应这么干,现在客户精着呢
2007-1-12 14:37
busyfan
楼主不意思啊,只说问题解决了,却不说怎么解决的,也不把方法给大家贴出来:L
页:
[1]
Powered by Discuz! Archiver 5.5.0
© 2001-2006 Comsenz Inc.