Presentation is loading. Please wait.

Presentation is loading. Please wait.

CRESCO BACKUP TSM BACKUP AFS BACKUP. TSM BACKUP COMPONENTI DEL SISTEMA HARDWARE cresco-bck3 efda-bkcp IBM TS3584 (Tape Library) SOFTWARE TSM (Tivoli Storage.

Similar presentations


Presentation on theme: "CRESCO BACKUP TSM BACKUP AFS BACKUP. TSM BACKUP COMPONENTI DEL SISTEMA HARDWARE cresco-bck3 efda-bkcp IBM TS3584 (Tape Library) SOFTWARE TSM (Tivoli Storage."— Presentation transcript:

1 CRESCO BACKUP TSM BACKUP AFS BACKUP

2 TSM BACKUP COMPONENTI DEL SISTEMA HARDWARE cresco-bck3 efda-bkcp IBM TS3584 (Tape Library) SOFTWARE TSM (Tivoli Storage Manager) Tape dispatcher

3 cresco-bck3 TSM server TSM client cresco-gpf1cresco-gpf3cresco-gpf2cresco-bck3cresco-inst0cresco-cellhdpollux LAN SAN GPFS FILESYSTEM efda-bkcp Tape dispatcher TSM BACKUP IBM TS drivers LTO4 SERVER CLIENT

4 TAPE LIBRARY DISCHI IBM DS4200 CRESCO-BCK1 CRESCO-BCK2 CRESCO-AFS2 CRESCO-BCK3 CRESCO-AFS1 FABRIC SWITCH CISCO MDS PORTE IP FABRIC SWITCH CISCO MDS PORTE IP CRESCO schema SAN CRESCO-BCK1 IP DS EFDA-BKUP DISCHI IBM DS3400 IP DS IP

5 Installazione del TSM client bin]# rpm -qa |grep TIV TIVsm-API i586 TIVsm-BA i586 TIVsm-API i586 /opt/tivoli/tsm/client/ba/bin/dsm.sys bin]# more dsm.sys SErvername cresco-bck3.portici.enea.it COMMMethod TCPip TCPPort 1500 PASSWORDAccess generate TCPServeraddress cresco-bck3.portici.enea.it schedlogname /var/log/tsm/dsmsched.log errorlogname /var/log/tsm/dsmerror.log errorlogretention 180 schedlogretention 180 Nodename gridsrv1 * inclexcl /opt/tivoli/tsm/client/ba/bin/dsmfile.def bin]# more dsm.opt Servername cresco-bck3.portici.enea.it /opt/tivoli/tsm/client/ba/bin/dsm.opt ftp :// index.storsys.ibm.com/tivoli-storage-management/maintenance/client /

6 ~]# dsmj root pts/0 Sl 10:39 0:00 /usr/bin/dsmc sched ~]# ps auxw|grep dsmc Backup Client

7 Frequency = 0 backup solo se modificato dallultimo backup Versions Data Exists = 3 Copie di backup Versions Data Deleted = 1 Copie di backup se il file viene cancellato Retain Extra Versions = 180 Durata in giorni della copia extra Retain Only Version = 1825 Durata in giorni di una solo copia Copy Serialization = Shared Static Il file non deve essere in uso durante il backup Copy Mode = modified Il file è salvato solo se è stato modificato Politiche di backup

8 AFS BACKUP

9 AFS BACKUP COMPONENTI DEL SISTEMA HARDWARE cresco-bck3 efda-bkcp IBM TS3584 (Tape Library) SOFTWARE AFS backup Perl scripts Tape dispatcher

10 cresco-afs1kratoscresco-afs2 LAN SAN AFS storage cresco-bck3 AFS client efda-bkcp Tape dispatcher AFS BACKUP IBM TS drivers LTO4

11 /afs/enea.it/fra/user/dangelo> /usr/afsws/etc/backup help /usr/afsws/etc/backup: Commands are: adddump add dump schedule addhost add host to config addvolentry add a new volume entry addvolset create a new volume set apropos search by help text dbverify check ubik database integrity deldump delete dump schedule deletedump delete dumps from the database delhost delete host to config delvolentry delete a volume set sub-entry delvolset delete a volume set diskrestore restore partition dump start dump dumpinfo provide information about a dump in the database help get help on commands interactive enter interactive mode jobs list running jobs kill kill running job labeltape label a tape listdumps list dump schedules listhosts list config hosts listvolsets list volume sets quit leave the program readlabel read the label on tape restoredb restore backup database savedb save backup database scantape dump information recovery from tape setexp set/clear dump expiration dates status get tape coordinator status volinfo query the backup database volrestore restore volume volsetrestore restore a set of volumes AFS BACKUP

12 /sunday1 /monday /tuesday /wednesday /thursday /friday /sunday1 /monday /tuesday /wednesday /thursday /friday / sunday_bin /monday /wednesday /friday Gerarchie di backup

13 /0x expires in 15d /1x expires in 1d /2x expires in 1d /3x expires in 1d /4x expires in 1d /5x expires in 1d /6x expires in 1d /7x expires in 1d /8x expires in 1d /9x expires in 1d /29x expires in 1d /30x expires in 1d /31x expires in 1d /0y expires in 15d /1y expires in 1d /2y expires in 1d /3y expires in 1d /4y expires in 1d /5y expires in 1d /6y expires in 1d /7y expires in 1d /8y expires in 1d /9y expires in 1d /29y expires in 1d /30y expires in 1d /31y expires in 1d backup listdumps

14 / afs/enea.it/fra/user/dangelo> /usr/afsws/etc/backup listvolsets Volume set portici31: Entry 1: server cresco-afs1.portici.enea.it, partition.*, volumes:.*\.backup Entry 2: server cresco-afs2.portici.enea.it, partition.*, volumes:.*\.backup Entry 3: server kratos.portici.enea.it, partition.*, volumes:.*\.backup Volume set portici32: Entry 1: server cresco-afs1.portici.enea.it, partition.*, volumes:.*\.backup Entry 2: server cresco-afs2.portici.enea.it, partition.*, volumes:.*\.backup Entry 3: server kratos.portici.enea.it, partition.*, volumes:.*\.backup backup listvolsets

15 AFS BACKUP -l * * * /afsbkup/cronpag.sh /afsbkup/cronpag.sh #!/usr/afsws/bin/pagsh checklock() { if [ -e /afsbkup/logs/lock.$1 ]; then echo "locked" else echo "ok" fi } mkdir -p /usr/afs/backup/Archive day=`date +"%a"` " = "31" ]; then./dobackupsys enea.it portici31 fi mkdir -p /usr/afs/backup/Archive/$day rc=`mv /usr/afs/backup/T* /usr/afs/backup/Archive/$day > /dev/null 2>&1` cd /afsbkup./auth /usr/afsws/bin/tokens for stream in do status=`checklock $stream` if [ "$status" = "ok" ]; then # EFDA if [ "$stream./dumpall enea.it portici$stream $stream fi done

16 /afs/enea.it/fra/user/dangelo> /usr/afsws/etc/backup dumpinfo -ndumps 1000 dumpid parentid lv created nt nvols dump name /07/ : portici31.0y ( ) /07/ : portici32.0y ( ) /08/ : portici31.1y ( ) /08/ : portici32.1y ( ) /09/ : portici31.2y ( ) /09/ : portici32.2y ( ) /10/ : portici31.3y ( ) /10/ : portici32.3y ( ) /11/ : portici31.4y ( ) /11/ : portici32.4y ( ) /12/ : portici31.5y ( ) /12/ : portici32.5y ( ) /24/ : portici31.6y ( ) /24/ : portici32.6y ( ) /25/ : portici31.7y ( ) /25/ : portici32.7y ( ) /26/ : portici31.8y ( ) /26/ : portici32.8y ( ) /27/ : portici31.9y ( ) /27/ : portici32.9y ( ) /28/ : portici31.10y ( ) /28/ : portici32.10y ( ) /29/ : portici31.11y ( ) /29/ : portici32.11y ( ) /30/ : portici31.12y ( ) /30/ : portici32.12y ( ) /31/ : portici31.13y ( ) /31/ : portici32.13y ( ) /01/ : portici31.0x ( ) /01/ : portici32.0x ( ) /02/ : portici31.1x ( ) /02/ : portici32.1x ( ) backup dumpinfo

17 afs/enea.it/fra/user/dangelo> /usr/afsws/etc/backup dumpinfo -id Dump: id , level 20, volumes 25, created: Tue Sep 22 01:19: Tape: name A00095 ( ) nVolumes 25, created 09/22/ :21, expires 09/23/ :21 Pos Clone time Nbytes Volume /22/ : user.skeej.backup /22/ : user.procacci.backup /22/ : user.pardi.backup /22/ : user.gianese.backup /22/ : por.p.webtv.html.backup /22/ : user.pollini.backup /22/ : user.guarnier.backup /22/ : user.funel.backup /22/ : user.ambrosin.backup /22/ : user.marchei.backup /22/ : user.ciavarel.backup /22/ : user.raia.backup /22/ : user.aprea.backup /22/ : user.ferrara.backup /22/ : user.giammatt.backup /22/ : por.arcproj.backup /22/ : por.p.g3droma.reborn4.backup /22/ : user.cgargiul.backup /22/ : user.fiannone.backup /22/ : por.p.dysco.backup /22/ : user.minotti.backup /22/ : por.p.siap.backup /22/ : user.bongini.backup /22/ : user.vangone.backup /22/ : por.remote.grena.backup backup dumpinfo

18 AFS backup vlrestore enea.it 31 kratos a user.scope.backup -date "07/10/2009" -extension ".dangelo " enea.it 31 kratos a user.scope.backup AFS backup diskrestore enea.it 31 kratos /vicepa enea.it 31 kratos a –newserver cresco-afs1 –newpartition /vicepb AFS RESTORE

19 Logs server cresco-bck3 TSM BACKUP /tsmbuffer/Log/dsmc.log /system/TSM/tsmutil/tsm.tapeaccess/log/tapemanager.log TAPE MANAGER /afsbkup/logs AFS BACKUP


Download ppt "CRESCO BACKUP TSM BACKUP AFS BACKUP. TSM BACKUP COMPONENTI DEL SISTEMA HARDWARE cresco-bck3 efda-bkcp IBM TS3584 (Tape Library) SOFTWARE TSM (Tivoli Storage."

Similar presentations


Ads by Google