- 23 May, 2003 1 commit
-
-
Leigh B. Stoller authored
-
- 22 May, 2003 9 commits
-
-
Mac Newbold authored
no nodes in the expt. (The lib assumed the expt didn't exist if it didn't find any nodes for it.) NOTE: You have to gmake clean the event/sched/ dir before this will get built in properly! Don't install your version without it!
-
Leigh B. Stoller authored
have left in place.
-
Mac Newbold authored
code when taking a signal.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
experiments look more like regular experiments. Batch mode experiments can now be preloaded and swapped. When preloaded, they go into a "Pause" state. Swapping a batch mode experiment in puts them into the "posted" state so the batch daemon will see them. Swapping out a batchmode experiment does the expected; it puts them back into the Pause state. Terminating a batch mode experiment does the expected; its gone. When a batch mode experiment finishes normally, it goes back into the pause state, which allows batches to be reinjected as many times as Eric likes.
-
Mac Newbold authored
memory leak in one of the timeout queue data structures, more or less.
-
Mac Newbold authored
Also do some prep work to carry $idleswap and $autoswap through this script like $force is. (For calling the back end with different params, when it supports it.)
-
Leigh B. Stoller authored
returned for all users. Actually, it was just not resetting the count back to zero, so all users got their groups, plus a few extra.
-
Leigh B. Stoller authored
-
- 21 May, 2003 5 commits
-
-
Chad Barb authored
-
Leigh B. Stoller authored
each portion of the experiment as it is modified. Also add expt_swap_uid so that we know who did the last operation, and so we can charge/credit the right person. So, if joe swaps in the experiment and jane swaps it out, joe gets charged. If jane swaps in the experiment and joe modifies it, jane gets credit for the first portion, and joe will later get charged for the second portion. Took longer to explain then to implement ... Lbs
-
Chad Barb authored
Changed submit button to work on NS4.7 (by using <input type='submit'> instead of <button>) for our retrocomputing friends.
-
Mac Newbold authored
seconds (on a DSL line). (Also decreases db load...) Some of the defaults were as high as 400 records. Dropping them to 100 took the generated page from over 100KB to 31KB. Later (someday) we can add stuff to easily change the number of records you request, and perhaps even change the starting point to something other than the most recent stuff.
-
Leigh B. Stoller authored
-
- 20 May, 2003 10 commits
-
-
Mac Newbold authored
didn't see in testing. Specifically, why it pegs at 100% CPU after a while, and why it gets timeouts after it has removed the timeout from the queue.
-
Chad Barb authored
Temporarily make TCSH the only option until Leigh gets new images together.
-
Chad Barb authored
Users can, via, moduserinfo, set a preferred shell. One of {tcsh, bash, csh, sh}. When users are created, they are given tcsh. All users which already exist have been given tcsh.
-
Mac Newbold authored
1. Change from inefficient timeout search algo that ran once per second to a highly efficient priority queue method of managing timeouts. Now instead of checking every node's timestamps, we just look at the head of the queue, and it is often much less frequent than once a second, since we know how long we have until the next timeout. 2. Start using a blocking poll for events, so I can sleep for long periods of time instead of having to wake up at least once a second to check for timeouts and events. Will set the block timeout for the shortest of: the time to send out the next batch of queued emails, the next time a timeout may occur, or when there are no mails waiting and no timeouts possible, 10 minutes. Comes back as soon as an event comes in. 3. Given the above two items, we no longer need a sleep(1) in our main loop. One small glitch is in the progress of being fixed. When using blocking polls, things hang when trying to unregister from the event system. Not a big deal, just ^C twice to kill it. (May cause it to need two SIGUSR1's to get it to restart, too.) In the next update, look for: - Really take action on timeouts. - keep track of how many times we've retried, and notify if something may be wrong with the node. - Find out policy on taking action with timeouts. - Do it if the expt is in transition or the node is free - Probably don't touch if the expt is established. - Maybe? in active expt, send (good) email to expt owner on timeouts Related "coming soon" items: os_load/os_setup etc.: - Add the waitforstate stuff we've talked about - make os_load/os_setup use it
-
Mac Newbold authored
be quick and efficient for the types of operations that stated needs to make with its timeout queue. But still pretty general, I think.
-
Robert Ricci authored
-
Leigh B. Stoller authored
system now to do scheduling. Instead just show last swap/modify time, along with the uid of the person who did it. Report on per-class node counts instead of the total number, since with virtual nodes it is better to split that number up.
-
Leigh B. Stoller authored
per Shashi's request.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
- 19 May, 2003 6 commits
-
-
Leigh B. Stoller authored
what veth interfaces belong to which jail node.
-
Robert Ricci authored
newnodecheckin.php accepts some information about a new node, tries to figure out a node_id, IP, type, etc. for them, sticks this into the new_ tables, then alerts testbed-ops. Another (not yet created) page will be used to make the new node a real boy. newclient will run from a (not yet created) MFS - it collects various data about the node, like its MAC, runs teachswitch, and checks in via newnodecheckin.php .
-
Leigh B. Stoller authored
to swap in/out/modify an experiment, so we can do proper accounting.
-
Leigh B. Stoller authored
dojailconfig: Do not return a jail config unless the node is really jailed. doifconfig: Look at the node name, and return ifconfig info specific to the name instead of always returning all info for the machine. Upon boot, virtual interfaces will not be setup, but instead will be setup when the jail is setup. When the jail requests ifconfig info, it gets only its list of interfaces to setup. dolinkdelays: Ditto, since linkdelays will be setup after per-jail interfaces are setup.
-
Mac Newbold authored
real life. There's a small window in time (typically a few seconds, but maybe 10's of seconds on occasion) between the time nodes get nalloc'd and the time they get rebooted during a swapin. If idlemail runs (or someone views a web page) during this time, the expt can appear idle because the nodes haven't had any activity. It can cause an incorrect email or a false positive on the web page. The fix is to have nalloc register some external node activity, like node_reboot does, when it allocates a node.
-
Leigh B. Stoller authored
-
- 16 May, 2003 4 commits
-
-
Robert Ricci authored
-
Mac Newbold authored
-
Mac Newbold authored
before was idle view of the expt list. Now it shows in all (non-thumb) views. I also added it to the right hand table in the expt page. It also shows in the little expt lists in the user, group, and proj pages. (I'm already really glad those got consolidated into a single function.) Also cleaned up idle view a bit. Now that we show staleness and idle ignore anyway, we don't need text tags for them, and we no longer need the red dot that links to swap requests because of idlemail. So there's no longer the weird double-column thing in idle view. I'm still looking for a good way to non-intrusively mark expts in the expt list as being unswappable, so if you think of anything, let me know. (Maybe boldface, or a little lock icon or something?)
-
Mac Newbold authored
a lone stray " .
-
- 15 May, 2003 5 commits
-
-
Mac Newbold authored
- Don't use the image, just use a text link. (Note: the text link in the middle is different than the button link on the left, since the button doesn't set refer=1.) (From Rob/Chad) - Don't jump back into admin mode just because I was before. Let it dump me back to green dot when I log back in. (From Leigh)
-
Chad Barb authored
Linked in publications and classes under new "Emulab Users" top-level menu item. Moved project list from the top-level underneath this. For non-Utah emulabs, the project list remains on the top level.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
jailed nodes from veths for plain emulated links between phys nodes, which we might generally allow at some point for supporting emulated links (rather than using IP aliases). My plan is to use this im tmcd to determine what ifconfig returns; no point in returning jailed veth configuration when the node boots, but should wait until the jail is setup (this is further complicated by rtabids, but thats another story).
-
Chad Barb authored
Some changes Jay wanted, plus put some of the "H" in HTML (links to papers).
-