hidden:IRODS

From Lsdf
Revision as of 13:08, 30 October 2013 by Jmeyer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

iRODS (irods-1)

iRODS is installed on irods-1.lsdf.kit.edu:

  • installation directory: /data/irods/iRODS/
  • installation logs in /data/irods/iRODS/installLogs/
  • configuration: /data/irods/iRODS/config/irods.config

Machine (irods-1)

  • host: irods-1.lsdf.kit.edu, alias: irods-lsdma.lsdf.kit.edu, ip: 141.52.208.10
  • location: LSDF-rack 8, height unit 18
  • OS: SL 6.2
  • System: IBM x3550 M2
  • Serial Number: KD03C2T

Machine (irods-2)

Backup (irods-1)

  • disk backup on eu-stor.fzk.de
  • /etc/cron.daily/postgres_bak.sh (credentials in /root/.pgpass):
#!/bin/bash

save_place=/gpfsibm/irods/postgresdump_irods-1
PG_DUMPALL=/data/postgres/pgsql/bin/pg_dumpall
#-----------------------------

test -d $save_place || mkdir -p $save_place
chmod 700 $save_place $0

ddir=$(date +%Y)/$(date +%m)
dfile=$(date +%Y-%m-%d).dump.bz2
dumpdir=$save_place/$ddir
test -d $dumpdir || mkdir -p $dumpdir

$PG_DUMPALL -U irods |bzip2 >$dumpdir/$dfile

# keep last 7 dumps:
find $save_place -type f -mtime +7 -exec rm {} \;

TO DO

  • Need second disk to create RAID1 for system!

links

https://redmine.dkrz.de/collaboration/projects/lsdma/wiki