Cluster as a Service Demonstration
Contents
Demonstration Sequence
TThis very simple demonstration will show you how users can build an openstack cloud with CaaS (Cluster as a Service) and the nova deployment tool. It has the following sessions:
Launch LXC(Linux Container) for ComputeNode, API, Volume, Network and so on.
- Run nova deployment tool
- Confirm nova resource (compute node)
Launch LXC for ComputeNode
- Re-run nova deployment tool
- Confirm increase in nova resource (compute nodes)
You can take a look at the nova deployment tool at http://wiki.openstack.org/NovaInstall/NovaDeploymentTool
Network Configuration
Each cluster is isolated with a tagged VLAN that is handled with NATBox.
NATBox is a gateway for LXC containers.
- Out-bound: Eliminate VLANID
- In-bound: Append VLANID to transfer packets to the tagged VLAN network
Layers
- CaaS(Physical)
- Physical layer. OS is installed on physical machines.
- CaaS(LXC)
- LXC layer. A Tagged VLAN isolates LXC containers.
- IaaS
Cloud layer. OpenStack(nova).
Initially, One LXC container is launched on a server and nova is deployed on it by using the nova deployment tool. Finally, Nova is deployed on two physical servers.
Assumption
- Ubuntu10.04 is installed on two physical machines
- hostname: host1
- ipaddress: 192.168.2.25
- hostname: host2
- ipaddress: 192.168.2.26
- NATBox
- VLAN100 gateway for 192.168.10.0/24
- ipaddress: 192.168.10.1
- User
- ubuntu
DeployTool server
- hostname: host1
- ipaddress: 192.168.2.25
- LXC Container(for every nova component node)
- hostname: ubuntu011
- ipaddress: 192.168.10.50
LXCContainer(for ComputeNode)
- hostname: ubuntu012
- ipaddress: 192.168.10.51
Launch LXC
Launch a LXC container with a connection to a tagged VLAN network on a server with Ubuntu installed on it.
- Set configuration files for LXC launch
- LXC congratulation file settings
- OS configuration file settings
- Launch LXC
Run nova deployment tool
- Set configuration on the nova deployment tool server
- Set OS configuration on the LXC
- Set configuration of the nova deployment tool
- Run the nova deployment tool
Confirm nova resource (compute node)
Confirm nova resource (compute node)
Launch LXC for ComputeNode
- Set configuration files for LXC launch
- LXC congratulation file settings
- OS configuration file settings
- Launch LXC
Re-run nova deployment tool
- Set configuration on the nova deployment tool server
- Set the OS configuration on the LXC
- Set the configuration of the nova deployment tool
- Run the nova deployment tool
Confirm increase in nova resource (compute nodes)
Confirm increase in nova resource (compute nodes)