Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This docoument contains the design specification for LXC support in Cloudstack.

References

...

Feature Specification

LXC will be implemented as a hypervisor in Cloudstack and will be a first class citizen to the other hypervisors such as Xen, KVM, VMWare. As such, a user will be able to select LXC as the hypervisor for all areas a hypervisor is selectable and where the system resources have been met.

...

We will need to create a System VM for LXC. Until this is ready, we can run a second cluster with a KVM/Xen host to provide the System VM functionality.

...

TODO: investigate

Development/testing notes

After you have your development environment setup, here are additional things to note:

  • Download code from Github: https://github.com/gilt/incubator-cloudstackImage Modified (lxc branch)
  • Load datamodel in cloudstack/setup/db/lxc.sql
  • We do not yet have LXC System VMs. Make sure you have a KVM/Xen host to run the System VMs for your setup.
  • On the LXC host, modify /etc/cloud/agent/agent.properties

...

    • add: hypervisor.type=lxc
  • Datamodel includes a sample LXC image that will be downloaded by the SecondaryStorage VM. There is an account with sudo: cloud/cloud.