北京快三开奖

  • <tr id="U9YkSO"><strong id="U9YkSO"></strong><small id="U9YkSO"></small><button id="U9YkSO"></button><li id="U9YkSO"><noscript id="U9YkSO"><big id="U9YkSO"></big><dt id="U9YkSO"></dt></noscript></li></tr><ol id="U9YkSO"><option id="U9YkSO"><table id="U9YkSO"><blockquote id="U9YkSO"><tbody id="U9YkSO"></tbody></blockquote></table></option></ol><u id="U9YkSO"></u><kbd id="U9YkSO"><kbd id="U9YkSO"></kbd></kbd>

    <code id="U9YkSO"><strong id="U9YkSO"></strong></code>

    <fieldset id="U9YkSO"></fieldset>
          <span id="U9YkSO"></span>

              <ins id="U9YkSO"></ins>
              <acronym id="U9YkSO"><em id="U9YkSO"></em><td id="U9YkSO"><div id="U9YkSO"></div></td></acronym><address id="U9YkSO"><big id="U9YkSO"><big id="U9YkSO"></big><legend id="U9YkSO"></legend></big></address>

              <i id="U9YkSO"><div id="U9YkSO"><ins id="U9YkSO"></ins></div></i>
              <i id="U9YkSO"></i>
            1. <dl id="U9YkSO"></dl>
              1. <blockquote id="U9YkSO"><q id="U9YkSO"><noscript id="U9YkSO"></noscript><dt id="U9YkSO"></dt></q></blockquote><noframes id="U9YkSO"><i id="U9YkSO"></i>
                企业空间 推销商城 存储论坛
                北京快三开奖全闪存阵列 IBM云盘算 Acronis 安克诺斯 安腾普 腾保数据
                首页 > 技能园地 > 备份/规复 > 注释

                TSM 5.5下Vistor假造带库的设置装备摆设(Linux情况)

                2011-08-05 16:03泉源:中国存储网
                导读:引见Vistor假造带库在TSM5.5+Linux情况下的装置设置装备摆设,TSM设置装备摆设vistor假造带库的机器臂及驱动器,TSM备份数据向Vistor写入的查验。

                一、Vistor假造带库软件的下载获取及注册和设置装备摆设,可以下载附件pdf完全版《VISTOR + TSM 5.5 设置装备摆设指南》,也可参考《Vistor假造带库装置及设置装备摆设图文详解》一文,

                二、TSM备份软件的装置

                三、TSM下Vistor假造带库软件的设置装备摆设

                这一步很紧张,TSM 和vistor 能不克不及共同好,就在这一步了。

                1. 检查vistor 装置后,在linux 零碎中能否能认到,假如认不到,重新来装一次vistor,换其他的磁带库啊,驱动器啊,多试频频就行了。

                [root@oracle vistor]# cat /proc/scsi/scsi

                Attached devices:
                Host: scsi0 Channel: 00 Id: 00 Lun: 00
                Vendor: VMware, Model: VMware Virtual S Rev: 1.0
                Type: Direct-Access ANSI SCSI revision: 02
                Host: scsi0 Channel: 00 Id: 01 Lun: 00
                Vendor: VMware, Model: VMware Virtual S Rev: 1.0
                Type: Direct-Access ANSI SCSI revision: 02
                Host: scsi0 Channel: 00 Id: 02 Lun: 00
                Vendor: VMware, Model: VMware Virtual S Rev: 1.0
                Type: Direct-Access ANSI SCSI revision: 02
                Host: scsi1 Channel: 00 Id: 00 Lun: 00
                Vendor: QUANTUM Model: Scalar i500 Rev: 1.00
                Type: Medium Changer ANSI SCSI revision: 03
                Host: scsi1 Channel: 00 Id: 01 Lun: 00
                Vendor: HP Model: Ultrium 2-SCSI Rev: 1.00
                Type: Sequential-Access ANSI SCSI revision: 03
                Host: scsi1 Channel: 00 Id: 02 Lun: 00
                Vendor: HP Model: Ultrium 2-SCSI Rev: 1.00
                Type: Sequential-Access ANSI SCSI revision: 03
                Host: scsi1 Channel: 00 Id: 03 Lun: 00
                Vendor: HP Model: Ultrium 2-SCSI Rev: 1.00
                Type: Sequential-Access ANSI SCSI revision: 03
                Host: scsi1 Channel: 00 Id: 04 Lun: 00
                Vendor: HP Model: Ultrium 2-SCSI Rev: 1.00
                Type: Sequential-Access ANSI SCSI revision: 03

                可以看到,从scsi1 起,有5 个设置装备摆设,一个是QUANTUM Scalar i500,属于Medium Changer。四个是HP Ultrium 2-SCSI,属于Sequential-Access。到此,可以确信,在linux 零碎层面,可以认到vistor 假造出来的1 个机器臂及4 个驱动器了。

                2. 装置IBM 的驱动

                在装置TSM server 的时分,有个TIVsm–tsmscsi–5.5.0-0-i386.rpm 的包,这个包必需装置,装完后,在/opt/Tivoli/tsm/上面,会有devices 目次。出来后,有上面这些工具。

                [root@oracle bin]# ls

                README.htm kill.acs_ssi local_device mttest rc.acs_ssi t_parent
                autoconf lb.conf.smp mini_el op.conf.smp sg_device trace_decode
                ddinfo lbtest mt.conf.smp optest ssi tsmscsi

                [root@oracle bin]# pwd

                /opt/tivoli/tsm/devices/bin

                3. 运转./autoconf , 来设置装备摆设磁带库以及磁带机, 这里会做一系列的举措, 天生/dev/tsmscsi/mt* /dev/tsmscsi/lb* 这些链接之类的工具:

                [root@oracle bin]# ls -l /dev/tsmscsi/
                total 8
                lrwxrwxrwx 1 root root 8 May 6 02:48 lb0 -> /dev/sg3
                -rw-r--r-- 1 root root 181 May 6 02:48 lbinfo
                lrwxrwxrwx 1 root root 8 May 6 02:48 mt0 -> /dev/sg4
                lrwxrwxrwx 1 root root 8 May 6 02:48 mt1 -> /dev/sg5
                lrwxrwxrwx 1 root root 8 May 6 02:48 mt2 -> /dev/sg6
                lrwxrwxrwx 1 root root 8 May 6 02:48 mt3 -> /dev/sg7
                -rw-r--r-- 1 root root 442 May 6 02:48 mtinfo

                假如在这一步,发明没有如上的这些工具,或许只要lb,那么最好重新装vistor,选择其他范例的磁带臂或许驱动器。
                假如这一步乐成,那么就阐明TSM 可以认失掉vistor 假造出来的机器臂及驱动器了。

                4. TSM 中设置装备摆设vistor 磁带库中的设置装备摆设

                进入/opt/tivoli/tsm/client/ba/bin,运转dsmadmc –con,开一个音讯输入控制台。
                再运转dsmadmc,开一个下令行控制台,
                运用如下下令,界说一个设置装备摆设类,一个库,四个驱动器,以及对应的途径:
                DEFINE LIBRARY LIBRARY1 LIBTYPE=SCSI
                界说一个库,库范例SCSI,库称号library1.
                DEFINE PATH DONGGUA-TSM LIBRARY1 SRCTYPE=SERVER DESTTYPE=LIBRARY DEVICE=/dev/tsmscsi/lb0 ONLINE=YES
                界说这个库的途径,这里的DEVICE,运用/dev/tsmscsi/上面的lb0.不要运用/dev/sg3。
                DEFINE DRIVE LIBRARY1 DRIVE0 ELEMENT=2051
                DEFINE DRIVE LIBRARY1 DRIVE1 ELEMENT=2052
                DEFINE DRIVE LIBRARY1 DRIVE2 ELEMENT=2053
                DEFINE DRIVE LIBRARY1 DRIVE3 ELEMENT=2054
                界说四个驱动器,这外面的element 参数很费事,这个参数,有的库外面可以主动获取到,界说的时分就不需求这个参数了,但我选的这些假造设置装备摆设,主动获取不到,就需求我去寻觅了,运用如下办法来获取element 的值:

                [root@oracle bin]# pwd

                /opt/tivoli/tsm/client/ba/bin

                [root@oracle bin]# dsmadmc

                ANS0102W Unable to open the message repository /opt/tivoli/tsm/client/ba/bin/zh_EN/dsmclientV3.cat. The American English
                repository will be used instead.
                IBM Tivoli Storage Manager
                Command Line Administrative Interface - Version 5, Release 5, Level 0.0
                (c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.

                Enter your user id: admin

                ANR0407I Session 61 started for administrator ADMIN (Linux86) (Tcp/Ip 192.168.72.130(57420)).
                Enter your password:

                Session established with server DONGGUA-TSM: Linux/i386
                Server Version 5, Release 5, Level 4.0
                Server date/time: 05/06/10 05:13:21 Last access: 05/06/10 04:24:17

                tsm: DONGGUA-TSM>show slots library1

                ANR2017I Administrator ADMIN issued command: show slots library1
                PVR slot information for library LIBRARY1.
                Library : LIBRARY1
                Product Id : Scalar i500
                Support module : 2
                Mount count : 0
                Drives : 4
                Slots : 32
                Changers : 1
                Import/Exports : 0
                Device : /dev/tsmscsi/lb0
                Drive 0, element 2051
                Drive 1, element 2052
                Drive 2, element 2053
                Drive 3, element 2054
                Changer 0, element 0
                Slot 0, status Allocated, element number 1, barcode present, barcode value <AD0001>, devT=ANY, mediaT=-1, elemT=ANY
                Slot 1, status Allocated, element number 2, barcode present, barcode value <AD0002>, devT=ANY, mediaT=-1, elemT=ANY
                Slot 2, status Allocated, element number 3, barcode present, barcode value <AD0003>, devT=ANY, mediaT=-1, elemT=ANY
                Slot 3, status Allocated, element number 4, barcode present, barcode value <AD0004>, devT=ANY, mediaT=-1, elemT=ANY
                slot element range 1 – 32

                下面白色标注的那一块,很清晰的表现了element 的值。

                这种办法,需求先界说好库,也便是机器臂,然后才干查到库中drive 的值。别的另有一种运用ibmtapeutil 东西来获取的
                办法,不表明了,各人上彀找吧。

                DEFINE PATH DONGGUA-TSM DRIVE0 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=LIBRARY1 DEVICE=/dev/tsmscsi/mt0
                UnRegistered
                ONLINE=YES
                DEFINE PATH DONGGUA-TSM DRIVE1 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=LIBRARY1 DEVICE=/dev/tsmscsi/mt1
                ONLINE=YES
                DEFINE PATH DONGGUA-TSM DRIVE2 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=LIBRARY1 DEVICE=/dev/tsmscsi/mt2
                ONLINE=YES
                DEFINE PATH DONGGUA-TSM DRIVE3 SRCTYPE=SERVER DESTTYPE=DRIVE LIBRARY=LIBRARY1 DEVICE=/dev/tsmscsi/mt3
                ONLINE=YES

                界说好了4 个驱动器后,界说它们的PATH,device 异样要运用/dev/tsmscsi/mt*

                DEFINE DEVCLASS HPLTO2 DEVTYPE=LTO FORMAT=ULTRIUM2C ESTCAPACITY=1048576K LIBRARY=LIBRARY1

                界说一个设置装备摆设类,名字叫hplto2,设置装备摆设范例是lto,款式是ULTRIUM2C,估量每盘磁带的容量为1G,对应的库的称号是library1.这里的款式,可以在TSM 的下令手册外面查到。原本,lto2 的容量应该是200G/400G,但是我这是测试,并且没有那么大的空间,在装置VISTOR 的时分,就选择了每盘磁带1G,以是这里的估量容量就写了1G,写多了没用,写少了有些统计信息禁绝。

                def stg dongpool hplto2 maxscr=4
                界说一个存储池,名字叫dongpool,对应的设置装备摆设类是hplto2,最多运用4 个暂时卷。

                Upd stg BACKUPPOOL nextpool=dongpool
                更新零碎中的backuppool 这个存储池,将它的下一级存储池指向方才我界说的dongpool.

                Label 磁带及磁带的检入检出
                label libv library1 search=yes voll=ad0006 labels=barcode overwrite=yes checkin=scr waitt=0
                label 一个卷,卷称号ad0006,从标签来读取这个磁带的称号,掩盖,并作为暂时磁带检入磁带库,不等候拔出举措。

                这里,有几种label 的办法,各人用vistor + tsm 的时分,每每就在这里报错了,卡住了,停止不下去了,以是说这里是个要害点,我得表明清晰一点。

                第一种办法

                先来看下令字数最少的一种label 办法:

                label libv library1 ad0007

                输出这个下令后,提示如下:
                ANR0984I Process 36 for LABEL LIBVOLUME started in the BACKGROUND at 05:33:47AM.
                ANR8799I LABEL LIBVOLUME: Operation for library LIBRARY1 started as process 36.ANS8003I Process number 36 started.
                ANR8306I 014: Insert LTO volume AD0007 R/W into the slot with element number 9 of library LIBRARY1 within 60 minutes; issue
                'REPLY' along with the request ID when ready.

                这里,表现label 举措曾经在背景开端,而且提示你将AD0007 这盘磁带拔出到9 号槽(slot with element number 9),而且在拔出完成后,收回reply 下令来通知TSM 你拔出完成了。

                要记着ANR8306I 014: Insert LTO volume AD0007 R 这里的014 这个恳求号码,等会要用到。

                这时分,进到vistor 的WEB 界面,点击“办理磁带库”,到了如下界面:

                TSM 5.5下Vistor假造带库的设置装备摆设(Linux情况)

                在这个画面,先点击右上角谁人STOP 图标,使磁带库脱机,然后选择AD0007 这一盘带子,点击挪动,将它挪动到9 号
                槽,如下图:

                TSM 5.5下Vistor假造带库的设置装备摆设(Linux情况)

                挪动乐成后,再点击右上角的RUN 图标,使磁带库online。然后回到TSM 下令行,收回如下下令:

                tsm: DONGGUA-TSM>reply 014

                ANR2017I Administrator ADMIN issued command: REPLY 014
                ANR8499I Command accepted.

                这里的014 是在你收回label 下令时,提示的谁人恳求号码。
                这个reply 下令收回后,会有如下提示:
                ANR8810I Volume AD0007 has been labeled in library LIBRARY1.
                ANR8814I Remove volume AD0007 from slot element 9 of library LIBRARY1.
                ANR8800I LABEL LIBVOLUME for volume AD0007 in library LIBRARY1 completed successfully.
                ANR0985I Process 36 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 05:34:1
                AM.

                这就表现这盘磁带label 完成了,曾经打好了标志,磁带名叫AD0007 了。
                然后需求把这盘磁带checkin 到磁带库,便是检入,上面的下令需求和下面差未几的举措,留意红字,不表明:
                checkin libv library1 ad0007 stat=scr
                ANR2017I Administrator ADMIN issued command: CHECKIN LIBVOLUME library1 ad0007 stat=scr
                ANR0984I Process 37 for CHECKIN LIBVOLUME started in the BACKGROUND at 05:39:54 AM.
                ANR8422I CHECKIN LIBVOLUME: Operation for library LIBRARY1 started as process 37.
                ANS8003I Process number 37 started.
                ANR8306I 015: Insert LTO volume AD0007 R/W into the slot with element number 7 of library LIBRARY1 within 60 minutes; issu
                'REPLY' along with the request ID when ready.
                tsm: DONGGUA-TSM>reply 015
                ANR2017I Administrator ADMIN issued command: REPLY 015
                ANR8499I Command accepted.
                ANR8335I 015: Verifying label of LTO volume AD0007 in drive DRIVE0 (/dev/tsmscsi/mt0).
                ANR8328I 015: LTO volume AD0007 mounted in drive DRIVE0 (/dev/tsmscsi/mt0).
                ANR8427I CHECKIN LIBVOLUME for volume AD0007 in library LIBRARY1 completed successfully.
                ANR0985I Process 37 for CHECKIN LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at
                05:40:21 AM.

                检入乐成。

                第二种办法

                label libv library1 search=yes voll=ad0005,ad0006,ad0007 labels=barcode checkin=scr overwrite=yes waitt=0
                ANR2017I Administrator ADMIN issued command: LABEL LIBVOLUME library1 search=yes voll=ad0005,ad0006,ad0007 labels=b
                checkin=scr overwrite=yes waitt=0
                ANR0984I Process 41 for LABEL LIBVOLUME started in the BACKGROUND at 05:48:25 AM.
                ANR8799I LABEL LIBVOLUME: Operation for library LIBRARY1 started as process 41.ANS8003I Process number 41 started.
                ANR8810I Volume AD0005 has been labeled in library LIBRARY1.
                ANR8810I Volume AD0006 has been labeled in library LIBRARY1.
                ANR8810I Volume AD0007 has been labeled in library LIBRARY1.
                ANR8801I LABEL LIBVOLUME process 41 for library LIBRARY1 completed; 3 volume(s)labeled, 3 volume(s) checked-in.
                ANR0985I Process 41 for LABEL LIBVOLUME running in the BACKGROUND completed with completion state SUCCESS at 05:48:25
                AM.

                这里接纳搜刮的办法,以barcode 来搜刮ad0005,ad0006,ad0007 三盘磁带,并label 它们,然后检入到磁带库,使之成为暂时卷,不等候办理员放入磁带,间接开端。
                这里合适磁带曾经在磁带库外面的状况,就不需求收回reply 这个下令了,以是waittime 设置为0.

                这里的search 设置为yes,而不是bulk 是有缘由的,当设置为yes 时,会在磁带库外面查找磁带,设置为bulk 时,会在磁带库的IO 仓外面查找磁带。我假造出来的磁带库没有IO 仓,以是用YES 这个参数了。

                运用checkin=scr 参数,可以在label 之后,间接把磁带检入到磁带库,省一步举措。

                第三种办法

                label libvlibrary1 search=yes labels=barcode checkin=scr overwrite=yes waitt=0
                搜刮库中一切磁带,按barcode 编码来对磁带定名,并label 它,掩盖,检入为暂时卷,不等候。


                四、验证能否可以写入数据

                1. 界说一个节点
                Register node oracle donggua do=standard

                2. 在客户端收回备份下令,如下:
                /opt/Tivoli/tsm/client/ba/bin/dsmc s /u01/app/oracle/oradata/ -subdir=yes

                3. 在TSM 效劳器端验证能否写入乐成:
                tsm: DONGGUA-TSM>q vol
                ANR2017I Administrator ADMIN issued command: QUERY VOLUME
                Volume Name Storage Device Estimated Pct Volume
                Pool Name Class Name Capacity Util Status
                ------------------------ ----------- ---------- --------- ----- --------
                /opt/tivoli/tsm/server/- ARCHIVEPOOL DISK 5.0 M 0.0 On-Line
                bin/archive.dsm
                /opt/tivoli/tsm/server/- BACKUPPOOL DISK 10.0 M 76.1 On-Line
                bin/backup.dsm
                AD0001 DONGPOOL HPLTO2 856.7 M 100.0 Full
                AD0002 DONGPOOL HPLTO2 858.2 M 100.0 Full
                AD0003 DONGPOOL HPLTO2 856.5 M 100.0 Full
                AD0004 DONGPOOL HPLTO2 1.0 G 69.3 Filling

                4. 在vistor 的WEB 界面验证能否写入乐成:

                TSM 5.5下Vistor假造带库的设置装备摆设(Linux情况)
                写入乐成。

                作者简介:

                余冬冬

                2010-5-6
                Donggua0713@126.com
                QQ:262870803
                持续阅读
                要害词 :
                vistor tsm
                中国存储网声明:此文观念不代表本站态度,若有版权疑问请联络我们。
                相干阅读
                产物引荐
                头条阅读
                栏目热门

                Copyright @ 2006-2019 ChinaStor.COM 版权一切 京ICP备14047533号

                中国存储网

                存储第一站,存储流派,存储在线交换平台