Changeset f64fa81
- Timestamp:
- Apr 9, 2008 4:51:00 PM (17 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
- Children:
- 8034579
- Parents:
- 4abace9
- Location:
- fedkit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
fedkit/fed-tun.pl
r4abace9 rf64fa81 29 29 my $ROUTE_GET = "/sbin/route get"; # XXX: works on FreeBSD, but should 30 30 # should be 'ip route get' for Linux 31 32 # Ports that are forwarded between testbeds 33 my $TMCD_PORT = 7777; 34 my $SMBFS_PORT = 139; 35 my $PUBSUB_PORT = 16505; 31 36 32 37 sub setup_bridging; … … 94 99 95 100 if (defined($opts{'fsname'})) { 96 $ssh_port_fwds = "-R : 139:$opts{'fsname'}:139";101 $ssh_port_fwds = "-R :$SMBFS_PORT:$opts{'fsname'}:$SMBFS_PORT "; 97 102 } 98 103 99 104 if (defined($opts{'bossname'})) { 100 $ssh_port_fwds .= "-R :7777:$opts{'bossname'}:7777 "; 105 my $remote_pubsub_port = $PUBSUB_PORT - 1; # There will be a local 106 # pubsubd running, so we 107 # dodge the port on the 108 # remote tunnel node. 109 $ssh_port_fwds .= "-R :$TMCD_PORT:$opts{'bossname'}:$TMCD_PORT "; 110 $ssh_port_fwds .= "-R :$remote_pubsub_port:$opts{'eventservername'}:" . 111 "$PUBSUB_PORT "; 101 112 } 102 113 -
fedkit/splitter.pl
r4abace9 rf64fa81 102 102 "fileserver" => "fs", 103 103 "boss" => "boss", 104 "eventserver" => "eventserver", 104 105 "tunnelcfg" => "tun" 105 106 ); … … 643 644 my $boss = # Master boss node (FQDN) 644 645 $tbparams->{$master}->{'boss'} . $tbparams->{$master}->{'domain'}; 646 my $event_server = # Master event-server (FQDN) 647 $tbparams->{$master}->{'eventserver'} . 648 $tbparams->{$master}->{'domain'}; 645 649 my $remote_script_dir = # Remote fed script location 646 650 "/proj/" . $tbparams->{$dtb}->{'project'} . "/exp/$eid/tmp"; … … 677 681 print $gwconfig "BossName: $boss\n"; 678 682 print $gwconfig "FsName: $fs\n"; 683 print $gwconfig "EventServerName: $event_server\n"; 679 684 print $gwconfig "Type: $type\n"; 680 685 print $gwconfig "RemoteScriptDir: $remote_script_dir\n"; -
fedkit/testbeds.example
r4abace9 rf64fa81 34 34 FileServer: fs 35 35 Boss: boss 36 EventServer: event-server 36 37 37 38 # This needs to be true on DETER … … 57 58 FileServer: fs 58 59 Boss: boss 60 EventServer: event-server 59 61 TunnelCfg: false 60 62 … … 72 74 FileServer: fs 73 75 Boss: boss 76 EventServer: event-server 74 77 TunnelCfg: false 75 78
Note: See TracChangeset
for help on using the changeset viewer.