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

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

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

\R PD6y8rT _0Share this link: http://www.sdtimes.com/link/32864

*zr:p$k)M!A9h QY051Testing软件测试网,Qz2q'_fHi]/a

Seven Tips on Virtual Test-Lab Automation 51Testing软件测试网H0cNfi:?B5v
By Edward J. Correia 
:GU?yn~"iL5a051Testing软件测试网Fa8FP0V
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.51Testing软件测试网,L!q&H LT,|G
51Testing软件测试网bVx j9t Jw!`"M
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.
-?k3F+@:oh r6j2D0
6I;l#C { cv]"p G0P0Host capacity management51Testing软件测试网x W$VsjOZB
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."
&O+{]#L`)\` w&l7V |0
6oi)c,\B4h\tp0Storage utilization
~&~:Bq}0As 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软件测试网;gE(y-v;f*m
51Testing软件测试网lFl!DcsHY H#Z
Research product integrations
6g!Uh Ur$`E/SX0Automation 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."
$ps u4~3v:R \G051Testing软件测试网w!z ?7_%|%h
Automate
(u+T`,yS? V3ye(p_\ s0"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."
$Oco.Pr D]051Testing软件测试网/aP9Sfo"s_fln
Single sign-on51Testing软件测试网#f2PJ&nM#O0X|!M
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."
kL'Yc `V;w0
@5_ n?o QR#xofT h0Create secure production-like environments
4g6^d[K3bn3?0The 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.51Testing软件测试网`(P;ic%^\-[4K0Ay

C ^'j&]"Oip_0Minimize costs by centralizing

8?%f#p G?0Centralized 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."
yt `ck:}9f0
%jeP6y iMVv:D0As 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.
u*W1v ]c pXk051Testing软件测试网CD.k'z*DOwN-Dn

j%wg4S?3Z5v$kFR!]0Share this link: http://www.sdtimes.com/link/32864
51Testing软件测试网vEQ*R y


TAG: 摘抄

 

评分:0

我来说两句

Open Toolbar