Difference between revisions of "Virtualization (LXC Containers)"

From CSCWiki
Jump to navigation Jump to search
m (added to Software category)
(Added info about Linux containers)
Line 1: Line 1:
  +
= Linux Containers =
  +
  +
As of Fall 2009, we use [http://lxc.sourceforge.net/ Linux containers] to maintain a few virtual machines, most notably [[Machine_List#caffeine|caffeine]], which is hosted on [[Machine_List#glomag|glomag]]. The various commands to manipulate Linux containers are prefixed with "lxc-"; see their individual manpages for usage. To start caffeine, run the following command as root on glomag:
  +
  +
lxc-start -d -n caffeine init
  +
  +
Containers are stored on the host filesystem in /var/lib/lxc. mspang originally set this up, so he probably knows more about it than anyone else.
  +
 
= KVM =
 
= KVM =
   

Revision as of 11:43, 16 January 2010

Linux Containers

As of Fall 2009, we use Linux containers to maintain a few virtual machines, most notably caffeine, which is hosted on glomag. The various commands to manipulate Linux containers are prefixed with "lxc-"; see their individual manpages for usage. To start caffeine, run the following command as root on glomag:

lxc-start -d -n caffeine init

Containers are stored on the host filesystem in /var/lib/lxc. mspang originally set this up, so he probably knows more about it than anyone else.

KVM

KVM Homepage

VServer

Linux-VServer Homepage

vserver $NAME build -m debootstrap --hostname magic --interface $IFACE:$IP/24 -- -d lenny

To have a vserver autostart, create a file called /etc/vservers/$VSERVER/apps/init/mark with content:

default

QEMU

QEMU Homepage

VMware Server

VMWare Server Homepage