• Skip to site navigation
  • Skip to blog entries
  • Skip to archive page
  • Skip to right sidebar

Big Brother Really Is Watching

NTPRO.NL - Eric Sloof

  • NTPRO.NL
  • Online Training
  • VMworld
  • Videos
  • Tools
  • iTunes
  • About

Monday, 4 May 2009

Big Brother Really Is Watching

VMware ESX4 and the new vCenter server both offer a lot of new  SDK properties and methods. One of the new methods is CreateScreenshot_Task which is part of the  ManagedObjectReference:VirtualMachine. This method creates a screenshot of the virtual machine console, the image is saved as a portable network graphics (.png) file in the virtual machine folder. This features is normally used by HA Virtual Machine Monitoring. The Virtual Machine Monitoring feature uses the heartbeat information that VMware Tools captures as a proxy for guest operating system availability. This allows VMware HA automatically to reset or restart individual virtual machines that have lost their ability to heartbeat. Before resetting or restarting the Virtual Machine the vCenter server creates a snapshot of a possible BSOD.  I created a PowerShell script which initiates and copies the screenshots of 9 Virtual Machines. The screenshots are presented in a user interface constructed with Sapien's free PrimalForms. The PowerShell code is still rough and can be improved dramatically.

 

 

Posted by
Eric Sloof
in Products at 14:49 | 8 Comments | No Trackbacks
Bookmark and Share
Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as (Linear | Threaded)
Cool stuff Eric, these new features are really useful!
#1 Duncan (Homepage) on 2009-05-04 15:04 (Reply)
Very nice and a terrific example of a WinForm PowerShell script. I can tell from your code you're running an early version of Primalforms. There should be an update you can download that fixes a few bugs and might add a few controls.
#2 Jeffery Hicks on 2009-05-04 15:59 (Reply)
Thanks for the heads up Jeffery, I added a link to http://www.primaltools.com
#2.1 Eric Sloof on 2009-05-04 16:14 (Reply)
Very nice and useful script Eric!
#3 Hany Michael (Homepage) on 2009-05-04 16:15 (Reply)
Sincerely great work here, however, I'm trying to think of how/where this can be useful. Anyone care to add some in the trenches scenarios? Jas
#4 Jason Boche (Homepage) on 2009-05-04 17:15 (Reply)
One of my customers had a power today, actually the 3d in the last 4 weeks.. Due to this power outage their SAN had a failure.. Causing the VM's to loose their disks (do you already see the domino effect?) End result was that there were about 100 VM's indicating that the OS could not be found.. The way to resolve this was a reset of the VM. Therefore I'm looking at powerCLI options to scan for VM's with this error and then reset or report them.
#4.1 Ray (Homepage) on 2010-12-08 15:36 (Reply)
Thanks for this tip. But how can we use this powershell in our poduction farm? I think that this tools could be very great to use, but how can we use that? Thanks
#5 Loga on 2009-05-07 09:39 (Reply)
Hi Eric, it's a really nice tool :-) BTW i just found today that it's possible on ESX 3.5 with the vmrun command of the VIX API (captureScreen option) :-)
#6 NiTRo (Homepage) on 2009-05-08 18:30 (Reply)
Add Comment
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

 
   
Submitted comments will be subject to moderation before being displayed.
 
 


Twitter RSS FeedLinkedIn

www.hetesambal.nl

Veeam Webinar with Doug Hazelman: 5 Steps to Successful Backup & Replication for Hyper-V! Watch it now >>

Recent Entries

Storage Design and Implementation in vSphere 5.0 - The Rough Cuts
Thursday, January 19 2012
Top 25 Free Tools for VMware vSphere presented by David Davis and Kendrick Coleman
Monday, January 16 2012
LG Android running VMware Horizon Mobile hands-on
Saturday, January 14 2012
Forbes Guthrie has released the vSphere 5 vReference Card
Thursday, January 12 2012
VMworld Session - VMware vMotion in VMware vSphere 5: Architecture, Performance & Best Practices
Wednesday, January 11 2012
Voice Over IP (VoIP) Performance Evaluation on VMware vSphere 5.0
Tuesday, January 10 2012
VMware vCloud Director 1.5 Performance and Best Practices
Monday, January 9 2012
VMware vCenter Site Recovery Manager 5.0 Performance and Best Practices
Sunday, January 8 2012
New Training - VMware vSphere 5 Design Workshop
Saturday, January 7 2012
New Training - VMware View 5 Install, Configure and Manage
Friday, January 6 2012

Archive

  • February 2012 (3)
  • January 2012 (23)
  • December 2011 (21)
  • November 2011 (24)
  • October 2011 (27)
  • September 2011 (26)
  • August 2011 (35)
  • July 2011 (26)
  • June 2011 (15)
  • May 2011 (20)
  • April 2011 (22)
  • March 2011 (22)
  • February 2011 (18)
  • January 2011 (13)
  • December 2010 (23)
  • November 2010 (18)
  • October 2010 (31)
  • September 2010 (22)
  • August 2010 (23)
  • July 2010 (19)
  • June 2010 (19)
  • May 2010 (19)
  • April 2010 (20)
  • March 2010 (23)
  • February 2010 (22)
  • January 2010 (30)
  • December 2009 (37)
  • November 2009 (29)
  • October 2009 (27)
  • September 2009 (36)
  • August 2009 (35)
  • July 2009 (35)
  • June 2009 (43)
  • May 2009 (35)
  • April 2009 (56)
  • March 2009 (51)
  • February 2009 (69)
  • January 2009 (69)
  • December 2008 (60)
  • November 2008 (56)
  • October 2008 (49)
  • September 2008 (63)
  • August 2008 (44)
  • July 2008 (54)
  • June 2008 (26)
  • May 2008 (34)
  • April 2008 (27)
  • March 2008 (38)
  • February 2008 (29)
  • January 2008 (35)
  • December 2007 (24)
  • November 2007 (23)
  • October 2007 (20)
  • September 2007 (54)
  • August 2007 (15)
  • July 2007 (22)
  • June 2007 (13)
  • May 2007 (8)
  • April 2007 (20)
  • March 2007 (10)
  • Recent...
  • Older...
Based on the s9y Bulletproof template framework
Powered by s9y – Template by Bulletproof development team.
  • NTPRO.NL
  • Online Training
  • VMworld
  • Videos
  • Tools
  • iTunes
  • About