hidden:IRODS: Difference between revisions
From Lsdf
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==iRODS (irods-1)== |
|||
iRODS is installed on irods-1.lsdf.kit.edu: |
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)== |
|||
* host: irods-2.lsdf.kit.edu, eudat.lsdf.kit.edu |
|||
* location: rack 21, height unit 35 |
|||
* DELL PowerEdge R510 |
|||
* warrenty till 31/12/2014: http://www.dell.com/support/troubleshooting/us/en/04/Servicetag/FG5TW4J |
|||
* purpose: EUDAT: full save replication for ENES |
|||
* [[hidden:irods installation on irods-2 | irods installation on 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 |
Latest revision as of 13:08, 30 October 2013
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)
- host: irods-2.lsdf.kit.edu, eudat.lsdf.kit.edu
- location: rack 21, height unit 35
- DELL PowerEdge R510
- warrenty till 31/12/2014: http://www.dell.com/support/troubleshooting/us/en/04/Servicetag/FG5TW4J
- purpose: EUDAT: full save replication for ENES
- irods installation on 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!