No Account Yet?

You are not logged in.

Add to: JBookmarks Add to: Facebook Add to: Windows Live Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Blogmarks Add to: Technorati Add to: Newsvine Add to: Google Information
ESX Perl Module E-mail
Virtualization - VMware
Written by Allen Sanabria   
Tuesday, 29 July 2008 09:00

Greetings to all of my VMware ESX 3.x people.....  Here I introduce to you my latest Perl Module. I've spent a considerable amount of time creating an ESX Virtual Machine Perl Module which is essentially an easier way to interact with the Perl SDK for VMware.

I had to rewrite this module, but in doing so I made the code cleaner and smaller. The reason I had to rewrite this Perl Module was because  I originally written it for a bank that I use to work for and they are very strict in sharing code as they do not want to give the upper hand to any of there competitors.

Also I have a CGI Script that I also had written previously and had to rewrite it as well..  The CGI script will use this Perl Module to its full extent. This Script will also give you an example on how to write scripts that use this Perl Module.

This module provides features such as....

  • Creating SnapShots
  • Deleting SnapShots
  • Reverting to a particular SnapShot
  • Deleting All Snapshots on a Particular VM
  • Shutting Down a VM
  • Cleanly Shutting Down a VM (VM Tools Required)
  • Reseting a VM
  • Cleanly Rebooting a VM (VM Tools Required)
  • Turning on a VM

 

I will continue to add more functionality in the near future, if you want to add more functionality just become a member and email me and I will give you access to my Subversion repository.

I know I still need to add more error checking, so that is in the works....

To download this script click here. You have to be a member in order to download the script.

Comments
Search RSS
mrgino  - Instructions?   |Registered |2009-01-06 10:23:04
Can you provide some sort of step-by-step for how to implement this module or
any of your other scripts?

Thanks!
Only registered users can write comments!

3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Tuesday, 07 October 2008 10:20 )