hidden:IRODS

From Lsdf
Jump to navigationJump to search

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!