- 08 Jun, 2006 1 commit
-
-
Leigh B. Stoller authored
-
- 06 Jun, 2006 1 commit
-
-
Leigh B. Stoller authored
-
- 29 May, 2006 1 commit
-
-
Leigh B. Stoller authored
cleanup the database before this fix is installed.
-
- 22 Mar, 2006 1 commit
-
-
Mike Hibler authored
"firewallable" node types.
-
- 01 Mar, 2006 1 commit
-
-
Leigh B. Stoller authored
-
- 16 Dec, 2005 1 commit
-
-
Kirk Webb authored
Add note about updating the node/ssh_pubkey sitevar.
-
- 13 Dec, 2005 4 commits
-
-
Leigh B. Stoller authored
-
Kirk Webb authored
Add a note about /root/.ssh/config on boss and ops.
-
Kirk Webb authored
Added instructions for creating a passphraseless v2 RSA keypair for root on boss, and explained where it needed to be added (on ops, boss and images). Also described how to set Procotol 2 as the default everywhere possible. THere is also a note about old user images and compatibility.
-
Leigh B. Stoller authored
users.
-
- 31 Oct, 2005 1 commit
-
-
Leigh B. Stoller authored
-
- 18 Aug, 2005 1 commit
-
-
Leigh B. Stoller authored
-
- 07 Jul, 2005 1 commit
-
-
Leigh B. Stoller authored
enabled in the defs file: CVSSUPPORT=1 each project gets a stub CVS tree created (using 'cvs init') in /proj/$pid/CVS. It is up to users obviously to do something with that tree, and of course they have to either set their CVSROOT env variable, or use the -d option to cvs. The showproject page gets a link to the per-project CVS tree, using the cvsweb interface, which I hacked up a bit to allow restricted access to specific project trees, via a ?pid=$pid argument to the URL. Without the ?pid argument, it falls back to normal behaviour, which is check the cvsallowed bit in the users table, and provide access to the Emulab source repo. If you are curious, go here: https://www.emulab.net/cvsweb/cvsweb.php3/?pid=testbed
-
- 30 Nov, 2004 1 commit
-
-
Leigh B. Stoller authored
-
- 10 Nov, 2004 1 commit
-
-
Leigh B. Stoller authored
Direct user to patch the py-m2crypto port.
-
- 09 Nov, 2004 1 commit
-
-
Leigh B. Stoller authored
-
- 08 Nov, 2004 5 commits
-
-
Leigh B. Stoller authored
-
Robert Ricci authored
-
Robert Ricci authored
new newclient/newnode code that can handle ops.
-
Leigh B. Stoller authored
-
Mike Hibler authored
-
- 04 Nov, 2004 1 commit
-
-
Mike Hibler authored
-
- 03 Nov, 2004 3 commits
-
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
Leigh B. Stoller authored
-
- 02 Nov, 2004 1 commit
-
-
Robert Ricci authored
-
- 01 Nov, 2004 2 commits
-
-
Timothy Stack authored
-
Timothy Stack authored
-
- 29 Oct, 2004 1 commit
-
-
Leigh B. Stoller authored
to avoid silly questions that the event-scheduler cannot answer.
-
- 25 Oct, 2004 1 commit
-
-
Leigh B. Stoller authored
experiment, and not count its pnodes or duration as if it was swapped in! Thanks Kirk. The actual fix is simple. The script to fix up the existing stats records was a bear and took me all morning to get right! Even so, its probably no perfect, but close enough. That script in the sql directory and mentioned in doc/UPDATING.
-
- 01 Sep, 2004 1 commit
-
-
Leigh B. Stoller authored
* SSL based server (sslxmlrpc_server.py) that wraps the existing Python classes (what we export via the existing ssh XMLRPC server). I also have a demo client that is analogous the ssh demo client (sslxmlrpc_client.py). This client looks for an ssl cert in the user's .ssl directory, or you can specify one on the command line. The demo client is installed on ops, and is in the downloads directory with the rest of the xmlrpc stuff we export to users. The server runs as root, forking a child for each connection and logs connections to /usr/testbed/log/sslxmlrpc.log via syslog. * New script (mkusercert) generates SSL certs for users. Two modes of operation; when called from the account creation path, generates a unencrypted private key and certificate for use on Emulab nodes (this is analagous to the unencrypted SSH key we generate for users). The other mode of operation is used to generate an encrypted private key so that the user can drag a certific...
-
- 30 Aug, 2004 1 commit
-
-
Leigh B. Stoller authored
* The per-experiment event scheduler now runs on ops instead of boss. Boss still runs elvind and uses events internally, but the user part of the event system has moved. * Part of the guts of eventsys_control moved to new script, eventsys.proxy, which runs on ops and fires off the event scheduler. The only tricky part of this is that the scheduler runs as the user, but killing it has to be done as root since a different person might swap out the experiment. So, the proxy is a perl wrapper invoked from a root ssh from boss, which forks, writes the pid file into /var/run/emulab/evsched/$pid_$eid.pid, then flips to the user and execs the event scheduler (which is careful not to fork). Obviously, if the kill is done as root, the pid file has to be stored someplace the user is not allowed to write. * The event scheduler has been rewritten to use Tim's C++ interface to the sshxmlrpc server on boss. Actually, I reorg'ed the scheduler so that it can ...
-
- 16 Aug, 2004 1 commit
-
-
Robert Ricci authored
-
- 09 Aug, 2004 1 commit
-
-
Leigh B. Stoller authored
supporting both a shell script driven interface, plus the newer XMLRPC interface. This change removes the script driven interface from boss, replacing it with just the XMLRPC interface. Since we like to maintain backwards compatability with interfaces we have advertised to users (and which we know are being used), I have implemented a script wrapper that exports the same interface, but which converts the operations into XMLRPC requests to the server. This wrapper is written in python and uses our locally grown xmlrpc-over-ssh library. Like the current "demonstation" client, you can take this wrapper to your machine that has python and ssh installed, and use it there; you do not need to use these services from just users.emulab.net. Other things to note: * The wrapper is a single python script that has a "class" for each wrapped script. Running the wrapper without any arguments will list all of the operations it supports. You can invoke the wrapper with the operation as its argument: {987} stoller$ script_wrapper.py swapexp --help swapexp -e pid,eid in|out swapexp pid eid in|out where: -w - Wait for experiment to finish swapping -e - Project and Experiment ID in - Swap experiment in (must currently be swapped out) out - Swap experiment out (must currently be swapped in) Wrapper Options: --help Display this help message --server Set the server hostname --login Set the login id (defaults to $USER) --debug Turn on semi-useful debugging But more convenient is to create a set of symlinks so that you can just invoke the operation by its familiar scriptname. This is what I have done on users.emulab.net. {987} stoller$ /usr/tesbed/bin/swapexp --help swapexp -e pid,eid in|out swapexp pid eid in|out * For those of you talking directly to the RPC server from python, I have added a wrapper class so that you can issue requests to any of the modules from a single connection. Instead using /xmlrpc/modulename, you can use just /xmlrpc, and use method names of the form experiment.swapexp, node.reboot, etc. Tim this should be useful for the netlab client which I think opens up multiple ssh connections? * I have replaced the paperbag shell with a stripped down xmlrpcbag shell that is quite a bit simpler since we no longer allow access to anything but the RPC server. No interactive mode, no argument processing, no directory changing, etc. My main reason for reworking the bag is to make it easier to understand, maintain, and verify that it is secure. The new bag also logs all connections to syslog (something we should have done in the orginal). I also added some setrlimit calls (core, maxcpu). I also thought about niceing the server down, but that would put RPC users at a disadvantage relative to web interface users. When we switch the web interface to use the XMLRPC backend, we can add this (reniceing from the web server would be a pain cause of its scattered implementation).
-
- 05 Aug, 2004 1 commit
-
-
Robert Ricci authored
UPDATING.
-
- 28 Jul, 2004 1 commit
-
-
Leigh B. Stoller authored
-
- 13 Jul, 2004 1 commit
-
-
Leigh B. Stoller authored
For new distributed routing support, must first run this script as root to generate a data file for each existing experiment. sudo sql/gentopmaps.pl
-
- 23 Jun, 2004 1 commit
-
-
Leigh B. Stoller authored
vserver/pcplab). Rather then 10000s of fixed node entries in the DB, create node entries on the fly as needed (assign_wrapper), and then delete them when they are no longer used (nfree). When new nodes check in, no longer create all those nodes table entries (utils/newnode.in and tbsetup/plab/libplab.py.in). I've added a new library: db/Node.pm which is something I started a while back, and decided to commit, along with the support for creating and deleting virtual nodes. CreateVnodes() creates a new set of nodes, choosing non-conflicting names in the DB, and then immediately reserves them to the pid/eid specified. DeleteVnodes takes a list of vnodes and deletes them from nodes,reserved,etc. This library does a few other things which I am going to be playing with, so you might want to go read the comment at the top of the file. Feel free to speak up. CreateVnodes() is from called assign_wrapper when a node type has the "isdynamic" property. Otherwise does the existing avail/nalloc stuff. DeleteVnodes() is called from nfree when the node type has the isdynamic property. I've added a script (sql/delvnodes.pl) to run after updating the DB and software. All free pcvm and pcplab virtual nodes are deleted from the DB; reserved ones will get deleted whenever their experiment ends. I've noted all of this in doc/UPDATING, including setting the isdynamic property on pcvm in the node_types table. I've left tbsetup/plab/libplab.py.in to create a single pcplab node for the management sliver (still called -20). We can worry about this later. All this for modelnet?
-
- 22 Jun, 2004 1 commit
-
-
Robert Ricci authored
-
- 15 Jun, 2004 1 commit
-
-
Robert Ricci authored
their ports.
-