LoveUnix » 备份软件 » 有人成功过TSM+vistor虚拟带库么?
让LU留住您的每

一天 让LU博客留住您的每一天
2008-3-4 16:09 jiecho
有人成功过TSM+vistor虚拟带库么?

从[url]http://www.cofio.com/download/index.php[/url]下到试用版的虚拟带库软件,在linux安装用scsi或者iscsi模式都没有问题,都可以用tar往虚拟带库上备,但是就是不能和tsm结合,搞了好几天都没有搞定,都是因为没法定义path,出现如下错误:
tsm: SERVER1>define path server1 dr0 srctype=server desttype=drive library=testlib device=/dev/st0 online=yes
ANR8420E DEFINE PATH: An I/O error occurred while accessing drive dr0.
ANS8001I Return code 15.
查了一下好像vistor不支持tsm,支持nbu啥的,同学们有什么高招么?有人有成功过的么?
或者没有带库如何学tsm呢?

[[i] 本帖最后由 jiecho 于 2008-3-4 16:13 编辑 [/i]]

2008-3-5 20:56 ibm-lxy
存储池里的卷都是磁盘,一样用。

2008-3-5 20:56 ibm-lxy
-------------------------------------------------------------------------------

ANR8420E Command: An I/O error occurred while accessing drive drive name.

Explanation: An I/O error occurs while accessing the specified drive.

System Action: The operation fails.

User Response: Ensure that the DEVICE parameter associated with the drive is
identified correctly in the DEFINE PATH command, and that the drive is
currently powered on and ready. After checking and correcting these
potential problems, retry the command.

2008-8-14 20:29 wolf_of_north
rhel 4.5下,不是device=/dev/st0,而是device=/dev/sg1,1为st0的sg序号

或者
装tsm server时,安装device utility,运行/opt/tivoli/tsm/devices/bin/autoconf之前:
[root@server1 ViStor]# lsscsi -g
[0:0:0:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sda  /dev/sg0
[1:0:0:0]    mediumx STK      9730             1.00  -         /dev/sg2
[2:0:0:0]    tape    HP       Ultrium 1-SCSI   1.00  /dev/st0  /dev/sg1

运行/opt/tivoli/tsm/devices/bin/autoconf之后:
[root@server1 ViStor]# /opt/tivoli/tsm/devices/bin/autoconf

Tivoli Tape Drives:
===================
Index Minor Host CHN ID  LUN Type Vendor_ID Device_Serial_Number Product_ID       Rev.
000   001   002  000 000 000 001  HP        SER-000001           Ultrium 1-SCSI   1.00


Tivoli Medium Changer Devices:
==============================
Index Minor Host CHN ID  LUN Type Vendor_ID Device_Serial_Number Product_ID       Rev.
000   002   001  000 000 000 008  STK       SER-000000           9730             1.00

[root@server1 ViStor]# lsscsi -g
[0:0:0:0]    disk    VMware,  VMware Virtual S 1.0   /dev/sda  /dev/sg0
[1:0:0:0]    mediumx STK      9730             1.00  -         /dev/sg2
[2:0:0:0]    tape    HP       Ultrium 1-SCSI   1.00  -         /dev/sg1

[root@server1 ViStor]# ls -l /dev/tsmscsi -g
total 8
lrwxrwxrwx  1 root   8 Aug  3 22:47 lb0 -> /dev/sg2
-rw-r--r--  1 root 175 Aug  3 22:47 lbinfo
lrwxrwxrwx  1 root   8 Aug  3 22:47 mt0 -> /dev/sg1
-rw-r--r--  1 root 175 Aug  3 22:47 mtinfo

/dev/tsmscsi/lb0为changer,/dev/tsmscsi/mt0为drive,在tsm中应用这两个设备来定义磁带库与磁带机
我已经做到了定义磁带库及路径、磁带机及路径的正常设置,同时,可以label磁带设备
在做backup db devclass=“磁带设备类” type=full时,磁带能从slot中装载到磁带机中(用vistor web管理界面监控),但随即process挂起
TSM:SERVER1>
q process
ANR2017I Administrator SERVER_CONSOLE issued command: QUERY PROCESS

Process     Process Description      Status                                          
  Number                              
--------     --------------------     -------------------------------------------------
       3     Database Backup          Full backup: 128 pages of 708 backed up. Current
                                       output volume: AB0001.
每次都是停在128 pages 处

在vistor服务器端cat /usr/cofio/log/vistorlog.4867
TAPEWARNING - 1217775768:101096352:4372 Un-supported Pcode: 0x00
TAPEWARNING - 1217775769:101096352:4372 Un-supported Pcode: 0x00
ERROR: TAPEERROR - 1217775769:101096352:5107   Hit EOD Fmark
TAPEWARNING - 1217775769:101096352:4372 Un-supported Pcode: 0x00
TAPEWARNING - 1217775770:101096352:4372 Un-supported Pcode: 0x00
ERROR: TAPEERROR - 1217775770:101096352:5107   Hit EOD Fmark
TAPEWARNING - 1217775790:101096352:4372 Un-supported Pcode: 0x00
TAPEWARNING - 1217775791:101096352:4372 Un-supported Pcode: 0x00
TAPEWARNING - 1217775791:101096352:4372 Un-supported Pcode: 0x00

说明vistor有不能支持的操作
可能与磁带机的设备类型或磁带的配置有关系

[[i] 本帖最后由 wolf_of_north 于 2008-8-14 20:55 编辑 [/i]]

2008-8-15 15:03 qian1110
lz不错


有可能不支持

建议打800问问

2008-8-29 16:52 leirenyuan
vistor不支持TSM

2008-9-1 00:31 qian1110
关键看vistor能虚拟出什么带库出来


如果能虚拟出ibm支持的,应该是问题的

页: [1]


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