110 likes | 220 Views
Grid testing using virtual machines. Stephen Childs*, Brian Coghlan, David O'Callaghan, Geoff Quigley, John Walsh Department of Computer Science Trinity College Dublin, Ireland. Overview. Description of Grid-Ireland Why use virtual machines? Required components for a VM testbed
E N D
Grid testing using virtual machines Stephen Childs*, Brian Coghlan, David O'Callaghan, Geoff Quigley, John Walsh Department of Computer Science Trinity College Dublin, Ireland
Overview • Description of Grid-Ireland • Why use virtual machines? • Required components for a VM testbed • Design of TCD TestGrid system • Using the TestGridBuilder • Conclusion and future plans
Grid-Ireland • Irish National Computational Grid • 6 sites now, 17 sites by Feb’05 • Grid Operations Centre at TCD • Homogeneous core infrastructure: • 1 grid gateway per site composed of FW/LCFG/CE/SE/UI/MON/NM • Heterogeneous compute resources: • RH 7.3, RH 9, FC 2, AIX, IRIX
Why use VMs for Grid testing? • Need a realistic test environment • Deployment: test new releases on replica sites before roll-out (n*gateways) • Middleware development: want a full site image to play with (gateway + n*WNs) • Porting: to different distros (n machines) • that’s cost-effective and easy to use • VMs make good use of hardware budget • Fewer machines = easier management
Aims of TCD TestGrid • Support fast creation of new VMs based on standard configurations • Provide developers with an interface for configuring and creating VMs • Facilitate construction of multiple test sites and clusters • Creation of new sites • Addition of nodes to existing sites
Required components Xen: command-line and Web interfaces, low overhead, supports patched Linux kernels LVM: snapshots allow copy-on-write FS images LCFG: profile controls network config, package installation, etc.
System design • File system: • Library of FS images stored on VM host • Each new VM takes a copy-on-write snapshot of a base image • Networking: • VM eth0 bridged onto real NIC • IPs specified by user or allocated from site pool • LCFG profile based on node type and site • Web interface for configuring new VMs
System design Physical machine
Creating a new worker node VM System User Set node type and other params via web Create new profile from WN template Create new snapshot of WN file system Configure network settings, copy profile Boot new VM with appropriate options Log in using Xen console or ssh
Conclusions and future work • VMs allow developers to build new test environments quickly • Evaluation of components: • LVM snapshots almost production-ready • Xen performance is impressive • LCFG adequate now; quattor the way forward • UI needs more work and user feedback • Need to integrate GridSite for security • Work on networking ongoing