阅微草人的测试工作,伴随着初入社会的无奈艰辛彷徨,但是这些都会过去的,已经找到了自己的方向,正在努力中。学习像路飞那样的勇敢、自信、无畏、前进,真诚的伙伴。

【摘抄】Seven Tips on Virtual Test-Lab Automation

上一篇 / 下一篇  2008-09-17 10:15:17 / 个人分类:摘抄

Rz$L Q4@:R5OwN0Share this link: http://www.sdtimes.com/link/32864

lC+?}b9qV6gp051Testing软件测试网r j qQ4DJ

Seven Tips on Virtual Test-Lab Automation 
v6lf7r:R%l;R0By Edward J. Correia 
J,Gy3[;K;`051Testing软件测试网5e4O4o Hk)|DG}
September 16, 2008 — Last week I brought you 10 concepts for building successful automation scrīpts. This week, I’ve got seven automation ideas, with guidance on design and operation of a virtual test lab.
J$y$lNxu0
&JZ%yWzW J0As 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.
q`&BJuGC051Testing软件测试网 g[.[;_-p Kk_
Host capacity management51Testing软件测试网'D#wG%_n
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."
7| SK{p&u S!H n051Testing软件测试网2W-?zR S6Ui7y3e
Storage utilization
z]P;Gni8Sm(N0As 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."51Testing软件测试网O Tw0N~rA9h1G{-V
51Testing软件测试网1jLp1aR!NbH
Research product integrations51Testing软件测试网 ?Y4zD%B MoHo X-]
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."
F$|:u4MyE051Testing软件测试网et~!B yk
Automate
S^2cb*Vc0"Lab users should be able to automate the setup of multi-machine configurations independently, including the software stack, executing commands and scrīpts 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."
*Z.e,s6M3Xf,v0
P+`^4xZ0Single sign-on51Testing软件测试网 d(C4C"Xq6x)_)Adz
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."
lD!] g y0l;p&v1K4t051Testing软件测试网"v9N8ws2mC#^h
Create secure production-like environments
D/p#rDm O3x6P0The 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.
Kk"i+Hp9F,t0
u&c-b;IP0Minimize costs by centralizing
51Testing软件测试网/M h@ CVxzJz QY
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 scrīpts, snapshot configurations, licenses and so on. This ensures better utilization, reduction in rework necessary and a dramatic increase in employee productivity."
H!jc$U ?/\2M3R"LE]0
Y'Q!~_C]V0As 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.51Testing软件测试网 p%C ^qy

i0[$\(x:] Rvt'g0
X[$Q,eM;w4Z0Share this link: http://www.sdtimes.com/link/32864
51Testing软件测试网"T"c4C b}%Ld3Y


TAG: 摘抄

 

评分:0

我来说两句

Open Toolbar