- 26 Sep, 2003 11 commits
-
-
Robert Ricci authored
weeks)
-
Robert Ricci authored
-
Robert Ricci authored
desire for 'hosts-<type>', where <type> is the type of its child node. This helps assign, because it can now limit the number of places to try assigning the host, and it means that we can give the hosts this feature, so that they don't get used for other purposes. For example, we can give the IXP-hosting nodes the feature 'hosts-ixp-bv' with weight 1, and they will never get used for anything but IXP hosting. This means that the node_type_features (or just node_features) table must now have hosts-<type> entires to work correctly.
-
Robert Ricci authored
put: $node add-desire desire weight This will end up in the virt_node_desires table. assign_wrapper now puts the desires from this table into the top file.
-
Robert Ricci authored
multiple desires for each vnode.
-
Mac Newbold authored
In particular, this keeps the ixp host nodes from showing up.
-
Jay Lepreau authored
Needs eyeballing & checking after installation.
-
Robert Ricci authored
into assign.
-
Mac Newbold authored
-
Leigh B. Stoller authored
from my devel tree).
-
Leigh B. Stoller authored
-
- 25 Sep, 2003 10 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Robert Ricci authored
does the daemon.
-
Kirk Webb authored
is going out.
-
Kirk Webb authored
killvserver() and getanyppid() which caused vnodesetup to fail when it shouldn't have.
-
Mike Hibler authored
We have talked about these in the past, and I just happened to be thinking about it this morning.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
- 24 Sep, 2003 13 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
trying to bring them back from the dead periodically by trying to instantiate a vserver/vnode on them, and then tearing it down. If we can do that, then the node is usable, and it gets moved back into the normal holding experiment so that ptopgen will add it to ptop files. This deamon is not turned on yet; waiting for other little bits and pieces to be done. There is an equiv change in os_setup that moves physnodes into hwdown when a setup on a vnode fails. Lbs
-
Jay Lepreau authored
a little html. Ref'ed from news page. Installed om 9/22.
-
Robert Ricci authored
assign can attempt to spread an experimenter's nodes across sites.
-
Leigh B. Stoller authored
tmcd (which is bad, since tying up the tmcd threads blocks all nodes in the testbed). The old functionality is left in tmcd for now. On the server side, a new web page (www/spewrpmtar.php3) receives a request for a file, along with the nodeid (pcXXX) making the request, and the secret key that is generated for each new experiment and transfered to the node via tmcd. If the key matches, the operation is handed off to tbsetup/spewrpmtar.in which verifies that the file is in the list of rpm/tar files for that node, and then spits it out to stdout. The web page uses fpassthru() to send the file out to the client. The client is using wget, and is required to use https (the web page checks). At present, the external script is run as the creator of the experiment, and gid of the experiment. Perhaps this is not a good idea. In any event, the file must be in the list of rpm/tarfiles, either owned by the experiment creator or with a group of the experiment, and the file must reside in either /proj or /groups. I use the realpath() function to make sure there are no symlink tricks pointing to outside those filesystems. I use the standard NFS read goo to prevent transient mount problems that we all know and love.
-
Mike Hibler authored
-
Mike Hibler authored
-
Leigh B. Stoller authored
tmcd (which is bad, since tying up the tmcd threads blocks all nodes in the testbed). The old functionality is left in tmcd for now. On the server side, a new web page (www/spewrpmtar.php3) receives a request for a file, along with the nodeid (pcXXX) making the request, and the secret key that is generated for each new experiment and transfered to the node via tmcd. If the key matches, the operation is handed off to tbsetup/spewrpmtar.in which verifies that the file is in the list of rpm/tar files for that node, and then spits it out to stdout. The web page uses fpassthru() to send the file out to the client. The client is using wget, and is required to use https (the web page checks). At present, the external script is run as the creator of the experiment, and gid of the experiment. Perhaps this is not a good idea. In any event, the file must be in the list of rpm/tarfiles, either owned by the experiment creator or with a group of the experiment, and the file must reside in either /proj or /groups. I use the realpath() function to make sure there are no symlink tricks pointing to outside those filesystems. I use the standard NFS read goo to prevent transient mount problems that we all know and love.
-
Mike Hibler authored
-
Mike Hibler authored
-
Mike Hibler authored
-
Robert Ricci authored
nodetypeXpid_permissions table, since most users will be confused to see free PCs that they cannot actually use. This query is starting to become a bit complicated to be doing on every page.
-
Robert Ricci authored
actually finding the youngest. Luckily, it was not causing timeouts that were too short, only timeouts that were too long.
-
- 23 Sep, 2003 6 commits
-
-
Kirk Webb authored
causing problems. Will investigate tomorrow.
-
Kirk Webb authored
finds that the pid returned from wait() doesn't match the one returned from fork() earlier - this shouldn't happen, but it is. I am checking for errors - parhaps I'm missing something though. This affects plabnode free in vnode_setup since it vnode_setup doesn't fork when it runs this.
-
Kirk Webb authored
- now creates <OBJROOT>/tmcd/plab/GNUmakefile for building the plab rootball from the source tree. Not run or installed by default.
-
Kirk Webb authored
-
Kirk Webb authored
Updated vnode_setup to fork+exec plabnode (alloc|free) rather than invoking it with system(). Now when the parent receives a SIGTERM from its parent (the top-level vnode_setup), it will kill off it's plabnode child process before exiting itself. invocation of plabnode is now done via the plabnode() function. Needs some commenting. Tested thoroughly.
-
Kirk Webb authored
- regexp that matched the slice user wasn't working now that we're only looking for emulab_<exp_index>. Witholding this change from libplab.py for now until we push out a new tarball with this file
-