Bring chargeback management to your VMware environment

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

TUTORIAL

Virtualisation of servers is a topic that almost all IT professionals have on their scope. Every task — from reducing a hardware footprint, a consolidation strategy, remote disaster recovery, test environments, space savings, to thermal management, as well as many other initiatives — can involve virtualisation for the server space.

However, a properly planned virtualisation environment can also be expensive in terms of hardware, host software, storage and networking, as well as software licensing and support fees. This article will showcase some strategies and tools to empower IT to have justifiable numbers for a chargeback, or at least to get ammunition for more dollars to boost your virtual environment.

Regardless of how your IT finances work, you should have some visibility to the costs associated with each element of a virtualised environment. In this article, we're going to talk specifically about VMware environments. Simply stating that my VMware Infrastructure costs £X amount is insufficient; you need to be able to quickly and accurately determine what business groups are requesting the most of your technology resources (and pounds).

The costs add up

VMware environments are great technological solutions. However, they are expensive when you include all costs: the hardware to run the virtual machines (VMs), the software to host the VMs, and finally the administrative overhead involved. Whether funding is a "big bucket" for all of IT or directly allocated to each department, system, or user in the company, the visibility of the costs needs to be available to IT.

Up-front planning is critical

Many VMware installations can quickly become fully allocated by using set standards for virtual machines. While you definitely don't want to under-provision a system from inception, you should definitely be aware of your requirements and the match the VM hardware inventory to be at or above those requirements.

Too often, a "standard build" VM has an amount of disk space, RAM and CPU allocation that is a one-size-fits-all VM for most applications. While that is fine if you have unlimited resources, that does not scale well for the rest of the world as we continue on the virtualisation trend.

Suppose you have 30 virtual machines, and while only eight of them need the full allocation of processor, CPU, RAM and disk space, you still used the "standard build" because it was available and easy to set up. From that quick deployment, you have 22 over-provisioned VMs; by being maxed out, they may prohibit you from provisioning future resources.

IT professionals should have an awareness of how to measure the impact of a virtual machine on the VMware Infrastructure. When they have this visibility, then we can correctly provision VMs to be the best fit for our environments.

Introducing VKernel

VKernel is a chargeback virtual appliance available from the VMware Virtual Appliance Marketplace. VKernel specifically gives you visibility to how much of the hardware resources each virtual machine or host is consuming. With this, you can assign costs to each measurable and make reports to either use for cost allocation, or to have the data you need to seek more funding for your VMware environment or other IT projects.

VKernel is an appliance with a small footprint, only requiring slightly over 1GB of disk space from the base build, and a base configuration using only 512MB of RAM. The VKernel appliance is built on Suse Linux and has a MySQL database and a web-based front end. It's a paid-for third-party product, but a trial download is available.

VKernel can be run from a number of mechanisms, available for download, the evaluation appliance will turn on and pull a DHCP address. From there a quick logon and configuration and the appliance is underway collecting data and gathering statistics from the VMware Infrastructure. The appliance can be downloaded and running the VKernel evaluation appliance in a matter of minutes, and then the system is collecting data.

Concern for over-aggressive monitoring

As with many monitoring or management tools, it's not advisable to implement a tool that will have a negative effect on the system it's managing or monitoring. With VKernel, these concerns are not applicable; VKernel is very unobtrusive to the VMware Infrastructure in how it collects its data, and it's documented that the initial collection will require some time.

This is especially important if you are in dire need of some justification for more resources for your VMware environment. Many organisations have quickly grown their VMware footprints; but, due to physical to virtual conversion emergencies, poor initial planning or other reasons, the system may be at its limits and you cannot sustain an additional performance hit.

The VKernel appliance will monitor a VMware ESX Server 3.x and higher; you can run it from within the ESX environment, a VMware Player, or a VMware Workstation. It also runs from the free VMware Server, but it's not documented as a supported platform. You can run the VKernel appliance outside your ESX environment if you cannot provision the resources to run it within the ESX. VKernel doesn't need a fast network connection to the VMware host.

Reporting and cost chargeback capabilities

With VKernel, you'll be able to assign dollar value to the following hardware resources from the VMWare ESX infrastructure:

  • CPU
  • Memory
  • Network
  • Storage

These can have associated costs per unit of measure, and are reflected on your chargeback report. These numbers will take some tweaking on your part to determine the applicable number for your actual costs. It also greatly depends what you want to determine with a chargeback report and how you should use it.

You could be looking for a running trend over months, or possibly a quick snapshot from a particular day where use was a good example of average requirements (a baseline day). These reports will allow you to determine the cost of the slice of the VM environment for a single virtual machine, a single virtual machine host, or a collection of both or either.

Figure A shows a sample report for running 20 virtual machines with rates established as follows:

Figure A A sample report

Now, it may seem that $453.91 (£221) per day is excessive, but you have the flexibility to manage the costs per group of systems in a way that best suits your needs. If you are including staff labour in the hardware numbers, you can easily see how this tool can be beneficial.

Resource costs are assigned in a concept with VKernel called a Business Service, this allows you to assign VMs to that service and then costs that you determine. Suppose I have a web development project from a team in the organisation and they have a single VM for their website. I've made a Business Service called MonitorK for the project. That single VM is in that group, and the costs are assigned in the fashion shown in Figure B.

Figure B VKernel can assign costs.

This particular VM has a daily chargeback report cost of $14.66 (£7.14) for that VM, based on the numbers listed above and the usage it endured. Should that VM use more resources, its costs will be reflected in the report. This would equate to about $5,230.45 (£2,550) annually, so you can see the value of having the visibility.

The Business Services and Customers can be added dynamically for different granular views. Further, you can make a single VM, single VM host, or combination of quantities of either, members of multiple business services for different perspectives of what you may be seeking in your reporting strategy, or for different numbers for different situations. Further, the collection of data is kept independent of the membership in a Business Service, so if you or the customer deletes it, it can be re-created without loss of performance collection data.

The reports can run over various time intervals such as daily, weekly, this month and this year. Figure C shows a sample image of running a report for a particular customer.

Figure C You can build reports for specific customers

The VKernel reports allow you to export as .CSV or .PDF files, and are accessible via the web-browser interface.

Online forum for VKernel usage

Nearly every question you may have about the VKernel product can be answered in the VKernel Forums. Here you can find information about how the configurations may want to be used, as well as alternate configurations (such as using a static IP instead of DHCP).

One of the great things about VMware and VKernel is that it's truly a platform-independent solution. The VKernel appliance is a Suse build, but can monitor the VMware ESX hosts and hosted VMs, which can be Windows, UNIX, Linux or another OS. It simply interacts with the usage information from the VMware host.

Ammunition for the business

IT professionals should remain focused on the technology part of our jobs, and provisioning a solid VMware solution is the hard part. Luckily, proper planning up-front and a tool that can provide chargeback data for your VMware environment can allow you to have justifiable numbers for where your technology resources are going. This allows you to provision systems more accurately, as well as have good visibility to what is being used on your virtual environment, as all virtual machines are not created equal.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

Jason Burchell

seriously now. I've only bothered to read a small bit of the comments. do me and the rest of the world a favour. stop saying it does not work or...

2 hours ago by Jason Burchell via Facebook on Music industry negotiating over 24-bit downloads
Philip Charles Cohen

Read about it and weep, John Donahoe ... In addition to Visa’s V.me, there is now MasterCard’s PayPass digital wallet soon to arrive; another...

6 hours ago by Philip Charles Cohen via Facebook on PayPal takes phone-based payments to the high street
apexwm

Leslie Satenstein : Where have you ever seen Mozilla even mention this? Firefox is the most popular browser in the GNU/Linux OS, so I don't see...

7 hours ago by apexwm on Firefox rapid release improves Fedora Linux
songmaster

SHleG: Do you remember building a clockwork scorpion kit (I'm pretty sure I have a photo of it somewhere) — I think it was called something like...

8 hours ago by songmaster on Software with everything
Chris Wortman

Good I love Yahoo! Their search engine is getting better than Google as of late. I find more of what I want on the first page, and usually within...

9 hours ago by Chris Wortman via Facebook on Linux Mint 13 ramps up for KDE release
PatrickG

openhgs has made the point for Windows 8 multiple monitors without realising it! With Windows 7 you have to switch the mouse and so your focus...

11 hours ago by PatrickG on Windows 8 could speed multi-monitor uptake
Leslie Satenstein

Mozilla has threatened to stop supporting Linux. I guess that UBUNTU is going with another browser. I indicated that if Mozilla stops supporting...

12 hours ago by Leslie Satenstein via Facebook on Firefox rapid release improves Fedora Linux
Andy Bolstridge

Much as I abhor Microsoft's licensing practices, this is almost certainly down to purchasing IT equipment via 3rd party consultants - you get the...

12 hours ago by Andy Bolstridge via Facebook on 6 million wasted licences and £1,200 PCs: welcome to government IT
Jack Schofield

@openhgs Windows users have had multiple desktops since Linus started writing Linux. They just haven't shipped as standard because not enough...

1 day ago by Jack Schofield on Windows 8 could speed multi-monitor uptake
Jack Schofield

@Phil at Cloud4 What, Microsoft gets £1,200 per PC and £1,622 per server? Gosh, I'm amazed....

1 day ago by Jack Schofield on 6 million wasted licences and £1,200 PCs: welcome to government IT
craigsc

You guys have no idea what is going on at Autonomy. Autonomy could have been a much more profitable organization. The sales operations at Autonomy...

1 day ago by craigsc on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Moley

How does this impact on dual or multi booting? Seems to me to more or less prohibit this, from Windows 8 anyway. Will Grub 2 recognise Windows 8,...

1 day ago by Moley on Windows 8 start-up speed forces USB boot workaround
apexwm

I don't understand why there cannot be a slight pause during the boot process so the user can press a key. Many operating systems do this, even if...

1 day ago by apexwm on Windows 8 start-up speed forces USB boot workaround
Gavin Goodman

You can now buy the Xi3 modular computer in the UK at http://www.ocdistribution.com . This can be bought with the Tand3m software, pricing and...

1 day ago by Gavin Goodman on CES 2012: Xi3 microSERV3R
Phil at Cloud4

I agree: Mike Lynch can clearly build a business and manage strategy. I suspect the exit of Mike is more likely the end of a planned handover...

1 day ago by Phil at Cloud4 on HP cuts 27,000 staff as Autonomy chief Lynch leaves
Phil at Cloud4

This is unbeleivable government wastage with only one winner... Microsoft 1 - Tax payer Nil!

1 day ago by Phil at Cloud4 on 6 million wasted licences and £1,200 PCs: welcome to government IT
Mispam

So what do you do when you can't boot into windows? Why can't I just hold Shift while I power up instead of having to boot into windows and click a...

2 days ago by Mispam on Windows 8 start-up speed forces USB boot workaround
apexwm

I've also seen that Mac OS X for Intel machines is supposed to run in VirtualBox, which would also be a nice solution. I've never tried it though.

2 days ago by apexwm on xTreme Triple Booting: Linux, Mac & Windows
dave heasman

What I wonder is why when companies are caught bang to rights in not providing contracted services, people bend over to smear the customers? Surely...

2 days ago by dave heasman on Virgin throttles broadband for high-speed customers
pjc158

Strange statement from HP regarding Mike Lynch and not capable of scaling a company. Autonomy was a $7bn purchase which started as a small company...

2 days ago by pjc158 on HP cuts 27,000 staff as Autonomy chief Lynch leaves