- 06 Jan, 2004 1 commit
-
-
Leigh B. Stoller authored
-
- 31 Dec, 2003 3 commits
-
-
Kirk Webb authored
mechanism in the service sliver).
-
Kirk Webb authored
-
Mike Hibler authored
-
- 29 Dec, 2003 1 commit
-
-
Leigh B. Stoller authored
to utah_elab_svc (slice that Jay created). We determine this by the rather low tech approach of looking at $USER in the environment!
-
- 28 Dec, 2003 2 commits
-
-
Leigh B. Stoller authored
the log file.
-
Leigh B. Stoller authored
-
- 26 Dec, 2003 4 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
how we know that, so startup might have to be a special case). Runs every 5 minutes, getting the load average numbers from /proc/loadavg, and disk usage by running "df" and parsing its output (yuck, I know). Package that up and send as a UDP tmcc request. Also does the account update when the reply indicates. Need to rationalize this with the isalive watchdog at some point.
-
Leigh B. Stoller authored
disk usage metrics. This will run in a sliver, so need to assign the metrics to the underlying pnode, and it would be better right now if we run it only in a single sliver (the management sliver) on each node until I decide the best approach, since it overlaps with isalive, which does run from each sliver.
-
Leigh B. Stoller authored
(slivers). Account updates take longer of course, but thats okay for now.
-
- 23 Dec, 2003 1 commit
-
-
Leigh B. Stoller authored
for someone since the names won't match local nodes, but not going to worry about till it happens.
-
- 19 Dec, 2003 1 commit
-
-
Shashi Guruprasad authored
sending an ISUP. ISUP is now sent as the first event from the nse scheduler.
-
- 17 Dec, 2003 1 commit
-
-
Leigh B. Stoller authored
code to run as uid/gid nobody/nobody. I had to remove dolog(), which was to support the oskit on the dnards, so no one will miss that! I also removed the tar/rpm download support since we now do that via the web interface. To support sfshostid, I had to chown/chgrp /proj/.sfs to the nobody/nobody so that tmcd willbe able to create the symlinks in that directory.
-
- 16 Dec, 2003 1 commit
-
-
Leigh B. Stoller authored
wideareajailroot flag on pcwa/vron nodes only!
-
- 15 Dec, 2003 1 commit
-
-
Shashi Guruprasad authored
now mapped to more than one PC if required. The simnode_capacity column in the node_types table determines how many sim nodes can be packed on one PC. The packing factor can also be controlled via tb-set-colocate-factor to be smaller than simnode_capacity. - No frontend code changes. To summarize: $ns make-simulated { ... } is still the easy way to put a whole bunch of Tcl code to be in simulation. One unrelated fix in the frontend code is to fix the xmlencode() function which prior to this would knock off newlines from columns in the XML output. This affected nseconfigs since it is one of the few columns with embedded newlines. Also changed the event type and event object type in traffic.tcl from TRAFGEN/MODIFY to NSE/NSEEVENT. - More Tcl code in a new directory tbsetup/nseparse -> Runs on ops similar to the main parser. This is invoked from assign_wrapper in the end if there are simnodes -> Partitions the Tcl code into multiple Tcl specifications and updates the nseconfigs table via xmlconvert -> Comes with a lot of caveats. Arbitrary Tcl code such as user specified objects or procedures will not be re-generated. For example, if a user wanted a procedure to be included in Tcl code for all partitions, there is no way for code in nseparse to do that. Besides that, it needs to be tested more thoroughly. - xmlconvert has a new option -s. When invoked with this option, the experiments table is not allowed to be modified. Also, virtual tables are just updated (as opposed to deleting all rows in the first invocation before inserting new rows) - nse.patch has all the IP address related changes committed in iversion 1.11 + 2 other changes. 1) MTU discovery support in the ICMP agent 2) "$ns rlink" mechanism for sim node to real node links - nseinput.tcl includes several client side changes to add IP routes in NSE and the kernel routing table for packets crossing pnodes. Also made the parsing of tmcc command output more robust to new changes. Other client side changes in libsetup.pm and other scripts to run nse, are also in this commit - Besides the expected changes in assign_wrapper for simulated nodes, the interfaces and veth_interfaces tables are updated with routing table identifiers (rtabid). The tmcd changes are already committed. This field is used only by sim hosts on the client side. Of course, they can be used by jails as well if desired.
-
- 12 Dec, 2003 1 commit
-
-
Mike Hibler authored
There is a race there with pump and its setting of the domain (via setting the hostname)
-
- 10 Dec, 2003 1 commit
-
-
Shashi Guruprasad authored
allows real PCs to run any OS instead of being constrained to FreeBSD. A detailed discussion on this topic can be found in the testbed-dev mailing list under the thread "links between vnodes and real PCs"
-
- 09 Dec, 2003 1 commit
-
-
Shashi Guruprasad authored
-
- 07 Dec, 2003 1 commit
-
-
Shashi Guruprasad authored
in the dev tree. I'm tired of problems on the mini that wastes my time. Changes include 2 new tmcd commands: tmcc routelist returns the routes for all the vnodes hosted on a pnode. tmcc role returns the role of a reserved node, like 'virthost' or 'simhost. tmcc ifconfig now reports an RTABID field which is calculated in assign wrapper. All the new changes in assign wrapper will be checked in after I finish testing. All the DB changes are in: simnode_capacity in node_types, rtabid in interfaces and veth_interfaces. New NSE event_objtype and NSEEVENT event_eventtype. Changed the erole field in the reserved table to have 'simhost' instead of 'simnode'. Changed the correspoding libdb subroutines.
-
- 05 Dec, 2003 1 commit
-
-
Leigh B. Stoller authored
-
- 03 Dec, 2003 1 commit
-
-
Leigh B. Stoller authored
did this with a simple macro called OUTPUT() that does the check and bails from the current function. This was as boring and tedious as life gets, but we should be protected from stack smashing now. Also fixed up a couple cases where we take data from the client; make sure that the sscanf calls are bounded.
-
- 01 Dec, 2003 2 commits
-
-
Mike Hibler authored
-
Leigh B. Stoller authored
-
- 21 Nov, 2003 4 commits
-
-
Mike Hibler authored
pc170-1 until those nodes actually have e1000 cards installed (next week).
-
Mike Hibler authored
-
Mike Hibler authored
Need to use ethtool instead of mii-tool to do this. My comment: # # Linux is apparently changing from mii-tool to ethtool but some drivers # don't support the new interface (3c59x), some don't support the old # interface (e1000), and some (eepro100) support the new interface just # enough that they can report success but not actually do anything. Sweet! # This requires that we load ethfind on the nodes, though the script will continue to work if it isn't (though will not work for e1000 cards).
-
Mike Hibler authored
sethostname script properly sets the hostname, but sometimes that hostname gets overridden by one of the static boot scripts which sets the hostname back to "localhost". The sequence is something like: pump runs on eth0 and fires off our sethostname script sethostname blocks ifup of eth1 starts, determines that hostname hasn't been set (i.e., is set to "localhost") and remembers (NEEDHOSTNAME) sethostname finishes by setting the host name ifup of eth1 finishes, seeing NEEDHOSTNAME is set but doesn't have anything to set it to so resets to "localhost" Weird. Hack is to make sure it never thinks it needs to set the hostname by setting it to something that is not "localhost". We do this once we identify the control net interface (and thus know we will be running pump RSN).
-
- 12 Nov, 2003 3 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
tree.
-
Leigh B. Stoller authored
-
- 07 Nov, 2003 1 commit
-
-
Leigh B. Stoller authored
jails.
-
- 05 Nov, 2003 1 commit
-
-
Leigh B. Stoller authored
* Download the eventkey with new tmcd call. * Pass -k option to various agents so that they can verify the HMACs in the incoming notifications. * Change program agent; The list of agents from tmcd now includes the command, which is written to a config file for the program-agent to read in. The command string in the event is now ignored. * Build the local proxy for linux, and add the goo to start the local elvind and use the proxy. It has been this way on FreeBSD for a while, but I never got it installed for Linux before now.
-
- 30 Oct, 2003 1 commit
-
-
Kirk Webb authored
Will just put this in the sup tree for now.
-
- 27 Oct, 2003 3 commits
-
-
Leigh B. Stoller authored
spot in /var/emulab/boot.
-
Leigh B. Stoller authored
-
Mac Newbold authored
-
- 24 Oct, 2003 2 commits
-
-
Robert Ricci authored
which had been hanging around in my home directory for a while. There are a few new things in plab/etc/netbed_files that set up a directory of the same name in @prefix@. This will get rsync'ed with netbed_files/ on each planetlab node. log/ - just needs to exist for the httpd server sbin/ - contains thttpd, and scripts to manipulate it www/ - the directory served by thttpd. Contains symlinks to the 'real' location of the rootballs (etc/plab) I've committed a binary of thttpd - this is simply because it'd be a PITA to compile a Linux binary for every devel tree, etc. PLAB_ROOTBALL has now become a configure options. The idea is that we will keep the latest version number in configure.in, but you can override it in your defs file. This way, we don't have to update every defs file when there's a new version, but people can still play around with their own version if they want. The two scripts that interact with the plab nodes skip ones that are down. They ssh in as 'utah1', meaning that one of us who has access to that account needs to run them, so that they can have access to our keys. We can put boss's public key (or something) out there to remove this requirement. plabdist runs an rsync between @prefix@/etc/plab/netbed_files and a file of the same name on the planetlab nodes. It's intended to be run from the main install tree - the local rsync directory is not normally set up in devel trees. It runs in parallel, but is limited to 4 to avoid beating up boss too much. Takes about 1:40 with the current set of plab nodes (took > 10 minutes doing one at a time). plabhttpd (re)starts the mini web server on all plab nodes
-
Mike Hibler authored
-
- 23 Oct, 2003 1 commit
-
-
Leigh B. Stoller authored
-