1. 27 Sep, 2001 1 commit
    • Robert Ricci's avatar
      Lib-ification. These scripts have been changed from using the Mysql module to · 4c11aa5d
      Robert Ricci authored
      using the libdb library. They have also been cleaned up somewhat, with more
      comments added, etc.
      
      I've merged nodeip and mac2if, which had very similar functions. The merged
      version goes under the name nodeip.
      
      Lastly, I've added some access checks to db2ns and node_status, to make sure
      they're only called by the right people.
      4c11aa5d
  2. 21 Sep, 2001 1 commit
  3. 19 Sep, 2001 1 commit
  4. 13 Sep, 2001 1 commit
    • Robert Ricci's avatar
      New script: frisbeelauncher · b26a78d3
      Robert Ricci authored
      Manages the launching of new frisbee servers, and recording the
      addresses the use in the database. If called for an image that is
      already associated with a running server, exits quitely. Otherwise,
      registers the new server's address and goes into the background, waiting
      for the frisbee server to die so that it can unregister the address.
      b26a78d3
  5. 30 Aug, 2001 1 commit
  6. 20 Aug, 2001 1 commit
  7. 14 Aug, 2001 1 commit
  8. 01 Aug, 2001 1 commit
    • Leigh Stoller's avatar
      An attempt at making image creation an easy/automatic operation. HA! · 27f26d99
      Leigh Stoller authored
      This uses the pxe booted freebsd kernel and MFS. In addition, I use
      the standard testbed mechanism of specifying a startup command to
      run, which will do the imagezip to NFS mounted /proj/<pid>/.... The
      controlling script on paper sets up the database, reboots the node,
      and then waits for the startstatus to change. Then it resets the DB
      and reboots the node so that it returns back to its normal OS. The
      format of operation is:
      
      	create_image <node> <imageid> <filename>
      
      Node must be under the user's control of course. The filename must
      reside in the node's project (/proj/<pid>/whatever) since thats the
      directory that is mounted by the testbed config software when the
      machine boots. The imageid already exists in the DB, and is used to
      determine what part of the disk to zip up (say, using the slice option
      to the zipper). Since this operation is rather time consuming, it does
      the usual trick of going to background and sending email status later.
      27f26d99
  9. 31 Jul, 2001 1 commit
  10. 24 Jul, 2001 1 commit
    • Leigh Stoller's avatar
      Add new console_reset script to bulk reset all of the tip lines on · 4303838f
      Leigh Stoller authored
      plastic. Useful for when plastic reboots, although it needs to be
      run from paper of course. We should probably set up some kind of
      reboot utility for when plastic reboots, since when capture fires up,
      the "acl" files are all in the wrong group/mode. On the other hand,
      this shared file based permission scheme is going to end up changing
      anyway soon, since it won't work when the serial lines are on other
      machines. Will need a tip permserver at that point.
      4303838f
  11. 13 Jul, 2001 1 commit
  12. 12 Jul, 2001 1 commit
    • Robert Ricci's avatar
      New script: dhcpd_makeconf · fbb56b98
      Robert Ricci authored
      Usage: dhcpd_makeconf [-h] [-v] <templatefile>
      templatefile should be a skeleton dhcp.conf file, without entires for each node.
      The string '%%nodetype=<type>' will be expanded to entries for all nodes of type
      <type> in the following form:
      host $ip {
      	hardware ethernet $mac;
      	option host-name '$node_id';
      	fixed_address $ip;
      }
      
      The generated dhcp conf file is printed on stdout.
      
      The -v option causes dhcpd_makeconf to use virtual names, rather than
      physical ones, for hostnames.
      fbb56b98
  13. 10 Jul, 2001 1 commit
    • Mac Newbold's avatar
      Added sched_reserve. Works kind of like sched_reload, but for a reservation. · e1f4263c
      Mac Newbold authored
      Rob and I noticed that when we need to do maintainance to a node, its hard
      to grab it when it gets freed before it gets taken again. So this will allow
      admins to set up nodes so that when the current owner frees them, they
      immediately are moved into another experiment. For instance, if I need to do
      an upgrade on all the machines in the testbed, I can do:
      
      sched_reserve testbed down pc1 pc2 pc3 [...] pc40
      
      and it will immediately reserve any free nodes, skip any that are already
      in testbed/down, and add an entry to the next_reserve table for any nodes
      that are already reserved. Then nfree checks for entries in the next_reserve
      table before it lets any nodes go (much like it does for the reloads table),
      and moves them into the expt before it can get reserved again. So we can
      guarantee that the next time a node is freed, it will be saved for us.
      
      Note that this can also be useful to accumulate nodes for a large experiment,
      since you can make sure you get them as soon as the current owner is done.
      e1f4263c
  14. 06 Jul, 2001 1 commit
  15. 02 Jul, 2001 1 commit
  16. 29 Jun, 2001 2 commits
  17. 26 Jun, 2001 1 commit
    • Robert Ricci's avatar
      New script: sshtb · 9de266c3
      Robert Ricci authored
      sshtb is a _very_ simple shell script that runs ssh with a few commandline
      parameters, which make it play nicer in an script environment. These
      parameters can be changed with the '--with-ssh-args' argument, but default to:
      '-q -o "BatchMode yes" -o "StrictHostKeyChecking no"'
      All ssh calls now use this script.
      9de266c3
  18. 20 Jun, 2001 1 commit
  19. 15 Jun, 2001 1 commit
  20. 08 Jun, 2001 1 commit
  21. 31 May, 2001 1 commit
  22. 30 May, 2001 1 commit
  23. 23 May, 2001 1 commit
  24. 09 May, 2001 1 commit
    • Leigh Stoller's avatar
      Configure changes. Instead of more and more arguments to configure · 7f36d33d
      Leigh Stoller authored
      (the new one is logs email address), move all those silly -with
      areguments into a definitions file. See defs-defaults and
      defs-stoller-emulab for examples. When you configure a development
      tree, you want to create your own defs file, and then configure like
      this:
      	/src/testbed/configure  \
      		--prefix=/usr/testbed/devel/stoller \
      		--with-TBDEFS=/src/testbed/defs-stoller-emulab \
      		--with-LEDA=/usr/testbed/LEDA/LEDA-4.0
      7f36d33d
  25. 03 May, 2001 2 commits
  26. 12 Apr, 2001 1 commit
  27. 09 Apr, 2001 1 commit
  28. 05 Apr, 2001 1 commit
  29. 29 Mar, 2001 1 commit
    • Leigh Stoller's avatar
      A set of change for exporting project and user directories only to · 407cd1ac
      Leigh Stoller authored
      machines in the experiment. exports_setup runs on paper and queries
      the DB, generating a set of export lines. That is sent over to
      plastic, and piped into exports_setup.proxy, which generates a new
      /etc/exports file and restarts mountd. All of the client setup scripts
      have been changed to mount the project and user directories.
      407cd1ac
  30. 23 Mar, 2001 1 commit
  31. 20 Mar, 2001 1 commit
  32. 19 Mar, 2001 1 commit
  33. 07 Mar, 2001 1 commit
  34. 03 Mar, 2001 1 commit
  35. 01 Mar, 2001 2 commits
  36. 21 Feb, 2001 1 commit
  37. 14 Feb, 2001 1 commit