Difference between revisions of "hidden:BWA ProjectPlanning item D16 HPSS Trash Can Feature"

From Lsdf
(closed Mail Ahmad vom 11.9.2015)
(Trash can auf Testsystem, Tests)
Line 24: Line 24:
 
Total Objects Eligible for Unlink 0
 
Total Objects Eligible for Unlink 0
 
Size of Objects Eligible for Unlink
 
Size of Objects Eligible for Unlink
  +
* Tests von Dorin und Ahmad s. Mail vom 5. und 6.10.2015
 
  +
* Trash can auf Testsystem einrichten
 
2. Cronjob for for hpssstatistics
 
2. Cronjob for for hpssstatistics
 
Location: /etc/cron.d/hpssstat
 
Location: /etc/cron.d/hpssstat

Revision as of 18:01, 6 October 2015

  • closed
  • RADAR hätte gerne die Möglichkeit gelöschte Dateien innerhalb einer gewissen Zeitspanne wieder zurück zu holen
  • HPSS bietet das Feature 'Trash Can' s. HUF 2014 http://huf2014.rzg.mpg.de/program 'HPSS Trash Can Feature' /Herb Wartens, (Lawrence Livermore National Lab) LLNL
  • Ahmad schaut sich die erschiedenen Einstellungen an und meldet sich zurück.
  • Es soll auch getestet werden was bei veränderten Daten passiert.
  • Mail Ahmad vom Fr 11.09.2015
1.Trashcans  uf HPSS Production aktiviert, mit folgenden Einstellungen:
Number of Trashcan Threads: 5 -> Number of threads starded for deletion
Trash Incinerator Interval:     86400 seconds -> Deletion Starts every 24 h
Trash Unlink Eligible Time:     864000 seconds -> Delettion for Files 
older thnan 10 Days
Trash Stistics Interval;            3600 seconds -> Deletion Statistics 
every 1 h (*)
(*) To get Trashcan statistics:
[root@hpsscr ~]# /opt/hpss/bin/hpssadm.pl -U hpssssm -a /var/hpss/etc/hpss.unix.keytab
hpssadm> server info -name "Core Server" -specific
rashcan Statistics
  Last Trash Statistics Time           Sep 11, 2015 10:03:43 AM
  Total Objects in the Trash                                  0
  Size of Objects in the Trash                                0
  Total Objects Eligible for Unlink                           0
  Size of Objects Eligible for Unlink
  • Tests von Dorin und Ahmad s. Mail vom 5. und 6.10.2015
  • Trash can auf Testsystem einrichten
2. Cronjob for for hpssstatistics
Location:  /etc/cron.d/hpssstat
# Output as CSV File in /var/hpss/acct
# Once a week on Mon. 00:00
0 0 * * 1 root cd /var/hpss/acct; /usr/local/bin/hpssstats.py KIT.EDU
3. Cronjob for User accounting:
# first day every month
# Output in /var/hpss/acct
0 0 1 * * root /opt/hpss/bin/hpss_acct -s 1