Seven Tips on Virtual Test-Lab Automation
Stories Columns Opinions Resources
Preflight builds spread wings for smoother projects
Developers are increasingly turning to preflight builds, allowing them to experiment with ...
|
Coverity creates program to enforce code adherence
The Architecture Analyzer uses mapping technology from the company's Software DNA static a...
|
QCon 2008 features domain-driven development
This year's QCon invites speakers like Eric Evans and Dan North to talk about domain-drive...
|
.NET similarities prove golden for Silverlight
Microsoft has focused on making Silverlight 2 symmetric with the .NET platform, and that h...
|
SOA Watch: New economic realities
In the current economic downturn, agile programming and SOA are attractive options that bu...
|
Integration Watch: A new twist on threads
The key to raising the efficiency of multiprocessors is to shrink the overall workload by ...
|
Integration Watch: The Return of NetRexx?
Java scripting languages are seeing a surge in popularity, with NetRexx looking particular...
|
Windows & .NET Watch: Transaction crowd gets a boost
With multicore chips becoming the standard for processors, the need for a flexible, usable...
|
From the Editors: Election should shake up JCP
Rod Johnson has the right ideas for opening up the Java Community Process, and he may be a...
|
Letters to the Editor: Sun gives REST, SOAP choice
A reader takes issue with a headline on our story about Sun working with REST along with S...
|
Guest View: Be smart and lazy
The optimal solution for problems is the simplest one, so always aim to streamline your ap...
|
Zeichick's Take: From EXEC to EXEC 2 to REXX to NetRexx
Andrew Binstock's column last week, "The Return of NetRexx," brought back some fond memori...
|
Advanced Corda CenterView™ Data Visualization for the BusinessObjects™ Intelligence Platform
Corda Technologies presents a white paper on pervasive BI. The BusinessObjects business in...
|
From Mobile to SOA: A Guide for Optimized Application Deployment
Customer need has driven the emergence of multiple computing tiers. Today’s application d...
|
e-Kit: Web Application Security
Is your network secure? What about your web applications.
If IT security is your top p...
|
Practical tips for saving money on code maintenance
If software design is expensive, well, code maintenance is even more so. When you look...
|
By Edward J. Correia
September 16, 2008 —
Last week I brought you 10 concepts for building successful automation scripts. This week, I’ve got seven automation ideas, with guidance on design and operation of a virtual test lab.
As software complexity continues to increase, you and your test lab staff will have to handle more of the load from software engineering and development departments, not to mention needing additional support and training. Virtualization has certainly helped testers do more with less, but efficiency and time gains can be quickly offset. The answer might lie in your ability to automate your virtual testing, and 20-year development veteran Ravi Gururaj is here to tell us how.
Host capacity management
With Microsoft launching Hyper-V bundled with Windows Server, VMware giving away ESX for free and others entering the market, Gururaj sees hypervisors soon reaching commodity status. And with the ability of modern hardware to run dozens of virtual machines on a single host, management quickly becomes an issue. "On average, for machine capabilities today, you should be able to plan for around 10 virtual machines on a single host," he says. "Based on your lab machine requirements, you can plan for an appropriate number of physical hosts, and server virtualization will ensure that the physical host utilization is maximized."
Storage utilization
As you plan for lab storage capacity, remember that certain products offer a "linked-clones" capability to optimize storage capacity. "Linked clones build a chain of VMs, maintaining only the differentials between images instead of storing the entire image," Gururaj explains. "In addition, the lab architecture should share a single storage [system] with multiple hosts. In this manner, your users will continue to have access to the storage even in case of unplanned downtime on one of the hosts."
Research product integrations
Automation solutions available today integrate with source control and test and build tools. Be sure to select one that works with your existing software infrastructure. "These tools can be integrated along with the central lab management system … [to] provide the power of each of these tools while maximizing the utilization of the virtual server farm in the lab." Better still are products with an open API. "This can be used for further customizations and enhancements. As you design the lab, you should keep these integration capabilities in mind, and leverage the appropriate ones for your development and test engineering community."
Automate
"Lab users should be able to automate the setup of multi-machine configurations independently, including the software stack, executing commands and scripts within the guest OS/VM." This eliminates user involvement and prevents errors from being introduced in a manual process. Such automation even can lead to hands-off IT management, under which IT staffs are provided with self-service capabilities to operate with minimal administrative involvement. "Leverage user quota settings, policies and user management capabilities, and enable collaboration between lab users to setup on-demand provisioning in the lab. Users across multiple locations and geographies can access [virtualization services] and serve themselves."
Single sign-on
Look for LDAP or Active Directory for authenticating users against a central company LDAP/AD database. "[This allows] you to map users and groups from LDAP as users and groups in the lab management system. These users can be mapped into appropriate roles or personas in the lab system, which would govern their access to lab assets."
Create secure production-like environments
The beauty of virtualization is in the ability to exactly duplicate production environments in the safety of the VM. "Once these environments are created, users should be able to run multiple isolated instances of [test apps] in parallel, for example, in development, testing and so on." At the same time, audit trails capture and recognize users who have accessed the lab, and when specific changes were made. "Furthermore, IT administrators should be able to lock down configurations, virtual machines and other lab resources from further change or access," in the event of a security compromise.
Minimize costs by centralizing
Centralized lab operations across multiple divisions, groups and even geographic locations can have a dramatic cost-lowering affect. "With the design for a central lab view, you can monitor and access lab utilization reports and statistics, and leverage synergies across groups." Such systems also help increase collaboration and sharing across these multiple teams and/or business units. "For example, users can share software scripts, snapshot configurations, licenses and so on. This ensures better utilization, reduction in rework necessary and a dramatic increase in employee productivity."
As virtualization becomes embedded in more of today's systems, it becomes ever more important to keep a handle on management. The way Gururaj sees it, virtual lab automation technology is a must-have for any lab manager. And of course he would; he is the founder and CTO of VMLogix, which makes automation tools for virtualization.
Share this link: http://www.sdtimes.com/link/32864