Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


June 25, 2008

VMware and PowerShell: Managing ESX Server from the Command Line

RSS
Subscribe to Windows IT Pro | See More Products / Software Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

VMware and PowerShell:

Managing ESX Server from the Command Line

By Jeff James

 

Now that virtualization has become an integral part of the IT infrastructure of so many companies, virtualization software management vendors are seeing a burgeoning market ripe with opportunity. I’ve written about managing virtual sprawl in a past issue of Virtualization UPDATE, and sprawl-inducing pressures still exist in the market: It’s as easy as pie to start, copy, and deploy virtual machines (VMs), which makes it a snap to deploy hundreds of the little buggers very quickly. Managing the resultant crowd of VMs is a different story.

      Microsoft thinks it has a winning VM management solution with its upcoming Microsoft System Center Virtual Machine Manager (VMM) 2008, a product that will manage not only Hyper-V VMs, but also those from Xen and VMware. (Download the VMM 2008 beta here.) VMM is built on top of Windows PowerShell, the flexible command-line scripting platform that Microsoft is incorporating into many of its new products. PowerShell has generated considerable excitement among scripting-savvy IT pros and developers, and will likely contribute to making VMM 2008 a powerful VM management tool.

      Given the capabilities and popularity of PowerShell, it’s no surprise that third-party vendors are supporting it in their own products. VMware has done just that with its VMware Infrastructure Toolkit (for Windows), which is currently in beta. (You can download the VI Toolkit beta here.)

      VI Toolkit lets you use PowerShell to manage several VMware products, including VMware ESX Server and VMware Infrastructure 3. More than a hundred PowerShell cmdlets are currently available, and VMware's VI PowerShell team hopes to add even more. Existing cmdlets let you monitor and report on your virtual infrastructure, clone templates, take snapshots of VMs, and even migrate VMs between hosts. VMware’s Carter Shanklin has blogged—and produced a screencast—about using the VI Toolkit with the PowerShell 2.0 CTP to manage VMware’s VMotion product. Carter used some VMware PowerShell community extensions in his demonstration, which you can see in video form here.

      To make using the VI Toolkit even easier, Quest Software has released a VMware power pack for its popular PowerGUI application (which won the Windows IT Pro Breakthrough Product award at TechEd IT Professionals 2008 earlier this month). The power pack lets IT pros use PowerGUI in conjunction with VI Toolkit to manage VMware VMs, data centers, hosts, server connections, and other aspects of a virtualized environment. You can download the PowerGUI power pack for VI Toolkit here.

      Although keeping tabs on your virtual environment and taming the VM management beast might take some effort, creative developers are providing tools that transform that often onerous task into something more manageable. And unlike some other VM management tools on the market, VI Toolkit and PowerGUI are free. These tools might not offer the pretty management consoles and report functions that more expensive solutions do, but PowerShell aficionados will find a lot to like with this low-cost, high-performance alternative.

 

Editor’s Note: For more information about using PowerShell and PowerGUI with ESX Server, see the Tips & Tricks section below.

 

 

 

Virtualization News

By Jeff James

 

Seanodes Unveils Exanodes Virtual Machine Edition

Server storage virtualization vendor Seanodes has announced Exanodes Virtual Machine Edition, a new product that lets IT pros consolidate OS and application storage on a virtual SAN. According to a Seanodes news release, Exanodes VM Edition integrates with existing server virtualization solutions and can leverage virtualization technology to convert DAS into NAS. Exanodes VM Edition starts at $500 per terabyte and is available now. For more information about Seanodes, go to www.seanodes.com.

 

Veeam Software Acquires nworks

Mergers and acquisitions are a constant in the growing market for virtualization products, a lesson not lost on Veeam Software. Veeam recently announced that it has acquired nworks, a developer of enterprise software management connectors for HP OpenView and Microsoft System Center Operations Manager. Managing VMs has become a pressing concern for IT pros, and Veeam (through the acquisition of nworks and its connector technology) can provide a comprehensive management  solution that helps integrate VMware products with systems management software from HP and Microsoft. "By combining Veeam’s resources with nworks’ proven enterprise management expertise, we are moving the industry closer to eliminating the management separation of the physical and virtual worlds that has been problematic since the inception of virtual infrastructures,” says Ratmir Timashev, Veeam president and CEO. For more information about the acquisition, go to www.veeam.com.

 

Open-E Announces VMware Certification

Storage management software provider Open-E has announced that its Data Storage Server (DSS) IP-Storage operating software has been certified to work with VMware ESX Server 3.5. According to an Open-E news release, DSS is an “all-in-one, fourth generation operating system software solution for centralized IP-storage management, combining full NAS and iSCSI SAN functionality.” For more information about DSS and its VMware certification, go to www.open-e.com.

 

 

 

Virtualization Tips & Tricks:

PowerShell, PowerGUI, and the VMware VI Toolkit

by Jeff James

 

To get the most out of using PowerShell with your VMware infrastructure, you’ll need to download and install a few things. I’ll assume that you already have a VMware virtualization solution up and running in your IT environment and that you’re running one of the following platforms:

 

·         Windows XP Service Pack 2 (SP2, x86)

·         Windows Server 2003 Service Pack 1 (SP1, x86)

·         Windows Server 2003 Service Pack 2 (SP2, x86)

·         Windows Server 2003 R2 (x86)

·         Windows Vista (original release) (x86)

 

The VMware VI Toolkit supports only these platforms—it doesn't currently support non-Windows environments. Now let’s get started:

 

1.     Download and install either PowerShell 1.0 [download] or the PowerShell 2008 CTP [download].

Note: The PowerShell 2008 CTP is needed only if you want to use some of the features introduced in the VMware VI Toolkit community extensions.

 

2.     Download and install the VMware Infrastructure Toolkit 1.0 Beta (for Windows). [download]

 

3.     Download and install the VMware PowerShell community extensions. [download]

Note: There are only three cmdlets in this package, but VMware will likely add more cmdlets to the community extensions in the future. The extensions also require installation of the PowerShell 2008 CTP.  

 

4.     Download and install Quest Software’s PowerGUI. [download]

Note: PowerGUI is not required to use PowerShell with the VMware VI Toolkit, but it does make your PowerShell scripting tasks even easier.

 

5.     Download and install the PowerGUI power pack for the VI Toolkit. [download]

Note: If you want to use PowerGUI with the VI Toolkit, this power pack is a must. With it, you

can easily create bulk scripting operations and jump back and forth between managing VMs and physical hardware.

 

After you’ve followed these steps, you'll be ready to start using PowerShell to manage your VMware virtual environment.

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

Windows Mobile: What Went Wrong?

Paul discusses the evolution of Windows Mobile and why he thinks the platform is probably doomed. ...

Microsoft Makes Windows 7 Name Official

It's official: Microsoft's next Windows version, currently being developed under the codename Windows 7 will use that moniker as its official final name when it hits the market in early 2010. The news, delivered as is so often the case these days via a ...


Related Articles VMware and Microsoft Battle over Desktop Virtualization

Managing Virtual Sprawl

Managing your Virtualized Resources, Microsoft-Style

Virtual Machine Manager’s Significance

Storage Whitepapers Combining Deduplication and VMware Disaster Recovery: Cascading Savings Improves Cost Effectiveness

Virtualizing Microsoft Exchange Server 2007

StoreVault SnapManagers for Microsoft Exchange and SQL Server

Related Events Check out our list of Free Email Newsletters!

Storage eBooks A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Keeping Your Business Safe from Attack: Encryption and Certificate Services

Related Storage Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Microsoft Exchange & Windows Connections event returns to Las Vegas Nov 10 - 13
Connections returns to Las Vegas for this exciting event where each attendee will receive SQL Server 2008 standard with 1 CAL. Co-located with Microsoft ASP.NET, SQL Server, and SharePoint Connections with over 250 in-depth sessions.

Free Online Event! Virtualization:Get the Facts!
Register now and attend this free, live in-depth online conference on November 13 and 20, 2008, produced by Windows IT Pro. All registrants are eligible to receive a complimentary one-year digital subscription to Windows IT Pro (a $49.95 value)!

Check Out Hyper-V Video on ITTV
Watch Karen Forster's interview on Hyper-V's performance on ITTV.net.

Ease Your Scripting Pains with the Flexibility of PowerShell!
Join MVP Paul Robichaux on December 11, 2008 at 11:00 AM EDT as he equips you with PowerShell basics in 3 introductory lessons, each followed by a live Q&A session—all on your own computer!

PASS Community Summit 2008 in Seattle on Nov 18-21
The don’t-miss event for Microsoft SQL Server Professionals. Register now and you’ll enjoy top-notch Microsoft and Community speakers and more.



Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.

Email Recovery and eDiscovery for Microsoft Exchange!
Discover, Recover, and Export mailboxes, folders and individual items direct from offline EDB’s or online production Exchange Servers. Free 30 Day Demo.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing