ScreenShots
Who's Online
We have 152 guests onlineMost Popular howTo's
Latest Posts
HowTo
Newest Downloads
| VMware Perl SDK get license perl script |
| Virtualization - VMware | |||||||||||||
| Written by Allen Sanabria | |||||||||||||
| Wednesday, 21 May 2008 17:34 | |||||||||||||
|
I needed a script that would get all relevant license data from our VMWare ESX Server using the Perl SDK for VMWare. We needed to know what type of licenses we have with how many are being used and how many are available. I would like to thank my friend Chris Hahn for reminding me about Data::Dumper, because without that this would have taken me longer then it should have... ( I'm a Python Programmer ) Update... I realized after working with the SDK for the past 2 months that I did not need Data:Dumper and the script has now been updated and it is shorter. This script assumes you have the VMware Infrastructure (VI) Perl Toolkit Packages installed and your $HOME/.visdkrc set correctly. Without the above the script below will not work!! Example output of running this script.../ costUnit = cpuPackage #!/usr/bin/perl #Purpose of this script is to get the Licenses we have from our VMWare ESX Server.. #Cost per Unit: cpuPackage #Feature Name: ESX Server Standard #Feature Description: Grants: count per CPU package #Total Licenses: 314 #Total Available: 290
Only registered users can write comments!
Powered by !JoomlaComment 3.22
3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."
|
|||||||||||||
| Last Updated on Tuesday, 29 July 2008 12:20 | |||||||||||||












