1. 04 Jul, 2002 1 commit
  2. 24 Jun, 2002 1 commit
  3. 21 Jun, 2002 1 commit
  4. 20 Jun, 2002 1 commit
    • Leigh B. Stoller's avatar
      Change query; do not ping remote, virtual, or those stinky fishlike · a9a6b32d
      Leigh B. Stoller authored
      Add handler for remote nodes, which now report keepalive once a
      minute. Simply look at the timestamp and change status from up to
      down if it has not responded in more than 90 seconds. This is kinda
      crude, and mostly for the benefit of the web page. The wan solver
      will use the timestamps directly.
  5. 18 Jun, 2002 3 commits
  6. 16 Jun, 2002 1 commit
  7. 13 Jun, 2002 2 commits
  8. 11 Jun, 2002 5 commits
  9. 10 Jun, 2002 1 commit
  10. 05 Jun, 2002 3 commits
    • Robert Ricci's avatar
      Fix dumb mistake left over from debugging. · a0682e49
      Robert Ricci authored
    • Robert Ricci's avatar
      Two changes: · 5a4b0497
      Robert Ricci authored
      First, remove references to the IP columns, since those are now gone.
      Second, we now support a "magic node" that is assumed to be equivalent
      to the TBDB_WIDEAREA_LOCALNODE (ususally boss). Updates for the magic
      node are also applied to the localnode. Right now, this magic node is
      hardcoded in this script, on the assumption that no one but us will
      ever use this script. But, we could move it to a configure variable or
      even the DB if we need to.
    • Leigh B. Stoller's avatar
      Changes to sshtb. Remove sshremote, and convert sshtb into a perl · 231fc2b1
      Leigh B. Stoller authored
      script that checks the database to see if local or remote. The problem
      with this is that the ssh syntax makes it hard to determine the host
      name by inspection. Would need to parse all the ssh args (bad idea),
      ot work backwards and try to figure out the difference between the
      command (which is not a string but a sequence of args) and the host
      and the preceeding ssh args. Hell with that! Changed sshtb to require
      a specific -host argument. Read the args and look for it. Error out of
      not found, to catch improper usage.
      The moral of this update: "sshtb [ssh args] -host <host> [more args ...]
  11. 04 Jun, 2002 1 commit
  12. 31 May, 2002 2 commits
    • Mac Newbold's avatar
      Big round of changes. It is now basically done and ready for widespread use. · 3c45d681
      Mac Newbold authored
       - Make configurable options specifiable on the command line (idle
         time, packets/hour, "freshness" time).
       - Check how fresh our data is, and mark it as stale if it is old.
       - Add display options. Default is show only inactive, swappable, non-stale.
         Use -s flag to show stale expts too, and -u flag to show unswappable
         ones. (-s and -u display whether they're active or not)
       - Changes in the database optimized the queries for me, so instead of
         taking 10-15 seconds to run, it now takes 1.
      See usage (idlecheck -h) for more info.
      We're now ready to put this in a cron job and in idle view of the expt
      listing web page.
    • Robert Ricci's avatar
      Added a new function, TBWideareaNodeID . Given a physical node ID, · 68607a93
      Robert Ricci authored
      returns the node ID that should be used in the widearea_* tables.
      This is mainly so that we don't have to hardcode 'boss' as the local
      representative in too many places (all local node are assumed to
      have the same network characteristics as boss.)
  13. 30 May, 2002 1 commit
  14. 29 May, 2002 1 commit
    • Mac Newbold's avatar
      First useful version of idlecheck. · b7b88aa5
      Mac Newbold authored
      Current settings:
       - 4 packets/hour avg over last 24 hours (100pkts) is activity
       - use of a tty in last 24 hours is activity.
       - Latest report from slothd must be within last 120 minutes.
       - Shows all expts that are not known to be active. This includes
         expts that we don't have any information on. I plan to fix this so that
         expts that are reporting are very different from those without reports.
       - Because of the above, we're quite conservative in marking nodes
         active. When the above gets fixed, this will be better.
       - Displays unswappability. We may in some cases still want to harass
         owners of unswappable expts, since they can mark it arbitrarily.
       - Currently takes ~10 seconds to run. I plan to run the queries
         through explain and try to optimize them a little better, or even
         simplify where possible.
      The output of this script is what will eventually get used in idle
      view of the web page. Unless optimization makes this script run in
      less than 1 second, we'll most likely need some sort of caching of
      these results before being able to use them in the web page. Perhaps
      stashing them in the db with the time the idleness was detected, so it
      is easy to get to.
  15. 28 May, 2002 2 commits
  16. 24 May, 2002 1 commit
  17. 17 May, 2002 1 commit
  18. 16 May, 2002 1 commit
    • Robert Ricci's avatar
      New script: grabron · 8bc28a0b
      Robert Ricci authored
      This script grabs updated latency from Dave Andersen't database
      of RON information, and sticks it into the widearea_recent table.
  19. 14 May, 2002 2 commits
  20. 13 May, 2002 2 commits
  21. 08 May, 2002 1 commit
  22. 06 May, 2002 1 commit
  23. 22 Apr, 2002 3 commits
  24. 17 Apr, 2002 1 commit
    • Robert Ricci's avatar
      Moved EventSend calls to the TBSetNodeEventState() function. This has · 15c13c32
      Robert Ricci authored
      two benefits: (1) More general (2) Regains ability to run without the
      event system. Previously, since programs that watned to set node state
      had to 'use event', this broke our ability to run without the event
      system. Now, we can do a check in libdb for the event system, and not
      use it if EVENTSYS is not set. If not, we update state in the database
      directly rather than sending an event.
      Also added equivalent calls for node operational mode, as well as new
      constants for both state and mode.
      Converted power and node_reboot to use this new scheme.
  25. 15 Apr, 2002 1 commit