Agile testbed/Cloud
From PDP/Grid Wiki
Revision as of 14:35, 2 February 2010 by Wvengen@nikhef.nl (talk | contribs)
There is an effort to add a cloud to the Agile testbed. It is based on OpenNebula and currently runs on melkbus.nikhef.nl only, and currently in development.
Networking
- Plug'n'play networking
- MAC and IP addresses handed out by OpenNebula
- An OpenNebula hook will be added to register the machine's name with DNS dynamically
- There will be three networks, initially:
- Closed: no internet connection (vbr0, 10.198.5.0/24)
- Private: internet access, masqueraded to the outside world (vbr1, 10.198.6.0/24)
- Public: public IP addresses, bridged (vbr2)
Image repository
There will be an image repository at /srv/cloud/images/repo containing base images for various operating systems. These will be updated daily by a cronjob.
Contextualisation
When a cloud machine is instantiated from a base image from the repository, the machine should still be configured for the specific instance. This is done by an init script that is present in all base images, which sets up the network and runs any machine-specific initialisation. The OpenNebula contextualisation features will be used for this.
Future directions
When the cloud is properly setup, future directions can be explored like:
- Secure networking: ebtables and iptables hooks to only allow allocated mac/ip from node
- Using virtual machines from within Hudson
- for on-demand build slaves (multiple platforms)
- for tests running on virtual machines
- Moving other parts of the testbed to the cloud, if it turns out to be an improvement.