VSC-3
Derzeitiges Off-Site Backup
Derzeitiges Off-Site Backup (2)
Struktur der Daten
Struktur der Daten (2)
Struktur der Daten (3)
Struktur der Daten (4)
Backup-Maschine
Filesystem
Backup Sofware
# Configuration File for the backup script
# Server Source Destination ProcessCount ZFS Snapshot Log-File
nfs01 /mntbackup/nfs01 /backup/nfs01 4 1 /backup/log/nfsbackup_nfs01
nfs02 /mntbackup/nfs02 /backup/nfs02 1 1 /backup/log/nfsbackup_nfs02
nfs03 /mntbackup/nfs03 /backup/nfs03 1 1 /backup/log/nfsbackup_nfs03
Backup Software (2)
[root@fh100 ~]# /backup/bin/new/vsc_show_backupstate
+++++++++++++++++++++++++++++++++++++++++
+Current Backup-State of VSC-2 and VSC-3+
+++++++++++++++++++++++++++++++++++++++++
nfs01: Backup running since 2019-04-30.
nfs02: Backup running since 2019-04-30.
nfs03 completed at 2019-04-23 with a runtime of 58729 Seconds. Next Backup already queued on 2019-04-23
+++++++++++++++++++++++++++++++++++++++++
+ Backup-Pools Space Report +
+++++++++++++++++++++++++++++++++++++++++
backup: 35.3T available
backup2: 49.7T available
tank7NG: 23.5T available
Bash/Rsync Magic (1)
rsync -avHAXS --delete src/ dest/
Bash/Rsync Magic (2)
for i in {1..10}
do
rsync -avHAXS --delete src/server${i}/ dest/server${i}/ &
done
Vorteile
Nachteile
Parallelisierung abhaengig von der Anzahl der Server
Alle Server muessen gebackuppt sein, bevor der Zyklus neu starten kann
Output / Monitoring der Rsync Jobs?
Bash/Rsync Magic (3)
Bash/Rsync Magic (4)
# Sync Directory Structure
rsync -avHAXS -f"+ */" -f"- */*" src/server/ dest/server/ &
# Create Filelists
( find src/server/ ! -type d > filelist.txt
sort -R filelist.txt > filelist2.txt
split -d -a6 -n r/$numProcesses filelist2.txt > filelist.scrambled.txt ) &
# Delete obsolete files
rsync -r --delete --existing --ignore-existing src/server/ dest/server/ &
wait
# Sync Files in Filelist
for ((i=0; i<$numProcesses; i++))
do
rsync -avHAXS --files-from=filelist.scrambled.txt.${i} src/server/ dest/server/ &
done
Bash/Rsync Magic (5)
Bash/Rsync Magic (6)
Bash/Rsync Magic (7)
Clustercopy.sh
Erweiterung des Backup-Scripts
Zum Kopieren von Files auf Clustern
Erwartet Liste von Nodes und Anzahl der Prozesse
Speedup fuer parallele Dateisysteme
Bash/Rsync Probleme
Ausblick
Ausblick (2)
Spectrum Protect Server
2x Intel Xeon E5-2697V4, 2.3
GHz, 18 Cores / 36 Threads
-
2 x 10 GBit/s zum Arsenal
2 x 10 GBit/s zum Freihaus
4 x 8 GBit/s Fibre Channel zur Tape Library (IBM TS4500)
4 x 2 TB Intel DC P3600 fuer DB2 Datenbank (RAID10)
6 x 500
GB SSD fuer Disk Pool (RAID5)
Ende