
	Vmware(TM) VmPerl Sample Scripts README


This document provides information about the VmPerl sample scripts.


PRODUCT VERSION

These sample scripts use the VmPerl component of the VMware Scripting API version 2.0.


DOCUMENTATION

For additional information on these VmPerl sample scripts, refer to the VMware Scripting API User's Manual at:

http://www.vmware.com/support/developer

Before accessing the documentation, you must be a registered customer of GSX Server. This Web page includes an email address for you to request a password to access the documentation.


SAMPLESCRIPTS FOLDER (DIRECTORY)

enumerate.pl
------------
This sample script generates a list of all the registered virtual machines on a server.

startallvms.pl
--------------
This sample script lists, then powers on powered-off virtual machines and resumes suspended virtual machines that have the line "autostart=true" in their configuration files.

status.pl
---------
This sample script determines the power status of a virtual machine: running, suspended or powered off.

hbcheck.pl
----------
This sample script monitors a virtual machine's heartbeat. If a heartbeat is lost or not detected, the script powers on a second instance of the virtual machine.

answerquestion.pl
-----------------
This sample script allows you to answer or acknowledge, at the command line, a question posed by a virtual machine in a stuck state.

suspend.pl
----------
This sample script allows you to suspend a virtual machine remotely.

saveguestip.pl
--------------
This sample script invokes the VMware guest operating system service to set a virtual machine's "ip" configuration variable. This script complements getguestip.pl.

getguestip.pl
-------------
This sample script retrieves the value of a virtual machine's "ip" configuration variable. This script complements saveguestip.pl.



Copyright 2002 VMware, Inc.  All rights reserved. -- VMware Confidential All rights reserved. U.S. Patent No. 6,397,242 and patents pending. VMware, the VMware boxes logo and GSX Server are trademarks of VMware, Inc. Microsoft, Windows and Windows NT are registered trademarks of Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. All other marks and names mentioned herein may be trademarks of their respective companies.
    															
