Ignore:
Timestamp:
09/06/13 17:04:19 (11 years ago)
Author:
Daniela Dorner
Message:
adapted for usage of rsync servers
Location:
trunk/DataCheck/Transfer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Transfer/BackupQLA.sh

    r15559 r17103  
    1919         daq) from="/loc_data/analysis/"
    2020              to="/newdaq/analysis_bu"
     21              # new temporary solution with rsync-servers
     22              to="newdaq::newdaq/analysis_bu"
    2123              ;;
    2224   isdc-dl00) from="fact@161.72.93.131:/daq/analysis/"
    2325              to="/gpfs/scratch/fact/qla"
     26              # for new rsync: update variables
    2427              ;;
    2528           *) echo "no valid host "$HOSTNAME
  • trunk/DataCheck/Transfer/RsyncAuxLP.sh

    r15594 r17103  
    6969
    7070   # rsync from newdaq to daq
    71    if ! /usr/bin/rsync -avxHP -T $rsynctempdir $bwlimit newdaq:$dir/ $dir >> $logfile 2>&1
     71   rsyncserverdir=`echo $dir | sed -e 's/^\//172.16.100.100::/' -e 's/loc_data/newdaq/'`
     72   # old
     73   #if ! /usr/bin/rsync -avxHP -T $rsynctempdir $bwlimit newdaq:$dir/ $dir >> $logfile 2>&1
     74   # new (temporary until pb on daq is solved)
     75   if ! /usr/bin/rsync -avxHP -T $rsynctempdir $bwlimit $rsyncserverdir/ $dir >> $logfile 2>&1
    7276   then
    7377      printprocesslog "WARN problem rsyncing auxiliary files in "$dir" from newdaq to daq"
    7478      echo `date`": problem rsyncing auxiliary files in "$dir" from newdaq to daq"
    7579   fi
    76    
    77    #rsync from daq to data
    78    if ! /usr/bin/rsync -avxHP -T $rsynctempdir $bwlimit $dir/ $dirdata >> $logfile 2>&1
     80
     81   # rsynctemp-dir -> use one on data!!! i.e. has to be /data/rsync_tmp
     82   # rsync from daq to data
     83   # old (rsynctempdirdata not tested)
     84   #rsynctempdirdata=`echo $rsynctempdir | sed -e 's/loc_//'`
     85   #if ! /usr/bin/rsync -avxHP -T $rsynctempdirdata $bwlimit $dir/ $dirdata >> $logfile 2>&1
     86   # new
     87   rsyncserverdirdata=`echo $dir | sed -e 's/^\//data::/' -e 's/loc_//'`
     88   rsynctempdirdata=/rsync_tmp
     89   if ! /usr/bin/rsync -avxHP -T $rsynctempdirdata $bwlimit $dir/ $rsyncserverdirdata >> $logfile 2>&1
    7990   then
    8091      printprocesslog "WARN problem rsyncing auxiliary files in "$dir" from daq to data"
Note: See TracChangeset for help on using the changeset viewer.