• library满(磁带紊乱、虚拟机恢复失败)


    场景(虚拟带库):
    1>有磁带权限变成不可用(q vol acc=unavai)
    2>手动将不可用的磁带,更新为可读写(update vol A00888 acc=readw)
    3>当对以前的虚拟机进行恢复时,可以发现磁带A00888被调用,但是无法被驱动器挂载
    4>超时后,报错:library is full,虚拟机恢复失败
    5>对带库进行审计,进程卡住(audit libv dxi7500lib checkl=y refresh=y)
    6>后续的备份任务会失败。


    1、停止备份作业
    将备份作业延期执行

    update sche oradomain JOB-ZJFX-ARCH-RMAN-D startdate=04/25/2018
    update sche filedomain JOB-WEBCMS15-FILE-D startdate=04/25/2018

    update sche vmdomain JOB-VMBAK02-D startdate=04/25/2018
    update sche vmdomain JOB-VMBAK07-D startdate=04/25/2018
    update sche vmdomain JOB-VMBAK05-D startdate=04/25/2018
    update sche vmdomain JOB-VMBAK04-D startdate=04/25/2018

    update sche oradomain JJOB-ZJFX-LEV1-RMAN-D startdate=04/25/2018
    update sche filedomain JOB-BJHWEBTS-FILE-D startdate=04/25/2018
    update sche filedomain JOB-WWXFZTS-FILE-D startdate=04/25/2018


    update sche filedomain JOB-CALLDB-FILE-D startdate=04/25/2018
    update sche filedomain JOB-WEBSPGL-FILE-D startdate=04/25/2018
    update sche vmdomain JOB-VMBAK06-D startdate=04/25/2018

    update sche filedomain JOB-WEBMEITI-FILE-D startdate=04/25/2018
    update sche vmdomain JOB-VMBAK01-D startdate=04/25/2018
    update sche filedomain JOB-XZSPDB-FILE-D startdate=04/25/2018
    update sche filedomain JOB-WEBDB1-FILE-D startdate=04/25/2018
    update sche vmdomain JOB-VMBAK03-D startdate=04/25/2018
    update sche oradomain JOB-ZBGL-LEV1-RMAN-D startdate=04/25/2018


    将导致该作业,之前执行的事件日志丢失(q event * * ),可以考虑其它方式。

    当前的备份将不会执行,由于之前备份到虚拟机带库,现在可以将备份数据写入到物理带库

    新建物理存储池:
    def stgpool i500pool-f tapedev maxscra=80 collo=no
    def stgpool i500pool-r tapedev maxscra=80 collo=no
    def stgpool i500pool-v tapedev maxscra=80 collo=no

    def stgpool i500naspool tapedev maxscra=80 collo=no
    def stgpool i500pool-s tapedev maxscra=80 collo=no

    更新存储池:
    tapepool-file I500POOL-F
    tapepool-rman I500POOL-r
    tapepool-vm I500POOL-v
    naspool i500naspool
    tapepool-sql i500pool-s

    20180424切换新存储池
    update copygroup filedomain standard STANDARD STANDARD destination=I500POOL-F
    update copygroup filedomain standard STANDARD STANDARD type=archive destination=I500POOL-F

    update copygroup oradomain standard STANDARD STANDARD destination=I500POOL-r
    update copygroup oradomain standard STANDARD STANDARD type=archive destination=I500POOL-r

    update copygroup vmdomain standard MCLANFREE STANDARD destination=I500POOL-v
    update copygroup vmdomain standard MCLANFREE STANDARD type=archive destination=I500POOL-v

    20180425
    update copygroup nasbackup standard STANDARD STANDARD destination=I500nasPOOL
    update copygroup nasbackup standard STANDARD STANDARD type=archive destination=I500nasPOOL

    20180426
    update copygroup sqldomain standard STANDARD STANDARD destination=I500POOL-s
    update copygroup sqldomain standard STANDARD STANDARD type=archive destination=I500POOL-s

    update copygroup FCM_PDSQL standard STANDARD STANDARD destination=I500POOL-s

    激活domain
    activate policyset filedomain standard
    activate policyset oradomain standard
    activate policyset vmdomain standard
    activate policyset nasbackup standard

    activate policyset sqldomain standard
    activate policyset FCM_PDSQL standard

    手动执行全备,保存当天数据。

    2、重启虚拟机带库(半小时)

    3、删除drive、path
    del path tnode-nasnode01 DRIVE00 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode01 DRIVE01 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode01 DRIVE02 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode01 DRIVE03 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode01 DRIVE04 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode01 DRIVE05 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode01 DRIVE06 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode01 DRIVE07 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode01 DRIVE08 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode01 DRIVE09 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode01 DRIVE10 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode01 DRIVE11 srctype=datamover desttype=drive libr=DXI7500LIB

    del path tnode-nasnode02 DRIVE00 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode02 DRIVE01 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode02 DRIVE02 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode02 DRIVE03 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode02 DRIVE04 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode02 DRIVE05 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode02 DRIVE06 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode02 DRIVE07 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode02 DRIVE08 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode02 DRIVE09 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode02 DRIVE10 srctype=datamover desttype=drive libr=DXI7500LIB
    del path tnode-nasnode02 DRIVE11 srctype=datamover desttype=drive libr=DXI7500LIB

    del path vm_san drive00 srctype=server destt=drive library=dxi7500lib
    del path vm_san drive01 srctype=server destt=drive library=dxi7500lib
    del path vm_san drive02 srctype=server destt=drive library=dxi7500lib
    del path vm_san drive03 srctype=server destt=drive library=dxi7500lib
    del path vm_san drive04 srctype=server destt=drive library=dxi7500lib
    del path vm_san drive05 srctype=server destt=drive library=dxi7500lib
    del path vm_san drive06 srctype=server destt=drive library=dxi7500lib
    del path vm_san drive07 srctype=server destt=drive library=dxi7500lib
    del path vm_san drive08 srctype=server destt=drive library=dxi7500lib
    del path vm_san drive09 srctype=server destt=drive library=dxi7500lib
    del path vm_san drive10 srctype=server destt=drive library=dxi7500lib
    del path vm_san drive11 srctype=server destt=drive library=dxi7500lib

    del path INTERTSMSVR drive00 srctype=server desttype=drive library=dxi7500lib
    del path INTERTSMSVR drive01 srctype=server desttype=drive library=dxi7500lib
    del path INTERTSMSVR drive02 srctype=server desttype=drive library=dxi7500lib
    del path INTERTSMSVR drive03 srctype=server desttype=drive library=dxi7500lib
    del path INTERTSMSVR drive04 srctype=server desttype=drive library=dxi7500lib
    del path INTERTSMSVR drive05 srctype=server desttype=drive library=dxi7500lib
    del path INTERTSMSVR drive06 srctype=server desttype=drive library=dxi7500lib
    del path INTERTSMSVR drive07 srctype=server desttype=drive library=dxi7500lib
    del path INTERTSMSVR drive08 srctype=server desttype=drive library=dxi7500lib
    del path INTERTSMSVR drive09 srctype=server desttype=drive library=dxi7500lib
    del path INTERTSMSVR drive10 srctype=server desttype=drive library=dxi7500lib
    del path INTERTSMSVR drive11 srctype=server desttype=drive library=dxi7500lib


    del path INTERTSMSVR drive20 srctype=server desttype=drive library=i500lib
    del path INTERTSMSVR drive21 srctype=server desttype=drive library=i500lib


    del path intertsmsvr dxi7500lib srctype=server desttype=library
    del path intertsmsvr i500lib srctype=server desttype=library


    del drive DXI7500LIB DRIVE00
    del drive DXI7500LIB DRIVE01
    del drive DXI7500LIB DRIVE02
    del drive DXI7500LIB DRIVE03
    del drive DXI7500LIB DRIVE04
    del drive DXI7500LIB DRIVE05
    del drive DXI7500LIB DRIVE06
    del drive DXI7500LIB DRIVE07
    del drive DXI7500LIB DRIVE08
    del drive DXI7500LIB DRIVE09
    del drive DXI7500LIB DRIVE10
    del drive DXI7500LIB DRIVE11


    del drive I500LIB DRIVE20
    del drive I500LIB DRIVE21

    update libr dxi7500lib ser=autod

    update libr I500LIB ser=autod


    4、重启TSM服务器

    5、重建drive、path

    定义drive
    define path intertsmsvr dxi7500lib srctype=server autod=yes desttype=library device=/dev/tsmscsi/lb0 online=yes
    define path intertsmsvr i500lib srctype=server autod=yes desttype=library device=/dev/tsmscsi/lb1 online=yes

    define drive dxi7500lib drive00 serial=autodetect online=yes element=autodetect
    define drive dxi7500lib drive01 serial=autodetect online=yes element=autodetect
    define drive dxi7500lib drive02 serial=autodetect online=yes element=autodetect
    define drive dxi7500lib drive03 serial=autodetect online=yes element=autodetect
    define drive dxi7500lib drive04 serial=autodetect online=yes element=autodetect
    define drive dxi7500lib drive05 serial=autodetect online=yes element=autodetect
    define drive dxi7500lib drive06 serial=autodetect online=yes element=autodetect
    define drive dxi7500lib drive07 serial=autodetect online=yes element=autodetect
    define drive dxi7500lib drive08 serial=autodetect online=yes element=autodetect
    define drive dxi7500lib drive09 serial=autodetect online=yes element=autodetect
    define drive dxi7500lib drive10 serial=autodetect online=yes element=autodetect
    define drive dxi7500lib drive11 serial=autodetect online=yes element=autodetect

    define drive i500lib drive20 serial=autodetect online=yes element=autodetect
    define drive i500lib drive21 serial=autodetect online=yes element=autodetect

    定义path(/opt/tivoli/tsm/devices/bin/autoconf -a /dev/tsmscsi)
    define path INTERTSMSVR drive00 srctype=server desttype=drive library=dxi7500lib device=/dev/tsmscsi/mt0 online=yes
    define path INTERTSMSVR drive01 srctype=server desttype=drive library=dxi7500lib device=/dev/tsmscsi/mt1 online=yes
    define path INTERTSMSVR drive02 srctype=server desttype=drive library=dxi7500lib device=/dev/tsmscsi/mt2 online=yes
    define path INTERTSMSVR drive03 srctype=server desttype=drive library=dxi7500lib device=/dev/tsmscsi/mt3 online=yes
    define path INTERTSMSVR drive04 srctype=server desttype=drive library=dxi7500lib device=/dev/tsmscsi/mt4 online=yes
    define path INTERTSMSVR drive05 srctype=server desttype=drive library=dxi7500lib device=/dev/tsmscsi/mt5 online=yes
    define path INTERTSMSVR drive06 srctype=server desttype=drive library=dxi7500lib device=/dev/tsmscsi/mt6 online=yes
    define path INTERTSMSVR drive07 srctype=server desttype=drive library=dxi7500lib device=/dev/tsmscsi/mt7 online=yes
    define path INTERTSMSVR drive08 srctype=server desttype=drive library=dxi7500lib device=/dev/tsmscsi/mt8 online=yes
    define path INTERTSMSVR drive09 srctype=server desttype=drive library=dxi7500lib device=/dev/tsmscsi/mt9 online=yes
    define path INTERTSMSVR drive10 srctype=server desttype=drive library=dxi7500lib device=/dev/tsmscsi/mt10 online=yes
    define path INTERTSMSVR drive11 srctype=server desttype=drive library=dxi7500lib device=/dev/tsmscsi/mt11 online=yes

    ve查询
    def path vm_san drive00 srctype=server destt=drive library=dxi7500lib device=mt0.1.0.2 online=yes autod=yes
    def path vm_san drive01 srctype=server destt=drive library=dxi7500lib device=mt0.2.0.2 online=yes autod=yes
    def path vm_san drive02 srctype=server destt=drive library=dxi7500lib device=mt0.3.0.2 online=yes autod=yes
    def path vm_san drive03 srctype=server destt=drive library=dxi7500lib device=mt0.4.0.2 online=yes autod=yes
    def path vm_san drive04 srctype=server destt=drive library=dxi7500lib device=mt0.5.0.2 online=yes autod=yes
    def path vm_san drive05 srctype=server destt=drive library=dxi7500lib device=mt0.6.0.2 online=yes autod=yes
    def path vm_san drive06 srctype=server destt=drive library=dxi7500lib device=mt0.7.0.2 online=yes autod=yes
    def path vm_san drive07 srctype=server destt=drive library=dxi7500lib device=mt0.8.0.2 online=yes autod=yes
    def path vm_san drive08 srctype=server destt=drive library=dxi7500lib device=mt0.9.0.2 online=yes autod=yes
    def path vm_san drive09 srctype=server destt=drive library=dxi7500lib device=mt0.10.0.2 online=yes autod=yes
    def path vm_san drive10 srctype=server destt=drive library=dxi7500lib device=mt0.11.0.2 online=yes autod=yes
    def path vm_san drive11 srctype=server destt=drive library=dxi7500lib device=mt0.12.0.2 online=yes autod=yes


    nas179上:
    sysconfig -t 和sysconfig -a

    swd_2:20.126 Medium Changer: QUANTUM DXi7500 100A (VL001AV1506BVT00013 )
    swd_2:21.126 Tape: IBM LTO-6 ULTRIUM E6R0 (F3A2304004)
    swd_2:20.126L3 Tape: Hewlett-Packard LTO-5 I30Z (VD003AV1506BVT00013)
    swd_2:20.126L8 Tape: Hewlett-Packard LTO-5 I30Z (VD008AV1506BVT00013)
    swd_2:20.126L1 Tape: Hewlett-Packard LTO-5 I30Z (VD001AV1506BVT00013)
    swd_2:20.126L2 Tape: Hewlett-Packard LTO-5 I30Z (VD002AV1506BVT00013)
    swd_2:20.126L4 Tape: Hewlett-Packard LTO-5 I30Z (VD004AV1506BVT00013)
    swd_2:20.126L6 Tape: Hewlett-Packard LTO-5 I30Z (VD006AV1506BVT00013)
    swd_2:20.126L7 Tape: Hewlett-Packard LTO-5 I30Z (VD007AV1506BVT00013)
    swd_2:20.126L12 Tape: Hewlett-Packard LTO-5 I30Z (VD00CAV1506BVT00013)
    swd_2:20.126L11 Tape: Hewlett-Packard LTO-5 I30Z (VD00BAV1506BVT00013)
    swd_2:20.126L10 Tape: Hewlett-Packard LTO-5 I30Z (VD00AAV1506BVT00013)
    swd_2:20.126L5 Tape: Hewlett-Packard LTO-5 I30Z (VD005AV1506BVT00013)
    swd_2:20.126L9 Tape: Hewlett-Packard LTO-5 I30Z (VD009AV1506BVT00013)

    swd_2:20.126 Medium Changer: QUANTUM DXi7500 100A (VL001AV1506BVT00013 )
    swd_2:20.126L3 Tape: Hewlett-Packard LTO-5 I30Z (VD003AV1506BVT00013)
    swd_2:20.126L8 Tape: Hewlett-Packard LTO-5 I30Z (VD008AV1506BVT00013)
    swd_2:20.126L1 Tape: Hewlett-Packard LTO-5 I30Z (VD001AV1506BVT00013)
    swd_2:20.126L2 Tape: Hewlett-Packard LTO-5 I30Z (VD002AV1506BVT00013)
    swd_2:20.126L4 Tape: Hewlett-Packard LTO-5 I30Z (VD004AV1506BVT00013)
    swd_2:20.126L6 Tape: Hewlett-Packard LTO-5 I30Z (VD006AV1506BVT00013)
    swd_2:20.126L7 Tape: Hewlett-Packard LTO-5 I30Z (VD007AV1506BVT00013)
    swd_2:20.126L12 Tape: Hewlett-Packard LTO-5 I30Z (VD00CAV1506BVT00013)
    swd_2:20.126L11 Tape: Hewlett-Packard LTO-5 I30Z (VD00BAV1506BVT00013)
    swd_2:20.126L10 Tape: Hewlett-Packard LTO-5 I30Z (VD00AAV1506BVT00013)
    swd_2:20.126L5 Tape: Hewlett-Packard LTO-5 I30Z (VD005AV1506BVT00013)
    swd_2:20.126L9 Tape: Hewlett-Packard LTO-5 I30Z (VD009AV1506BVT00013)

    dri00 VD001AV1506BVT00013 swd_2:20.126L1 rst7h
    dri01 VD002AV1506BVT00013 swd_2:20.126L2 rst2h
    dri02 VD003AV1506BVT00013 swd_2:20.126L3 rst5h
    dri03 VD004AV1506BVT00013 swd_2:20.126L4 rst10h
    dri04 VD005AV1506BVT00013 swd_2:20.126L5 rst3h
    dri05 VD006AV1506BVT00013 swd_2:20.126L6 rst13h
    dri06 VD007AV1506BVT00013 swd_2:20.126L7 rst4h
    dri07 VD008AV1506BVT00013 swd_2:20.126L8 rst11h
    dri08 VD009AV1506BVT00013 swd_2:20.126L9 rst8h
    dri09 VD00AAV1506BVT00013 swd_2:20.126L10 rst12h
    dri10 VD00BAV1506BVT00013 swd_2:20.126L11 rst6h
    dri11 VD00CAV1506BVT00013 swd_2:20.126L12 rst9h

    define path tnode-nasnode01 drive00 srctype=datamover desttype=drive libr=dxi7500lib device=rst7h
    define path tnode-nasnode01 drive01 srctype=datamover desttype=drive libr=dxi7500lib device=rst2h
    define path tnode-nasnode01 drive02 srctype=datamover desttype=drive libr=dxi7500lib device=rst5h
    define path tnode-nasnode01 drive03 srctype=datamover desttype=drive libr=dxi7500lib device=rst10h
    define path tnode-nasnode01 drive04 srctype=datamover desttype=drive libr=dxi7500lib device=rst3h
    define path tnode-nasnode01 drive05 srctype=datamover desttype=drive libr=dxi7500lib device=rst13h
    define path tnode-nasnode01 drive06 srctype=datamover desttype=drive libr=dxi7500lib device=rst4h
    define path tnode-nasnode01 drive07 srctype=datamover desttype=drive libr=dxi7500lib device=rst11h
    define path tnode-nasnode01 drive08 srctype=datamover desttype=drive libr=dxi7500lib device=rst8h
    define path tnode-nasnode01 drive09 srctype=datamover desttype=drive libr=dxi7500lib device=rst12h
    define path tnode-nasnode01 drive10 srctype=datamover desttype=drive libr=dxi7500lib device=rst6h
    define path tnode-nasnode01 drive11 srctype=datamover desttype=drive libr=dxi7500lib device=rst9h


    nas180上:
    swd_2:20.126 Medium Changer: QUANTUM DXi7500 100A (VL001AV1506BVT00013 )
    swd_2:20.126L1 Tape: Hewlett-Packard LTO-5 I30Z (VD001AV1506BVT00013)
    swd_2:20.126L3 Tape: Hewlett-Packard LTO-5 I30Z (VD003AV1506BVT00013)
    swd_2:20.126L8 Tape: Hewlett-Packard LTO-5 I30Z (VD008AV1506BVT00013)
    swd_2:20.126L9 Tape: Hewlett-Packard LTO-5 I30Z (VD009AV1506BVT00013)
    swd_2:20.126L2 Tape: Hewlett-Packard LTO-5 I30Z (VD002AV1506BVT00013)
    swd_2:20.126L11 Tape: Hewlett-Packard LTO-5 I30Z (VD00BAV1506BVT00013)
    swd_2:20.126L10 Tape: Hewlett-Packard LTO-5 I30Z (VD00AAV1506BVT00013)
    swd_2:20.126L5 Tape: Hewlett-Packard LTO-5 I30Z (VD005AV1506BVT00013)
    swd_2:20.126L12 Tape: Hewlett-Packard LTO-5 I30Z (VD00CAV1506BVT00013)
    swd_2:20.126L7 Tape: Hewlett-Packard LTO-5 I30Z (VD007AV1506BVT00013)
    swd_2:20.126L6 Tape: Hewlett-Packard LTO-5 I30Z (VD006AV1506BVT00013)
    swd_2:20.126L4 Tape: Hewlett-Packard LTO-5 I30Z (VD004AV1506BVT00013)

    Switch Port: swd_2:23
    swd_2:20.126 Medium Changer: QUANTUM DXi7500 100A (VL001AV1506BVT00013 )
    swd_2:20.126L1 Tape: Hewlett-Packard LTO-5 I30Z (VD001AV1506BVT00013)
    swd_2:20.126L3 Tape: Hewlett-Packard LTO-5 I30Z (VD003AV1506BVT00013)
    swd_2:20.126L8 Tape: Hewlett-Packard LTO-5 I30Z (VD008AV1506BVT00013)
    swd_2:20.126L9 Tape: Hewlett-Packard LTO-5 I30Z (VD009AV1506BVT00013)
    swd_2:20.126L2 Tape: Hewlett-Packard LTO-5 I30Z (VD002AV1506BVT00013)
    swd_2:20.126L11 Tape: Hewlett-Packard LTO-5 I30Z (VD00BAV1506BVT00013)
    swd_2:20.126L10 Tape: Hewlett-Packard LTO-5 I30Z (VD00AAV1506BVT00013)
    swd_2:20.126L5 Tape: Hewlett-Packard LTO-5 I30Z (VD005AV1506BVT00013)
    swd_2:20.126L12 Tape: Hewlett-Packard LTO-5 I30Z (VD00CAV1506BVT00013)
    swd_2:20.126L7 Tape: Hewlett-Packard LTO-5 I30Z (VD007AV1506BVT00013)
    swd_2:20.126L6 Tape: Hewlett-Packard LTO-5 I30Z (VD006AV1506BVT00013)
    swd_2:20.126L4 Tape: Hewlett-Packard LTO-5 I30Z (VD004AV1506BVT00013)
    dri00 VD001AV1506BVT00013 swd_2:20.126L1 rst12h
    dri01 VD002AV1506BVT00013 swd_2:20.126L2 rst9h
    dri02 VD003AV1506BVT00013 swd_2:20.126L3 rst6h
    dri03 VD004AV1506BVT00013 swd_2:20.126L4 rst8h
    dri04 VD005AV1506BVT00013 swd_2:20.126L5 rst2h
    dri05 VD006AV1506BVT00013 swd_2:20.126L6 rst13h
    dri06 VD007AV1506BVT00013 swd_2:20.126L7 rst7h
    dri07 VD008AV1506BVT00013 swd_2:20.126L8 rst5h
    dri08 VD009AV1506BVT00013 swd_2:20.126L9 rst11h
    dri09 VD00AAV1506BVT00013 swd_2:20.126L10 rst3h
    dri10 VD00BAV1506BVT00013 swd_2:20.126L11 rst10h
    dri11 VD00CAV1506BVT00013 swd_2:20.126L12 rst4h


    define path tnode-nasnode02 drive00 srctype=datamover desttype=drive libr=dxi7500lib device=rst12h
    define path tnode-nasnode02 drive01 srctype=datamover desttype=drive libr=dxi7500lib device=rst9h
    define path tnode-nasnode02 drive02 srctype=datamover desttype=drive libr=dxi7500lib device=rst6h
    define path tnode-nasnode02 drive03 srctype=datamover desttype=drive libr=dxi7500lib device=rst8h
    define path tnode-nasnode02 drive04 srctype=datamover desttype=drive libr=dxi7500lib device=rst2h
    define path tnode-nasnode02 drive05 srctype=datamover desttype=drive libr=dxi7500lib device=rst13h
    define path tnode-nasnode02 drive06 srctype=datamover desttype=drive libr=dxi7500lib device=rst7h
    define path tnode-nasnode02 drive07 srctype=datamover desttype=drive libr=dxi7500lib device=rst5h
    define path tnode-nasnode02 drive08 srctype=datamover desttype=drive libr=dxi7500lib device=rst11h
    define path tnode-nasnode02 drive09 srctype=datamover desttype=drive libr=dxi7500lib device=rst3h
    define path tnode-nasnode02 drive10 srctype=datamover desttype=drive libr=dxi7500lib device=rst10h
    define path tnode-nasnode02 drive11 srctype=datamover desttype=drive libr=dxi7500lib device=rst4h


    define path INTERTSMSVR drive20 srctype=server desttype=drive library=i500lib device=/dev/IBMtape0 online=yes
    define path INTERTSMSVR drive21 srctype=server desttype=drive library=i500lib device=/dev/IBMtape1 online=yes


    6、确定磁带没有被mount
    q mount 如果状态是idle可卸载

    dismount vol A00147

    确保没有备份任务
    确保没有进行磁带回收
    q proc
    Space Reclamation
    update stg tapepool-vm recla=100
    update stg TAPEPOOL-FILE recla=100

    7、将所有不可用磁带,更新为可读写
    q vol acc=unavai

    update volA00888 acc=readw

    8、审计带库

    audit library DXI7500LIB checklabel=barcode refreshstate=yes
    audit library I500LIB checklabel=barcode refreshstate=yes

    q proc

    9、将磁带从逻辑上加入到带库

    checkin libvol DXI7500LIB search=yes status=private checklabel=barcode

    20180428中午12点切换回原池

    10、恢复存储池原配置

    I500POOL-F tapepool-file
    I500POOL-r tapepool-rman
    I500POOL-v tapepool-vm
    i500naspool naspool
    i500pool-s tapepool-sql

    update copygroup filedomain standard STANDARD STANDARD destination=tapepool-file
    update copygroup filedomain standard STANDARD STANDARD type=archive destination=tapepool-file

    update copygroup oradomain standard STANDARD STANDARD destination=tapepool-rman
    update copygroup oradomain standard STANDARD STANDARD type=archive destination=tapepool-rman

    update copygroup vmdomain standard MCLANFREE STANDARD destination=tapepool-vm
    update copygroup vmdomain standard MCLANFREE STANDARD type=archive destination=tapepool-vm

    update copygroup nasbackup standard STANDARD STANDARD destination=naspool
    update copygroup nasbackup standard STANDARD STANDARD type=archive destination=naspool

    update copygroup sqldomain standard STANDARD STANDARD destination=tapepool-sql
    update copygroup sqldomain standard STANDARD STANDARD type=archive destination=tapepool-sql

    update copygroup FCM_PDSQL standard STANDARD STANDARD destination=tapepool-sql


    激活domain
    activate policyset filedomain standard
    activate policyset oradomain standard
    activate policyset vmdomain standard
    activate policyset nasbackup standard

    activate policyset sqldomain standard
    activate policyset FCM_PDSQL standard

    总结:
    审计过程中确保没有作业冲突。

  • 相关阅读:
    while 循环及 break,continue语句
    Binary Search Tree BST Template
    Largest Rectangle in Histogram 解答
    Increasing/ Decreasing Stack
    Stack
    Queue
    Find the largest multiple of 3 解答
    Check whether a given Binary Tree is Complete or not 解答
    Sliding Window Maximum 解答
    Wiggle Sort 解答
  • 原文地址:https://www.cnblogs.com/Study-Blog/p/9028137.html
Copyright © 2020-2023  润新知