You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

CloudStack uses system vms extensively to offload the control plane ("management server") from being in the data path. There are 3 kinds of system vms:

  1. Those used to provide network services such as DHCP, routing, firewall, load balancing (e.g., VirtualRouter)
  2. Those used to provide image services ("Secondary Storage Virtual Machine" SSVM)
  3. Those used to provide console services ("Console Proxy VM")

Some of the virtues of these system vms are:

  1. automated scaling of services provided by these system vms
  2. standardized deployments
  3. minimal requirements on the control plane (i.e., just the hardware required to run the management cluster)

However the system vms are intertwined into the 'bootstrap' phase of the cloud and often times result in failure to start the cloud.
Another issue is that certain choices are made inside these system vms (for e.g., mount options for the secondary storage) that may not be ideal or optimal for the cloud environment.
A third issue is that the dependence on system vms hampers the introduction of support for new hypervisors.
Finally the requirement to bring up system vms prior to first user vm booting leads to longer development-debug cycles.
To avoid these issues while preserving the benefits of the system vms, it is proposed:

  1. To enable a cloud to "boot" with services managed and running on non-cloudstack-managed servers
  2. To enable a development environment based on DevCloud ("QuickCloud") that eschews the use of system vms
  3. To allow the cloud administrator to choose to provide these services the "old" way after booting in the QuickCloud fashion

Secondary Storage

The secondary storage vm runs a java daemon that starts up on boot of the SSVM. This java daemon connects back to the management server. The daemon was originally designed to run alternately as a standalone process (just like the KVM agent), but over time the execution environment has been assumed to be the system vm. QuickCloud will bring back that ability

Console Proxy

The concerns and the approach are the same as Secondary Storage

DHCP and DNS

DHCP and DNS services are traditionally provided by the dnsmasq service running inside the system vm. 

  1. Basic Zone: It is proposed to run a single dnsmasq process in the entire zone that is controlled via a REST API
  2. Advanced Zone: System VMs will continue to be used.
  • No labels