Changeset 18671


Ignore:
Timestamp:
11/02/16 03:33:54 (8 years ago)
Author:
Daniela Dorner
Message:
changed back to not using the rsync server which was gone after the upgrade of the machines
File:
1 edited

Legend:

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

    r17594 r18671  
    7171   rsyncserverdir=`echo $dir | sed -e 's/^\//172.16.100.100::/' -e 's/loc_data/newdaq/'`
    7272   # old
    73    #if ! /usr/bin/rsync -avxHP -T $rsynctempdir $bwlimit newdaq:$dir/ $dir >> $logfile 2>&1
     73   if ! /usr/bin/rsync -avxHP -T $rsynctempdir $bwlimit newdaq:$dir/ $dir >> $logfile 2>&1
    7474   # new (temporary until pb on daq is solved)
    75    if ! /usr/bin/rsync -avxHP -T $rsynctempdir $bwlimit $rsyncserverdir/ $dir >> $logfile 2>&1
     75   #if ! /usr/bin/rsync -avxHP -T $rsynctempdir $bwlimit $rsyncserverdir/ $dir >> $logfile 2>&1
    7676   then
    7777      printprocesslog "CONNECTION problem rsyncing auxiliary files in "$dir" from newdaq to daq"
     
    8181   # rsynctemp-dir -> use one on data!!! i.e. has to be /data/rsync_tmp
    8282   # 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
     83   rsynctempdirdata=/data/rsync_tmp
     84   if ! /usr/bin/rsync -avxHP -T $rsynctempdirdata $bwlimit $dir/ $dirdata >> $logfile 2>&1
    9085   then
    9186      printprocesslog "CONNECTION problem rsyncing auxiliary files in "$dir" from daq to data"
Note: See TracChangeset for help on using the changeset viewer.