Scripts: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
New page: ==== vmrun scripts ==== Scripts to execute to automate actions in your guest. vmrun batch file execution
 
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==== Documentation ====
===== ESX Service Console =====
[[RTFM ESX 3.x Service Console Guide]]
[http://download3.vmware.com/vmworld/2006/tac9685.pdf Command Line Interface Tips and Tricks for VMware ESX Server 2 and 3]
[http://www.vmreference.com/vi3-card/ VI3 reference card]
[[ESX CLI Commands]]
[[esxcli]]
===== VMware API =====
[http://www.vmware.com/support/developer/scripting-API/API-2.3-Release-Notes.html VMware ESX 2.3 scripting API users manual]
===== VMware vimsh =====
[http://knowledge.xtravirt.com/white-papers/scripting.html Xtravirt scripting papers about vimsh among others]
[[Vimsh]] Help documentation and general tips
===== VMware RCLI =====
What is VMware [[RCLI]]?<br>
The VMware Infrastructure Remote CLI provides a command-line interface for datacenter management from a remote server. This interface is fully supported on ESX 3.5 Update 2 and ESXi Update 2. Download it [http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI-U2 here]
[[ESX3i Remote CLI documentation]]
===== VMware VI Perl Toolkit =====
[http://www.vmware.com/support/developer/viperltoolkit/viperl15/doc/perl_toolkit_utilities_idx.html VI Perl Toolkit command documentation]
===== VMware VIMA =====
What is VMware VIMA?
http://www.vmware.com/support/developer/vima/
Why use VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340611,00.html
How to setup VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340917,00.html#
===== VIX/vmrun =====
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0 and VMware Worstation 6.0
What is VMware VIX and why use it? http://blogs.vmware.com/vix/2008/07/what-is-vix-and.html
What is VMware vmrun? http://blogs.vmware.com/vix/2008/12/managing-vm-guests-using-vmrun.html
[http://www.vmware.com/pdf/vix162_vmrun_command.pdf vmrun command documentation]
== '''Scripts:''' ==
==== vmrun scripts ====
==== vmrun scripts ====


Line 4: Line 57:


[[vmrun batch file execution]]
[[vmrun batch file execution]]
[[vmrun return all IPs for running VMs]]
==== bash scripts ====
[[build host vmware kernel modules]]
[[build guest vmware kernel modules]]
[[Linked Clones for ESX 3.x+]]
[[Linked Clones for ESXi]]
[[Custom my-vmware-cmd management script]]
[[locate all VMs with NPIV WWN for ESX]]
[[locate all VMs with NPIV WWN for ESXi]]
[[locate all VMs with RDMs for ESX and ESXi]]
[[Free VM backup solution for ESX and ESXi]]
[[Performing emergency shut down of VM's on ESX]]
==== RCLI & VI Perl Toolkit scripts ====
[[Free VM Clone utility for ESX and ESXi]]
[["Quick" migration utility for VM(s) on ESX and ESXi]]
[[VMware Health Check Report]]
[[APC/APCUPSD ESX/ESXi Host shutdown script]]
==== Perl scripts ====
[[Recover vmx from log file]]
==== AppleScript ====
[http://communities.vmware.com/thread/122793 AppleScript to Run Virtual Machine and switch to Full Screen View or Unity View at Login]
==== Javascript ====
[[Ghetto vCenter 4.0 Unattended Installer]]
==== In the pipeline ====
[[External scripts that are not processed yet]]

Latest revision as of 19:05, 5 December 2014

Documentation

ESX Service Console

RTFM ESX 3.x Service Console Guide

Command Line Interface Tips and Tricks for VMware ESX Server 2 and 3

VI3 reference card

ESX CLI Commands

esxcli

VMware API

VMware ESX 2.3 scripting API users manual

VMware vimsh

Xtravirt scripting papers about vimsh among others

Vimsh Help documentation and general tips

VMware RCLI

What is VMware RCLI?
The VMware Infrastructure Remote CLI provides a command-line interface for datacenter management from a remote server. This interface is fully supported on ESX 3.5 Update 2 and ESXi Update 2. Download it here

ESX3i Remote CLI documentation

VMware VI Perl Toolkit

VI Perl Toolkit command documentation

VMware VIMA

What is VMware VIMA? http://www.vmware.com/support/developer/vima/

Why use VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340611,00.html

How to setup VMware VIMA? http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1340917,00.html#

VIX/vmrun

Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0 and VMware Worstation 6.0

What is VMware VIX and why use it? http://blogs.vmware.com/vix/2008/07/what-is-vix-and.html

What is VMware vmrun? http://blogs.vmware.com/vix/2008/12/managing-vm-guests-using-vmrun.html

vmrun command documentation


Scripts:

vmrun scripts

Scripts to execute to automate actions in your guest.

vmrun batch file execution

vmrun return all IPs for running VMs


bash scripts

build host vmware kernel modules

build guest vmware kernel modules

Linked Clones for ESX 3.x+

Linked Clones for ESXi

Custom my-vmware-cmd management script

locate all VMs with NPIV WWN for ESX

locate all VMs with NPIV WWN for ESXi

locate all VMs with RDMs for ESX and ESXi

Free VM backup solution for ESX and ESXi

Performing emergency shut down of VM's on ESX

RCLI & VI Perl Toolkit scripts

Free VM Clone utility for ESX and ESXi

"Quick" migration utility for VM(s) on ESX and ESXi

VMware Health Check Report

APC/APCUPSD ESX/ESXi Host shutdown script

Perl scripts

Recover vmx from log file

AppleScript

AppleScript to Run Virtual Machine and switch to Full Screen View or Unity View at Login

Javascript

Ghetto vCenter 4.0 Unattended Installer

In the pipeline

External scripts that are not processed yet