Transcript PPT, 2.15MB

IBM Tivoli Storage Manager DRM

A Presentation by Paweł Krawczyk June 8, 2011

2

Agenda

 Elementy potrzebne do odtworzenia TSM  Obieg nośników  Konfiguracja DRM  Instrukcje  Przygotowanie się do awarii  Oczekiwanie na awarię  Odtworzenie bazy © 2011 IBM Corporation

3

Elementy potrzebne do odtworzenia TSM

© 2011 IBM Corporation

4

Obieg nośników

© 2011 IBM Corporation

5

TS3100 Autoloader

One LTO Ultrium Drive Gen 3 (4Gb FC/LVD) 22 Cartridge Slots Standalone or Rack Barcode Reader

TS 3200

One or Two LTO Ultrium 3 Drives (4Gb FC/LVD) Native Fibre Channel 44 Cartridge Slots Barcode reader Standalone or Rack Multi-Path Architecture

TS 3310

LTO Ultrium Drive Feature Gen 3 (4Gb FC/LVD) 1 to 10 Drives 30 to 212 Cartridges Rack Barcode Reader Native Fibre Channel Multi-Path Architecture

TS 3500

L53 or D53 Frame LTO Ultrium 3 Drives Magstar 3592 Jaguar Drives Native FC 4Gb/s Multi-Path Architecture Logical Libraries HotSwap Drives Redundant Power Remote Managment Web Browser 110V Power Option © 2011 IBM Corporation

6

TS3200 – biblioteka departamentowa

Biblioteka dwunapoędowa – Napędy LVD SCSI lub nowy 4Gbps FC – Nowa konstrukcja robota i biblioteki Większa pojemność – – 44 sloty na dane 3 sloty I/O – 17.6 TB pojemności natywnej (35.2 z kompresją 2:1 Większa elastyczność – – – Czytnik kodów kreskowych i zdalne zarządzanie w standardzie Wyjmowalne magazynki na taśmy 3 lata gwarancji © 2011 IBM Corporation

7

Konfiguracja modułu DRM

set dbrecovery classdb define devclass classdb devtype=lto libr=lb1 set drmplanprefix e:\tsm\drm\plan\PKTSM set drminstrprefix e:\tsm\drm\instructions\PKTSM set drmprimstgpool dyskowa,tasmowa set drmcopystgpool offsitepool set drmcouriername „Firma Kurierska" © 2011 IBM Corporation

8

Instrukcje na wypadek awarii

RECOVERY.INSTRUCTIONS.GENERAL

RECOVERY.INSTRUCTIONS.OFFSITE

RECOVERY.INSTRUCTIONS.INSTALL

RECOVERY.INSTRUCTIONS.DATABASE

RECOVERY.INSTRUCTIONS.STGPOOL

© 2011 IBM Corporation

9

RECOVERY.INSTRUCTIONS.GENERAL

Administratorzy systemu Paweł Krawczyk tel. +48 693 93 5116; » e-mail: [email protected]

Igor Zacharjasz tel. +48 603 88 6014 » e-mail:

[email protected]

© 2011 IBM Corporation

RECOVERY.INSTRUCTIONS.INSTALL

TSM Server version 5.4.4

Windows 2003 R2 32bit Drivers for LTO4 - 8.1432.b

10 © 2011 IBM Corporation

Wykonanie kopii

offsite

DEFine STGpool offsitepool classlto pooltype=copy maxscratch=180 backup stg backuppool offsitepool backup stg tasmowa offsitepool backup db devclass=classlto type=full 11 © 2011 IBM Corporation

Przygotowanie się do awarii

q mount dismount volume

volume_name q drm move drm * wherest=mountable tost=vault prepare

12 © 2011 IBM Corporation

Odtworzenie NIGDY NIE UŻYWAJ DELETE VOLUME – chyba, że wiesz co robisz

update volume volumename access=destroyed restore vol volumename

c:\Program Files\Tivoli\TSM\server>dsmserv.exe -k Server2 restore db on=c:\tsm-d bfiles.txt

13 © 2011 IBM Corporation

14 © 2011 IBM Corporation

LAN-Free Backup

Sterowanie biblioteka LAN TSM Server SAN TAPE DISK TSM Client 15 © 2011 IBM Corporation

Storage Agent

Insalacja tak jak serwer tylko trzecia opcja Storage Agent Na AIX zainstaluje się w /opt/tivoli/tsm/StorageAgent/ ./dsmsta setstorageserver myname=pktsmagent mypassword=password myhladdress=10.10.10.16 servername=pktsm2 serverpassword=password hladdress=10.10.10.80 lladdress=1500 16 © 2011 IBM Corporation

Server side

* Setting up server-to-server communication set servername PKTSM2 set serverpassword password set serverhladdress 10.10.10.80

set serverlladdress 1500 * Defining storage agents to the Tivoli Storage Manager server define server pktsmagent serverpassword=password hladdress=10.10.10.16 lladdress=1500 17 © 2011 IBM Corporation

Server side

DEFine DEVclass classlto LIBRary=lb1 DEVType=LTO define stg stglanfree classlto maxscratch=150 define domain lanfree define policy lanfree lanfree DEFINE MGMTCLASS lanfree lanfree lanfree define copygroup lanfree lanfree lanfree type=backup dest=lanfreestg ASsign DEFMGmtclass lanfree lanfree lanfree activate policyset lanfree lanfree register node p520lanfree password domain=lanfree UPDATE NODE p520lanfree DATAWRITEPATH=ANY DATAREADPATH=ANY update libr lb1 share=yes 18 © 2011 IBM Corporation

Klient side

cat /usr/tivoli/tsm/client/ba/bin64/dsm.sys

SErvername x COMMMethod TCPip TCPPort 1500 TCPServeraddress 10.10.10.80

passwordaccess generate nodename p520lan SErvername xlanfree COMMMethod TCPip TCPPort 1500 TCPServeraddress 10.10.10.80

passwordaccess generate nodename p520lanfree ENABLELanfree Yes LANFREECommmethod sharedmem 19 cat /usr/tivoli/tsm/client/ba/bin64/dsm.opt

Servername x update node p520lanfree MAXNUMMP=2 © 2011 IBM Corporation

20 © 2011 IBM Corporation

TSM for Databases for Oracle

Server processs command line RMAN

2 4

Server processs

1 3 channel recovery catalog target database

diagram nr. 1

TSM server

21 © 2011 IBM Corporation

TSM for Databases for Oracle

ln -s /usr/lib/libobk64.a $ORACLE_HOME/lib/libobk.a

[root@p520 /usr/tivoli/tsm/client/oracle/bin64]# cat dsm.opt

servername tsmdlaoracla [root@p520 /usr/tivoli/tsm/client/oracle/bin64]# cat tdpo.opt

DSMI_ORC_CONFIG /usr/tivoli/tsm/client/oracle/bin64/dsm.opt

DSMI_LOG /home/oracle/ TDPO_FS tdporacle *TDPO_NODE p520oracle [root@p520 /usr/tivoli/tsm/client/api/bin64]# ls -l -r--r--r- 1 root system 782 Nov 18 23:46 dsm.opt.smp

-rwxr-xr-x 1 root system 1063 Mar 19 10:09 dsm.sys

[root@p520 /usr/tivoli/tsm/client/api/bin64]# cat dsm.sys

SErvername tsmdlaoracla COMMMethod TCPip TCPPort 1500 TCPServeraddress 10.10.10.80

PASSWORDACCess generate PASSWORDdir /home/oracle/ nodename p520oracle 22 © 2011 IBM Corporation

23 © 2011 IBM Corporation