IBM Tivoli Storage Manager DRM A Presentation by Paweł Krawczyk June 8, 2011
© 2011 IBM Corporation2 Agenda Elementy potrzebne do odtworzenia TSM Obieg nośników Konfiguracja DRM Instrukcje Przygotowanie się do awarii Oczekiwanie na awarię Odtworzenie bazy
© 2011 IBM Corporation3 Elementy potrzebne do odtworzenia TSM
© 2011 IBM Corporation4 Obieg nośników
© 2011 IBM Corporation5 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 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 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 Corporation6 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 Corporation7 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 Corporation8 Instrukcje na wypadek awarii RECOVERY.INSTRUCTIONS.GENERAL RECOVERY.INSTRUCTIONS.OFFSITE RECOVERY.INSTRUCTIONS.INSTALL RECOVERY.INSTRUCTIONS.DATABASE RECOVERY.INSTRUCTIONS.STGPOOL
© 2011 IBM Corporation9 RECOVERY.INSTRUCTIONS.GENERAL Administratorzy systemu Paweł Krawczyk tel ; » Igor Zacharjasz tel »
© 2011 IBM Corporation10 RECOVERY.INSTRUCTIONS.INSTALL TSM Server version Windows 2003 R2 32bit Drivers for LTO b
© 2011 IBM Corporation11 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
© 2011 IBM Corporation12 Przygotowanie się do awarii q mount dismount volume volume_name q drm move drm * wherest=mountable tost=vault prepare
© 2011 IBM Corporation13 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
© 2011 IBM Corporation14
© 2011 IBM Corporation15 LAN-Free Backup
© 2011 IBM Corporation16 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= servername=pktsm2 serverpassword=password hladdress= lladdress=1500
© 2011 IBM Corporation17 Server side * Setting up server-to-server communication set servername PKTSM2 set serverpassword password set serverhladdress set serverlladdress 1500 * Defining storage agents to the Tivoli Storage Manager server define server pktsmagent serverpassword=password hladdress= lladdress=1500
© 2011 IBM Corporation18 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
© 2011 IBM Corporation19 Klient side cat /usr/tivoli/tsm/client/ba/bin64/dsm.sys SErvername x COMMMethod TCPip TCPPort 1500 TCPServeraddress passwordaccess generate nodename p520lan SErvername xlanfree COMMMethod TCPip TCPPort 1500 TCPServeraddress passwordaccess generate nodename p520lanfree ENABLELanfree Yes LANFREECommmethod sharedmem cat /usr/tivoli/tsm/client/ba/bin64/dsm.opt Servername x update node p520lanfree MAXNUMMP=2
© 2011 IBM Corporation20
© 2011 IBM Corporation21 TSM for Databases for Oracle Server processs recovery catalog target databaseTSM server channel command line RMAN diagram nr. 1
© 2011 IBM Corporation22 TSM for Databases for Oracle ln -s /usr/lib/libobk64.a $ORACLE_HOME/lib/libobk.a /usr/tivoli/tsm/client/oracle/bin64]# cat dsm.opt servername tsmdlaoracla /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 /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 /usr/tivoli/tsm/client/api/bin64]# cat dsm.sys SErvername tsmdlaoracla COMMMethod TCPip TCPPort 1500 TCPServeraddress PASSWORDACCess generate PASSWORDdir /home/oracle/ nodename p520oracle
© 2011 IBM Corporation23