IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32521


Ignore:
Timestamp:
Oct 7, 2011, 4:27:15 PM (15 years ago)
Author:
watersc1
Message:

Skip putting files on the hosts that are very full.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/bin/neb-admin

    r32513 r32521  
    558558                               'ota60' => 'ipp039.0','ota61' => 'ipp040.0','ota62' => 'ipp041.0','ota63' => 'ipp042.0','ota64' => 'ipp043.0','ota65' => 'ipp044.0','ota66' => 'ipp046.0','ota67' => 'ipp047.0',
    559559                               'ota71' => 'ipp048.0','ota72' => 'ipp049.0','ota73' => 'ipp050.0','ota74' => 'ipp051.0','ota75' => 'ipp052.0','ota76' => 'ipp053.0');
    560 
     560    my %blocked_volume = ('ipp027' => 1,
     561                          'ipp037' => 1,
     562                          'ipp043' => 1,
     563                          'ipp044' => 1,
     564                          'ipp053' => 1);
    561565    if (not defined $so_id_start) { $so_id_start = 0; }
    562566    if (not defined $so_id_range) { $so_id_range = 100000; }
     
    641645            next;
    642646        }
     647        if (defined($blocked_volume{$destination_host})) {
     648            next;
     649        }
    643650        $destination_uri =~ s/$source_name/$destination_name/;
    644651       
Note: See TracChangeset for help on using the changeset viewer.