1. 01 Jun, 2004 7 commits
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      Add genhostsfile directory. · 700b4b7e
      Leigh B. Stoller authored
      Clean up subdir stuff to use the standard -subdir rules.
    • Leigh B. Stoller's avatar
      New program to generate /etc/hosts on the remote node using an input · b6c3a192
      Leigh B. Stoller authored
      file derived from the topomap file (see initial log file gentopofile).
      Actually, none of the code in this program is new; I just copied out
      the guts of dohostnames() from tmcd, and replaced the DB queries with
      reads from stdin to get exactly the same data. The idea is that
      rc.hostnames on the node will generate the input from the topomap,
      feed that into genhostsfile, and feef the output of that into the same
      parsing code that is used to red the results from tmcd.
      There are also two utility scripts that I used for testing:
      	genfromdb pid eid | genhostsfile nodeid
      	cat topomap | genfromtopo | genhostsfile nodeid
    • Leigh B. Stoller's avatar
      Add call to gentopofile script. See initial log message for · 1e7c594f
      Leigh B. Stoller authored
      gentopofile.  Note that the call to "staticroutes -j" is still there
      while we transition over; eventually the -j option (which created an
      input file for ddijkstra) will be removed, since the client side
      rc.routes will generate that file on the remote node using the topomap
      generated by gentopofile.
    • Leigh B. Stoller's avatar
    • Leigh B. Stoller's avatar
      New program, called at prerun time, to generate a virtual topology · a9dea43d
      Leigh B. Stoller authored
      file in the experiment tbdata directory. This topo file is intended to
      be used on the node to generate inputs to dijkstra and genhostsfile,
      so that routes and /etc/hosts can be generated on the node, rather
      then in tmcd, where it creates a huge bottleneck during experiment
      startup of very large experiments (many 100s of nodes). This topo file is
      slightly more rational then just dumping DB rows like we do from the RPC
      server. For example:
      	# nodes: vname,links
      	node-1,lan0: link0:
      	# lans: vname,mask,cost
      Usage: gentopofile [-n] pid eid
      The file is written as "topomap" in the current directory.  Use the
      -n (impotent) option to dump the topofile to stdout rather writing to
      the file.
    • Leigh B. Stoller's avatar
      Remove hostnames from fullconfig; nodes will end up requesting this · c547c41b
      Leigh B. Stoller authored
      separately for now. This is in prepratation for computing hosts files
      on the nodes instead of in tmcd.
  2. 31 May, 2004 1 commit
  3. 28 May, 2004 4 commits
  4. 27 May, 2004 5 commits
  5. 26 May, 2004 7 commits
  6. 25 May, 2004 15 commits
  7. 24 May, 2004 1 commit