Virtualization (LXC Containers): Difference between revisions

From CSCWiki
Jump to navigation Jump to search
(mention /vm)
No edit summary
Line 6: Line 6:


Containers are stored on the host filesystem in /var/lib/lxc (root filesystems are symlinked to the appropriate directory on /vm). mspang originally set this up, so he probably knows more about it than anyone else.
Containers are stored on the host filesystem in /var/lib/lxc (root filesystems are symlinked to the appropriate directory on /vm). mspang originally set this up, so he probably knows more about it than anyone else.

= KVM =

[http://kvm.qumranet.com/ KVM Homepage]


= VServer =
= VServer =
Line 19: Line 15:
To have a vserver autostart, create a file called /etc/vservers/$VSERVER/apps/init/mark with content:
To have a vserver autostart, create a file called /etc/vservers/$VSERVER/apps/init/mark with content:
default
default

= QEMU =

[http://fabrice.bellard.free.fr/qemu/ QEMU Homepage]

= VMware Server =
[http://vmware.com/products/server/ VMWare Server Homepage]


[[Category:Software]]
[[Category:Software]]

Revision as of 21:23, 21 June 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

Containers are stored on the host filesystem in /var/lib/lxc (root filesystems are symlinked to the appropriate directory on /vm). mspang originally set this up, so he probably knows more about it than anyone else.

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