Tag Archives: VMware

VMware Management with PowerCLI 5.0

As VMware expands its PowerShell offering, known as PowerCLI, the poster has been a key resource for keeping the details close to hand and ensuring the help is right in front of you when you need it.

An updated poster was released at VMworld and adds to the original vSphere PowerCLI core cmdlets enabling people to reference all PowerCLI related details in one handy place.

It includes the details from the following:

  • vSphere
  • Image Builder
  • Auto Deploy
  • Update Manager
  • Licensing
  • View
  • vCloud

Make sure you download the PDF copy of the poster from here. Continue reading →

VMworld Script Club / Developer / Admin Meet up

If your attending VMworld Las Vegas this year and are interested in chatting with Scripter’s, Developers and general admins wanting to automate their life make sure you attend the chat detailed here and below:

Date: Tuesday – August 30th

Time: 11:30 – 13:00

Location: VMworld Community Lounge, located just outside the entrance to the solution exchange

There will be a host of people attending and ready to answer questions so come along and take full advantage, topics will include – but are not limited to:

  • vSphere APIs/SDKs with Pablo Roesch, Mahesh Ramachadran
  • vSphere Java APIs with Steve Jin
  • PowerCLI / Auto Deploy / Image Builder with Alan Renouf and Luc Dekens
  • VI Perl with William Lam
  • vCLI/vMA/ESXCLI with Kyle Gleed
  • vFabric with Carter Shanklin, Justin Murray
  • Java on vSphere with Emad Benjamin
  • SaaS architecture with Gilbert Lau
  • vCO with development team
  • Service automation tooling with Budianto Bong
  • Any other devops topics on your mind

This I am sure will be one of the highlights of VMworld, I know there are going to be many this year !

VMware License Advisor–Official tool

Following my recent posts where I showed how PowerCLI could be used to give you an idea of your vRAM licenses in vSphere 5.0 I wanted to let you know that an official tool has now been released from VMware.

This was first blogged by Yellow-Bricks and vSphere-Land, some of the key things to note about this tool which is different to my tool:

  • Official VMware Support
  • Support for vSphere/VI 3.5/4/5
  • Log into single or multiple vCenters
  • More vCenters can be added after the tool is opened
  • Detailed Virtual Machine inventory for each license type
  • Filter per license type

To make it easier for people, I have shot a quick video showing you how to download and use the tool Continue reading →

Check vCenter Services

A quick function which allows you to check the VMware services on your vCenter server by hooking into windows and looking at the service status, this is useful and something I have been using as part of my vCheck script for a long time but recently became useful for a colleague.

The script can be run with no credential parameter if the current user account has windows privileges on the vCenter server to read the service information.

Example

SNAGHTML14bff311
Continue reading →

vSphere 5 License Entitlement changes

Following my previous post VMware have just announced a change to the License entitlements to vSphere 5, I know I work for VMware and therefore my view is obviously slightly tainted but I personally think this is a good move and it proves that they do listen and value their customers opinions.

So what changes have been made ?

  1. VMware have increased vRAM entitlements for all vSphere editions.
  2. The amount of vRAM has been capped at 96GB of vRAM, so if your VMs have over this amount it will only count the first 96GB.
  3. The amount of vRAM is now calculated as a 12 month average of allocated vRAM

New Entitlements

The changes mean that the following vRAM entitlements per edition will now be granted:

vSphere edition vRAM entitlement
vSphere Enterprise Plus 96 GB
vSphere Enterprise 64 GB
vSphere Standard 32 GB
vSphere Essentials Plus 32 GB
vSphere Essentials 32 GB
Free vSphere Hypervisor 32 GB (Per Host)

Continue reading →

vSphere 5 License Entitlements

A somewhat surprising popular topic at the moment considering the amazing features announced by VMware this week is vSphere 5 Licensing, I have seen a lot of people talking about this and a lot of confusion and misunderstanding of the new licensing model announced by VMware in vSphere 5. Hopefully this post and my script below will help people work out what their v5 License entitlements will be.

vSphere 5 License Overview

vSphere 5.0 will be licensed on a per-processor basis with a vRAM entitlement. Each vSphere 5.0 CPU license (whether deployed to a host or not) will entitle the purchaser to a specific amount of vRAM, or memory configured to virtual machines. The vRAM entitlement can be pooled across a vSphere environment and through linked mode vCenters to enable a true cloud or utility based IT consumption model.

vSphere Advanced is now being removed from the license editions, anyone who currently has licenses for vSphere Advanced – and is active on Subscription and Support – in v4 will automatically be entitled to Enterprise in v5 free of charge, the following vRAM entitlements will be given per license type:

License Type Essentials Essentials Plus Standard Enterprise Enterprise Plus
vRAM Entitlement per license 24GB 24GB 24GB 32GB 48GB

There are a few key things to remember about this:

  • vRAM is pooled per license type to create a pool
  • Make sure all license keys you have purchased are entered into vCenter
  • All Licenses (whether deployed or not) add Pooled vRAM capacity
  • Make sure existing vCenter servers are linked – vRAM licenses are pooled across linked mode vCenters giving a total vRAM per license type.

More information on these changes can be found in the Licensing, Pricing and Packaging white paper here.

Continue reading →

July London VMUG

Its time for another London VMware user group, unfortunately I will be unable to make it but I highly recommend attending this on Thursday, July 14, 2011 between 10:00 a.m. – 17:00 p.m. and afterwards for vBeers, Don’t worry PowerCLI will still be there and I would suggest attending Jonathan Medds session for a chance to win a copy of the “VMware VSphere PowerCLI Reference” and for some great PowerCLI tips which will save time for any VMware admin.

Continue reading →

Which VMs set your Slot Size ?

A previous post on my blog shows us how to get the slot size information for each cluster which has HA enabled, it also discusses what a slot size is and points to some further reading on Yellow-Bricks.

Readers of the great HA and DRS book will know exactly what a slot size is, if you are unsure then I suggest you read my previous article or the HA and DRS book, it is important information to know.

But which VMs are setting your slot size ?  This is a question which was emailed to me over a year ago, someone had issues finding the VMs which were setting their slot size and they had run out – not a good place to be.

I wrote a script for them and asked them to test it, then I completely forgot about it – until recently when the question came up again.

Now you probably think you know which VM’s are setting your slot size but the thing that struck me is that nearly all the people I asked to check this came back with the same comments:

Yep, it works and wow, I had forgotten about that machine and the resources I allocated to it !

So please, download it and give it a go, who knows you too may have a surprise.

 

Continue reading →

HA and DRS Audit

Duncan Epping and Frank Denneman are two of the biggest rockstars in the VMware Community, recently they wrote a fantastic book on HA and DRS, this can be downloaded for a fantastic price from here, if you dont have it then you are not a VMware admin !

But wouldn’t it be great if we could have our own little Duncan or Frank to carry around in our pocket and check our clusters out for HA and DRS issues and best practices – Well now you can – no I haven’t created bobble headed characters, instead I have created…..

The HA and DRS Audit Script

Continue reading →

Enable / Disable VAAI with PowerCLI

If you don’t know what “vStorage APIs for Array Intergration” (VAAI ) is already then I suggest you look it up or at least talk to your storage vendor or VMware about VAAI as this is a great feature added by VMware in vSphere 4.1.

This basically offloads some of the features back to your storage array enabling your vSphere hosts to have more resources and time put aside for what there primary purpose in life is…. “Hosting VMs” and lets face it, the storage array is going to know how to do storage type functions more efficiently than the hosts.  I would suggest reading this post from “Virtual Geek” to get a better understanding of these 3 features which are part of VAAI.

In order to test this we recently needed a way to enable and disable VAAI, this is an easy task on a host, each of the three features have a setting in the “Advanced Settings” configuration tab of the host, these are:

DataMover.HardwareAcceleratedMove
DataMover.HardwareAcceleratedInit
VMFS3.HardwareAcceleratedLocking

These are set to 1 by default which means they are enabled, to disable them simply set them to 0.

So with a simple piece of PowerCLI we can easily see their current configuration status:

Get-VMHost MyESXHost | Get-VMHostAdvancedConfiguration -Name DataMover*, VMFS3.HardwareAcc*

We can also easily disable these features for our host:
Continue reading →