April 21st, 2008
Filed under: Scripting, VMware |
1 Comment »
Today I combined a couple of Powershell scripts which as a result gives a nice html formatted file with a table. This table contains all VM’s with their VMware Tools status and version. I’ve uploaded the script here. The outcome looks like the following:
[…]
April 1st, 2008
Filed under: Scripting, VMware |
6 Comments »
Ernst, a regular poster of the Dutch VMug, posted a script for load balancing paths to an active/active SAN. What it does is select the next path for a LUN, in other words if there are four paths LUN1 will be reached via Path1, LUN2 via Path2 etc.
The script, also available for download here:
for PATHS […]
March 26th, 2008
Filed under: Scripting, VMware |
No Comments »
Just stumbled upon this cool article about mounting your VI inventory as a drive via Powershell:
source - Hal Rottenberg aka halr9000:
Establish a connection to your the server using the Get-VIServer command:
Get-VIServer -Server
for example,
Get-VIServer -Server 192.168.10.10
When prompted, provide the administrator’s username and password to authenticate access on the server.
Get the root folder […]
March 2nd, 2008
Filed under: Scripting, VMware |
No Comments »
For all those not using the VirtualCenter Update Manager, Dominic uploaded an update on his esx-autopatch.pl script. You can now also patch 3.5 hosts with this script, which can come in handy for scripted installs!
February 18th, 2008
Filed under: Scripting, Storage, VCB, VMware |
No Comments »
During the VMware course DSA I discovered that it is in fact possible to dump specific vmdk’s with the use of the default VCB tools. While I was finding out a way to script this I was notified in one of my blogs by JTurver(Justin Turver) that he already wrote a script that could do […]
February 6th, 2008
Filed under: Scripting, VMware |
5 Comments »
When reading the VMTN forum I stumbled upon a topic about checking the VMFS for snapshots. Besides snaphunter by Xtravirt, which is an excellent script, there isn’t much out there. You can check the VirtualCenter database for snapshots but this way you would not notice the orphaned snapshots. (Orphaned snapshot occur when the vmsd file […]
January 30th, 2008
Filed under: Scripting, VCB, VMware |
2 Comments »
Today I was busy trying to find out a way to schedule VCB backups with Commvault with just 1 schedule without having to rewrite your script every time someone creates a VM. The standard procedure is to create a subclient for every VM which is very human error prone. I stumbled upon a blog on […]
January 28th, 2008
Filed under: Scripting, VMware |
16 Comments »
One of the most useful scripts for ESX in my opinion is health_check.sh. This scripts generates an html file which contains a enormous amount of useful info on how the ESX host was installed. Besides that it contains 30 lines of the most important log files and for instance if there are snapshots and much […]
January 23rd, 2008
Filed under: Howto, Scripting, VMware |
23 Comments »
When writing the “Checking the diskspace on your VMFS volumes” blog I assumed that most of you knew how to send an email from the service console. I received a bunch of emails from people who were interested in how to setup the html email functionality. Well, here it is:
A while back VMGuru.com hosted a […]
January 21st, 2008
Filed under: Howto, Scripting, VMware |
14 Comments »
On a regular basis I noticed that people forget to monitor the free diskspace of their VMFS volumes. I created a script that can easily be scheduled with crontab and mailed with smtp_send. You can send it as an html based email if you setup MIME correctly. (For more info on how to set this […]