LoveUnix » 备份软件 » TSM备份故障紧急求助,请高手援手(已经解决)
让LU留住您的每

一天 让LU博客留住您的每一天
2006-3-15 10:51 zhouyu007
TSM备份故障紧急求助,请高手援手(已经解决)

Session established with server TSM: AIX-RS/6000
Server Version 5, Release 1, Level 0.0
Server date/time: 03/14/06   16:00:36  Last access: 03/09/06   12:00:48


tsm: TSM>q path

Source Name     Source Type     Destination     Destination     On-Line
                               Name            Type            
-----------     -----------     -----------     -----------     -------
TSM             SERVER          AUTOLIB         LIBRARY         Yes   
TSM             SERVER          DRIVE01         DRIVE           No   



执行备份脚本
Recovery Manager: Release 8.1.7.0.0 - Production

RMAN-06005: connected to target database: xxxxxx (DBID=3228389163)
RMAN-06008: connected to recovery catalog database

RMAN> run {
2>    allocate channel xxxxxx8 type 'sbt_tape' parms
3> 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)'
4>         connect 'internal/manager@xxxxxx1';
5>    sql 'alter system archive log current';
6>    backup
7>     format 'arch_t%t_s%s_p%p'
8>     (archivelog
9>     like '/archive1/arch_1_%.arc'
10>     delete input);
11> }
12>
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: xxxxxx8
RMAN-08500: channel xxxxxx8: sid=228 devtype=SBT_TAPE
RMAN-08526: channel xxxxxx8: Tivoli Data Protection for Oracle: version 2.2.1.0

RMAN-03022: compiling command: sql
RMAN-06162: sql statement: alter system archive log current
RMAN-03023: executing command: sql

RMAN-03022: compiling command: backup
RMAN-03025: performing implicit partial resync of recovery catalog
RMAN-03023: executing command: partial resync
RMAN-08003: starting partial resync of recovery catalog
RMAN-08005: partial resync complete
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: xxxxxx8
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: backup
RMAN-06089: archived log /archive1/arch_1_21574.arc not found or out of sync with catalog

Recovery Manager complete.

[[i] 本帖最后由 zhouyu007 于 2006-3-17 15:02 编辑 [/i]]

2006-3-15 10:57 zhouyu007
我做的动作是,3583带库重起,发现driver01还是off-line状态,坛子里有人遇到过这种情况吗

2006-3-15 12:04 wildhorse
先把drv update到online状态,然后再看你的备份情况。

2006-3-15 13:11 zhouyu007
现象很奇怪
tsm: TSM>q drive
Session established with server TSM: AIX-RS/6000
  Server Version 5, Release 1, Level 0.0
  Server date/time: 03/15/06   13:17:51  Last access: 03/15/06   12:51:06


Library Name     Drive Name       Device Type     On-Line            
------------     ------------     -----------     -------------------
AUTOLIB          DRIVE01          LTO             Yes               

tsm: TSM>update drive autolib drive01 online=yes
ANR8467I Drive DRIVE01 in library AUTOLIB updated.

tsm: TSM>q path

Source Name     Source Type     Destination     Destination     On-Line
                                Name            Type            
-----------     -----------     -----------     -----------     -------
TSM             SERVER          AUTOLIB         LIBRARY         Yes   
TSM             SERVER          DRIVE01         DRIVE           No     

从q path看到的还是 on-line= no

2006-3-15 14:59 jiangxh
1,pls check your tape library at os.lsdev -Cc tape
2,maybe you can upgrade tsm software.your version is too old!

2006-3-15 15:23 zhouyu007
thanks all,I'will try again

2006-3-15 15:53 fenglimian
你把path再update到online=yes呢?

2006-3-15 20:32 ibm6000
drive和path都要改

2006-3-17 15:01 zhouyu007
[quote]原帖由 [i]ibm6000[/i] 于 2006-3-15 20:32 发表
drive和path都要改 [/quote]
不错,只是update 了drive不行的,一定要update path,多谢,已经解决了。


tsm: TSM>update path tsm drive01 srct=server destt=drive libr=autolib online=yes
ANR1722I A path from TSM to AUTOLIB DRIVE01 has been updated.

tsm: TSM>q path

Source Name     Source Type     Destination     Destination     On-Line
                                Name            Type            
-----------     -----------     -----------     -----------     -------
TSM             SERVER          AUTOLIB         LIBRARY         Yes   
TSM             SERVER          DRIVE01         DRIVE           Yes

2006-3-17 19:12 wildhorse
俺回答错了。:L
俺没考虑到把drv和path是一对的关系说出来。:'(

2006-3-17 22:08 lzolder
不错呀zhouyu007都有TSM玩了

2006-3-18 15:23 wildhorse
[quote]原帖由 [i]lzolder[/i] 于 2006-3-17 22:08 发表
不错呀zhouyu007都有TSM玩了 [/quote]
在本子上装就可以折腾了。:lu2:

2006-3-18 16:02 darkbug
[quote]原帖由 [i]wildhorse[/i] 于 2006-3-18 15:23 发表

在本子上装就可以折腾了。:lu2: [/quote]

文件设备玩起来没有成就感

把3584弄得叮叮咣咣才有动力呀

2006-3-18 17:04 wildhorse
晕,我现在连看的勇气都没有了。实在是噪音。。。

2006-3-21 14:42 zhouyu007
[quote]原帖由 [i]wildhorse[/i] 于 2006-3-17 19:12 发表
俺回答错了。:L
俺没考虑到把drv和path是一对的关系说出来。:'( [/quote]
呵呵,没关系,还是多谢你,热心肠啊

2006-3-21 14:43 zhouyu007
[quote]原帖由 [i]lzolder[/i] 于 2006-3-17 22:08 发表
不错呀zhouyu007都有TSM玩了 [/quote]
没办法啊,兄弟,都是赶鸭子上架的事情,自学中~~(能否成材就不一定了,嘿嘿)

页: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.