1. 23 Jul, 2013 2 commits
  2. 12 Dec, 2012 1 commit
  3. 03 Oct, 2012 1 commit
  4. 28 Sep, 2012 1 commit
  5. 25 Sep, 2012 1 commit
    • Leigh B Stoller's avatar
      Changes to support XEN shared nodes and guest snapshots. · 2489c09b
      Leigh B Stoller authored
      Snapshots are done a little differently then openvz of course, since
      there are potentially multiple disk partitions and a kernel. The basic
      operation is:
      1. Fire off reboot_prepare from boss. Changes to reboot_prepare result
         in the guest "halting" insted of rebooting.
      2. Fire off the create-image client script, which will take imagezips
         of all of the disks (except the swap partition), and grab a copy of
         the kernel. A new xm.conf file is written, and then the directory
         is first tar'ed and then we imagezip that bundle for upload.
      3. When booting a guest, we now look for guest images that are
         packaged in this way, although we still support the older method
         for backwards compatability. All of the disks are restored, and a
         new xm.conf created that points to the new kernel.
  6. 24 Sep, 2012 1 commit
    • Eric Eide's avatar
      Replace license symbols with {{{ }}}-enclosed license blocks. · 6df609a9
      Eric Eide authored
      This commit is intended to makes the license status of Emulab and
      ProtoGENI source files more clear.  It replaces license symbols like
      "EMULAB-COPYRIGHT" and "GENIPUBLIC-COPYRIGHT" with {{{ }}}-delimited
      blocks that contain actual license statements.
      This change was driven by the fact that today, most people acquire and
      track Emulab and ProtoGENI sources via git.
      Before the Emulab source code was kept in git, the Flux Research Group
      at the University of Utah would roll distributions by making tar
      files.  As part of that process, the Flux Group would replace the
      license symbols in the source files with actual license statements.
      When the Flux Group moved to git, people outside of the group started
      to see the source files with the "unexpanded" symbols.  This meant
      that people acquired source files without actual license statements in
      them.  All the relevant files had Utah *copyright* statements in them,
      but without the expanded *license* statements, the licensing status of
      the source files was unclear.
      This commit is intended to clear up that confusion.
      Most Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the Affero GNU General Public License, version 3
      Most Utah-copyrighted files related to ProtoGENI are distributed under
      the terms of the GENI Public License, which is a BSD-like open-source
      Some Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the GNU Lesser General Public License, version 2.1
  7. 06 Jun, 2012 1 commit
  8. 03 May, 2012 1 commit
  9. 06 Mar, 2012 1 commit
  10. 25 Feb, 2012 1 commit
  11. 23 Feb, 2012 1 commit
    • Leigh B Stoller's avatar
      Couple of utility scripts to capture and restore XEN vms so that we · c159032d
      Leigh B Stoller authored
      can move them elsewhere.
      	capturevm.pl pcvmxxx-yy boss
      will create a directory called boss and take imagezips of all the lvms
      into that directory. A slightly modified xen config is written to the
      directory. The XEN VM should not be running of course, and the easiest
      way to stop it (without losing the disks) is:
      	/usr/local/etc/emulab/vnodesetup -jh pcvmxxx-yy
      Copy the directory someplace, and then run:
      	restorevm.pl boss /path/to/above/stuff
      which create new LVMs and then imageunzip the contents into them. A
      slightly modified xen config file is then written to /var/tmp, which
      can started with "xm create /var/tmp/boss.conf".
      No rocket science here, but this was the easiest way to get all the
      disks we create for XEN elabinelab, and since they can pretty big, we
      want to use imagezip.