Archive for January, 2009
VMware released version 1.5 of the VI Toolkit for Windows – the PowerShell management and reporting tool of choice for many VMware administrators. The new version carries build number 142961. You can download v1.5 here: http://blogs.vmware.com/vipowershell/. The update includes some 32 new cmdlets, including ones for getting/setting NTP settings on ESX, getting/setting Advanced configuration options on ESX, getting/setting ESX Firewall settings, and the ability to modify DRS rules using PowerShell. Existing cmdlets have also been updated with new parameters, and several fixes have been introduced. Check out the release notes here: http://www.vmware.com/support/developer/windowstoolkit/wintk15/windowstoolkit15-200901-releasenotes.html.
There are plenty of examples on the Internet to get you started with the VI Toolkit for Windows. Check out these sites to get started:
Start at the VMware Community site for the Windows Toolkit for great examples and a little help from some friends: http://communities.vmware.com/community/developer/windows_toolkit/
There are also some good example scripts and resources floating around, such as:
http://vmetc.com/2008/08/27/powershell-scripting-examples-for-vmware-virtual-infrastructure/
http://www.peetersonline.nl/
http://www.ivobeerens.nl/?p=106
http://www.vmguru.com/
Not a hard-core scripter? Grab this handy tool for a little GUI on your PowerShell, and extend it with the VMware Infrastructure PowerPack 2.0
What tools or examples are you using to extend the power of PowerShell into your Virtual Infrasturucture? Leave a comment to share!
Between budget cuts and New Year’s resolutions, improving your security posture is probably near the top of your to-do list. Much has been made of security concerns in a virtual environment, but it is always good to re-visit your configurations and make sure they are still on par with recommended best practices. I began re-reviewing VI security best practices after reading at post by Bob Plankers at The Lone SysAdmin (Bob has been on my reading list for years – he has a great style and always brings fresh insights) on why you would want a second super-user account on your ESX servers.
We certainly all have our own opinions and operations procedures when it comes to configuring and hardening our environments, but I decided to take a look at what the experts had to say on this particular subject and other basic build and hardening recommendations. Here is what I found:
VI3.5 Security Hardening Whitepaper
Defense Informaion Systems Agency (DISA) ESX Server Security Technical Implementation Guide
As a side note, DISA publishes many STIG’s at http://iase.disa.mil/stigs/. Your tax dollars paid for these, so you might as well check them out.
NSA VMware ESX Server 3 Configuration Guide
There are also numerous tips and scripts for locking down your virtual infrastructure in the VMware Community Forums (Start here: http://communities.vmware.com/message/941372).
So back to the question of second super user accounts: It seems that best practices are to create a second user account with sufficient access to the console, granting that user SUDO privledges, and then disabling the default root account.
I wrote about a method for determining guest free disk space using a PowerShell script a couple weeks ago. Scott Lowe picked up the post on his blog last week. Since then I have had several other conversations with folks looking the best way to report on inefficiencies in their environments (it’s the economy, stupid) and mitigate those inefficiencies as budgets get tighter.
When it comes to reporting there are a ton of options available. The solution you choose will be dependent on your environment and the tools you already have in place. Small and Medium-sized Businesses (SMB’s) often do not have full blown, network-wide monitoring and management solutions, so VMware-specific solutions are often a great fit. There are several examples beyond my simple script, and many are free. The short list includes: Mightycare Solutions MCS StorageView 1.1, Rich Garsthagen’s VCplus, and Rob de Veij’s RVTools.
There are many other mid-tier solutions – both enterprise-wide and VMware specific – constantly emerging as the virtualization ecosystem matures. Offerings from ManageIQ, Embotics, Veeam, V-Kernel, Zenoss, Hyperic, and others are increasingly able to provide fresh and relevant data on what is happening under the covers in your virtual environment.
Larger IT shops most likely have a systems monitoring solution easily capable of reporting this – think offerings from the likes of Microsoft, Altiris, BMC, or CA. The trick in these solutions is narrowing down the information to your virtualized resources and getting the information to the right teams. Customized reports using fields such as the BIOS Vendor string can help show only servers running VMware, for example. As a side note, the Vendor BIOS string can also come in handy when applying Group Policies (GPO), allowing you to filter policies for only virtualized resources (disabling screen savers on Windows guests through GPO is a good example of this).
And don’t forget, we’re not reporting for reporting sake. We’re after relevant information that allows us to be more efficient and proactive in the overall goals of our environments. Good reporting identifiies areas in need of improvement, and smart system administrators look for creative ways to improve their systems efficiency.
NetApp has extended their 50% Virtualization Guarantee to include Citrix Xen and Microsoft Hyper-V. The program, first announced in 2008, initially covered only VMware virtualization solutions. The 50% Guarantee program is a catchy way to get folks thinking through the cost savings that virtualization can offer when combined with shared storage (and in this economy who isn’t thinking about savings!).
NetApp has linked several Technical Reports on the 50% Virtualization Guarantee program site that are worth reading even if you are not preparing for a new storage purchase. Here are links to the TR’s:
- Best Practices for Citrix Xen Server
- Best Practices for Microsoft Hyper-V
- Best Practices for VMware Virtual Infrastructure
Are you planning new storage purchases this year? If so, how do vendor resources and marketing tools like the 50% Virtualization Guarantee affect your decisions?




