- 22 Dec, 2003 1 commit
-
-
Leigh B. Stoller authored
of problem in PHP with the unsigned int value from the regex table for default:int, which I need to look at, but in the meantime add proper bounds checks for the numeric fields in the new project table.
-
- 21 Dec, 2003 1 commit
-
-
Shashi Guruprasad authored
instead of virt_nodes:vname. This is coz the vnode can have a '*'. This should fix the repeated expt creation errors today in project DNA.
-
- 20 Dec, 2003 2 commits
-
-
Shashi Guruprasad authored
simhost_violation to the reserved table. Details in the migrate file. Note that virt_simnode_attributes is part of the virtual state and is being taken care of in libdb.
-
Leigh B. Stoller authored
-
- 19 Dec, 2003 8 commits
-
-
Robert Ricci authored
now have ways to make them non-interactive, and we can take care of adding optional 'sub-packages' to mod_php4 ourselves; we don't have to make the user do that.
-
Shashi Guruprasad authored
sending an ISUP. ISUP is now sent as the first event from the nse scheduler.
-
Robert Ricci authored
'node' field already filled out.
-
Robert Ricci authored
-
Robert Ricci authored
error - it's too hard to destingish a string from 0 in php, and every place we call this function, we've already made sure the group exists anyway.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
before DB insertion.
-
Leigh B. Stoller authored
account, and direct user to Forgot Username/Password page. Changed the Forgot page to allow user to *either* reset password, or just find out their username if that is what they forgot.
-
- 18 Dec, 2003 7 commits
-
-
Leigh B. Stoller authored
usually handled via uid cookie we get back from the browser, but if the user Clicks stop or maybe has cookies off, we don't that info.
-
Robert Ricci authored
In the top file, you can provide a 'node-hint', which is similar to a 'fix-node' in that it specifies a starting mapping for the virtual node. Unlike a fixed node, however, assign is allowed to move hinted nodes around all it wants. Add a '-t' option to assign that allows you to give a starting temperature, instead of going through the usual melting process. Together, these may be helpful with the pre-pass we're planning on incorporating into assign. During that pass, assign will be working on a coarsened version of the virtual graph, so there may be some places where decisions are made poorly due to the reduced information. After one run has been done with the coarsened version, we can run assign again with the full version of the graph, but with 'node-hints' that start virtual nodes where the first run decided. This will allow assign to fine-tune the results of the first mapping. Of course, we don't want this second run to take too long, so we'll want to start it with a low initial temperature (so that it basically just does hill-climbing), and probably use a fractional '-H' argument to prevent it from spending too long on large topologies.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
zillions of DB fields that we have to set. My solution was to add a meta table that describes what is a legal value for each table/slot for which we take from user input. The table looks like this right now, but is likely to adapt as we get more experience with this approach (or it might get tossed if it turns out to be a pain in the ass!). CREATE TABLE table_regex ( table_name varchar(64) NOT NULL default '', column_name varchar(64) NOT NULL default '', column_type enum('text','int','float') default NULL, check_type enum('regex','function','redirect') default NULL, check tinytext NOT NULL, min int(11) NOT NULL default '0', max int(11) NOT NULL default '0', comment tinytext, UNIQUE KEY table_name (table_name,column_name) ) TYPE=MyISAM; Entries in this table look like this: ('virt_nodes','vname','text','regex','^[-\\w]+$',1,32,NULL); Which says that the vname slot of the virt_nodes table (which we trust the user to give us in some form) is a text field to be checked with the given regex (perlre of course), and that the min/max length of the text field is 1 and 32 chars respectively. Now, you wouldn't want to write the same regex over and over, and since we use the same fields in many tables (like pid, eid, vname, etc) there is an option to redirect to another entry (recursively). So, for "PID" I do this: ('eventlist','pid','text','redirect','projects:pid',0,0,NULL); which redirects to: ('projects','pid','text','regex','^[a-zA-Z][-\\w]+$',2,12,NULL); And, for many fields you just want to describe generically what could go into it. For that I have defined some default fields. For example, a user description: ('experiment,'usr_name','text','redirect','default:tinytext',0,0,NULL); which redirects to: ('default','tinytext','text','regex','^[\\040-\\176]*$',0,256,NULL); and this says that a tinytext (in our little corner of the database universe) field can have printable characters (but not a newline), and since its a tinytext field, its maxlen is 256 chars. You also have integer fields, but these are little more irksome in the details. ('default','tinyint,'int,'regex','^[\\d]+$',-128,127,NULL); and you would use this anyplace you do not care about the min/max values being something specific in the tinyint range. The range for a float is of course stated as an integer, and thats kinda bogus, but we do not have many floats, and they generally do not take on specific values anyway. A note about the min/max fields and redirecting. If the initial entry has non-zero min/max fields, those are the min mac fields used. Otherwise they come from the default. So for example, you can do this: ('experiments','mem_usage','int','redirect','default:tinyint',0,5,NULL); So, you can redirect to the standard "tinyint" regular expression, but you still get to define min/max for the specific field. Isn't this is really neat and really obtuse too? Sure, you can say it. Anyway, xmlconvert now sends all of its input through these checks (its all wrapped up in library calls), and if a slot does not have an entry, it throws an error so that we are forced to define entries for new slots as we add them. In the web page, I have changed all of the public pages (login, join project, new project, and a couple of others) to also use these checks. As with the perl code, its all wrapped up in a library. Lots more code needs to be changed of course, but this is a start.
-
Leigh B. Stoller authored
addslashes getting called, once in the web interface and again in the perl backend.
-
Leigh B. Stoller authored
-
- 17 Dec, 2003 6 commits
-
-
Robert Ricci authored
'slot'. In the top file, you can how give' the virtual node's type as type:count - sim:5, for example. If you give no count, it defaults to one. The idea here is to allow a pre-pass to assign to 'coarsen' the virtual graph. This pre-pass could, for example, combine several virtual or simulated nodes into one so that assign has a simpler virtual graph to work with.
-
Robert Ricci authored
put special characters in them.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
Added table_regex to the list of exported tables that needs to be checked at install.
-
Leigh B. Stoller authored
-
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 15 commits
-
-
Mike Hibler authored
If plabmetrics fails and it has been less than two intervals (interval==5 min) since the stats file was modified, then send a message If plabmetrics succeeds and it has been more than two intervals since the last mod, send a "back in business" message.
-
Kirk Webb authored
requested, these are now only sent if the current number of minutes is between 0 and 5.
-
Kirk Webb authored
and addded parameter passing the daemon. Also fixed up the makefile for compilation and installation (client).
-
Robert Ricci authored
experiment no longer exists.
-
Robert Ricci authored
was just supposed to be a list of which problems are ours and which are theirs, but it kinda grew beyond that.
-
David Anderson authored
-
Leigh B. Stoller authored
changed.
-
Robert Ricci authored
-
Robert Ricci authored
user is actually logged in, so that it works correctly over http .
-
Robert Ricci authored
Ganglia - we want to be consistent, and we don't get Ganglia data from all hosts all the time.
-
Robert Ricci authored
link in the sidebar.
-
Shashi Guruprasad authored
ns2ir and nseparse to chmod the directories with the right permissions.
-
Robert Ricci authored
APC.
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
wideareajailroot flag on pcwa/vron nodes only!
-