1. 15 Oct, 2003 1 commit
  2. 02 Oct, 2003 1 commit
    • Mike Hibler's avatar
      Add yet another route to jails: an interface route for the real control net. · 9fd95b1a
      Mike Hibler authored
      Previously, if you accessed a phys node by its real IP address (155.101.132.N)
      from inside a jail, it used the default route going to the router and back.
      Now it will put it out directly on the control net.
      
      The main reason for this is so that minibed vnodes can reach their boss and
      ops nodes.  Vnodes in mini don't have a default route that works, so we needed
      a way to get to boss/ops.
      
      Note that gated will remove this route when it starts up.  Thus, vnodes will
      revert to using the default route to get to the real control net.  On mainbed,
      this will still work (hop through the router as before).  On mini, it won't
      work at all.
      
      Moral: don't use session routing and vnodes on mini.
      9fd95b1a
  3. 30 Sep, 2003 1 commit
  4. 03 Sep, 2003 1 commit
  5. 29 Aug, 2003 1 commit
    • Mike Hibler's avatar
      (Most of) the rest of the gated-in-jail changes. · 7ad42ea2
      Mike Hibler authored
      Add a -V option to mkjail.pl telling it to use the virtual control net
      IP (172.16.0.1) for the default route instead of the real control net
      IP (155.101.132.1).  In this case, it also assigns a virtual control net
      IP alias (172.17.<pnode>.0) to the physical interface so that the
      aforementioned routes can actually be installed.
      
      Add the same -V option (only valid with -j) in vnodesetup so that we
      can get it through from bootvnodes.  (Also cleaned up the usage message
      some)
      
      The virtual control net address/mask are currently constants in mkjail.pl.
      At some point they can/should be changed to config time options so that we
      can easily use this on minibed too.
      
      In theory, this (-V) shouldn't be an option and we should just use
      virtual control net routing all the time.  But I want to get some more
      testing and we have to resolve the minibed conflicts first.  So for now,
      this is an option and it is off by default.
      
      Haven't tied this option in with gated yet, so creating a vnode experiment
      with Session routing still won't work.  If you want to do that, create the
      experiment, watch gated blow up right and left, login to all the physical
      nodes and change bootvnodes to add -V to the invocation of vnodesetup,
      and then reboot everything.  Now it should be working!
      7ad42ea2
  6. 27 Aug, 2003 5 commits
  7. 04 Aug, 2003 1 commit
  8. 31 Jul, 2003 1 commit
    • Leigh B. Stoller's avatar
      Add Mike's NFS/NULL mount changes to mkjail.pl · 5b16105a
      Leigh B. Stoller authored
      Also a couple perf hacks:
      
      * Local vnodes can start with the password/group file from the
        physnode, since locally they will be the same anyway. This avoids a
        blizzard of accounts requests at startup, which is by far the
        biggest chunk of data returned (well, except for host tables).
      
      * To help serialize boot startup, vnodesetup now waits for the jail to
        finish starting up before it exits. It does this via a "goofy"
        mechanism I will not bother to describe.
      5b16105a
  9. 24 Jun, 2003 1 commit
  10. 06 Jun, 2003 1 commit
  11. 18 Apr, 2003 1 commit
    • Leigh B. Stoller's avatar
      A small set of changes to allow setting the hostname of the jail just · a8d81694
      Leigh B. Stoller authored
      like we set hostnames of local nodes (v0.wa-jail-link.testbed.emulab.net).
      Also build a proper /etc/hosts file just like local nodes inside the
      jail. Minor change to dohostnames(); do not munge /etc/hosts in place!
      Generate a new copy and then atomically move into place. Phew, this
      was a close one! Mike has me really worried about race conditions now
      that I screwed the pooch in the frisbee client.
      a8d81694
  12. 17 Apr, 2003 1 commit
  13. 28 Mar, 2003 1 commit
  14. 15 Jan, 2003 1 commit
    • Leigh B. Stoller's avatar
      Add vnconfig fixes that Mike told me about a long time ago, and I · eb2f42a3
      Leigh B. Stoller authored
      totally forgot about (vnconfig does not return error status when a vn
      device is busy). This was casuing the crashes.
      Add a local only kludge to NFS mount /user and /proj into the jails. I
      hate this. Should be using SFS, but without an agent thats not really
      possible.
      Add sshdport config setup from jailconfig. Look for that in the jail
      config file and pass to jail.
      eb2f42a3
  15. 07 Jan, 2003 1 commit
  16. 06 Jan, 2003 1 commit
    • Leigh B. Stoller's avatar
      tunefs the newly created vnode FS and dial the minfree down to 2 · 9b6932b7
      Leigh B. Stoller authored
      percent, and optimize for space. Prelude to creating smaller jails
      on local nodes, as soon as I can get SFS running inside a jail the way
      I want it (in which case users will have access to their project and
      home dirs on the file server).
      
      Add Mike's IPADDR change, with slight modification. tmcd will specify
      a list of ip addresses as a comma separated list, which are converted
      to -i options to pass to jail. Kernel will restrict bind to these IPs.
      9b6932b7
  17. 20 Dec, 2002 1 commit
  18. 18 Dec, 2002 1 commit
  19. 27 Sep, 2002 1 commit
  20. 26 Sep, 2002 1 commit