Versions Compared

Key

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

...

LXC containers are created using libvirt in cloudstack. Libvirt domain xml will be modified to support additional features. KVM system Vms are used for LXC, so most of the networking features are already supported.

Storage

  • ROOT Disk: NFS and local storage
  • DATA disk: Support data disk while creating container. 
  • Support attach/detach disk. attach-disk and detach-disk are supported by libvirt (since 1.0.2) for lxc. Same will be leveraged to support attach/detach data volume.
  • Support Ceph storage that will appear as block device on host using RBD
    • Configure and create Ceph RBD on host and make it visible in the container using host passthrough configuration
    • <hostdev mode='capabilities' type='storage'>
      <source>
      <block>/dev/rbd1</block>
      </source>
      </hostdev>
  • Migrate volume of a stopped container. Container root volume will be migrated across primary storages by copying compressed tar.gz of the root file system. 

...