Changeset 4addf9d
- Timestamp:
- Sep 12, 2007 11:06:22 AM (17 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- 9c00d41
- Parents:
- c23025e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/splitter.pl
rc23025e r4addf9d 33 33 34 34 # XXX system with a relative pathname is sort of gross 35 # if ( $host ne "localhost") {36 #system ("ssh $user\@$host $cmd");37 #}38 #else {39 #system ("$cmd");40 #}41 35 system ("ssh $user\@$host $cmd"); 42 36 if ($?) { … … 83 77 84 78 # Determine the status of the remote experiment 85 #if ( $host ne "localhost") {86 # open(STATUS, "ssh $user\@$host /usr/testbed/bin/expinfo $pid $eid|") ||87 # die "Can't ssh to $user\@$host:$!\n";88 # }89 # else {90 # open(STATUS, "/usr/testbed/bin/expinfo $pid $eid|") ||91 # die "Can't call expinfo locally";92 # }93 79 open(STATUS, "ssh $user\@$host /usr/testbed/bin/expinfo $pid $eid|") || 94 80 die "Can't ssh to $user\@$host:$!\n"; … … 102 88 103 89 # Copy the experiment definition data over (unless the host is local) 104 #if ( $host ne "localhost") {105 # &scp_file("$tmpdir/$tb/$tclfile", "$user\@$host") || return 0;106 # }107 # else {108 # # XXX this ain't quite right109 # system("cp $tmpdir/$tb/$tclfile .");110 # }111 112 90 &scp_file("$tmpdir/$tb/$tclfile", "$user\@$host") || return 0; 113 91 # Remote experiment is active. Modify it. … … 313 291 my($ddomain) = $domain{$dtb}; # domain for the destination 314 292 293 $sdomain = ".$eid.$project{$gateways}$sdomain"; 294 $ddomain = ".$eid.$project{$dtb}$ddomain"; 295 315 296 # If either end of this link is in the master side of the testbed, that 316 297 # side is the active end. Otherwise the first testbed encountered in … … 350 331 s/EXPSTART/$expstart{$ctb}/g; 351 332 } 333 # XXX: oh is this bad 334 s#GWCONF#FEDDIR\`hostname\`.gw.conf#g; 335 s#FEDDIR#/proj/$project{$ctb}/exp/$eid/tmp/#g; 352 336 print FILE; 353 337 }
Note: See TracChangeset
for help on using the changeset viewer.