A. Mikkelsen VMware ESX scripts, commands, tools and other nice to know things that will make your virtualization days easier!!!!

Thursday, June 28, 2007

How to hardent your ESX 3.x enviroment

Filed under: White Papers — A. Mikkelsen @ 12:52 pm


Time keeping in ESX 2.x and 3.x

Filed under: White Papers — A. Mikkelsen @ 12:50 pm

I was looking for articles about time keeping in VMware ESX and stumbled over this one.
It was writen i 2005 but after reading it it still much apply today.


Monday, June 25, 2007

The book “VMware ESX Server 2.5 Advanced Technical Guide” is now free.

Filed under: White Papers — A. Mikkelsen @ 13:03 pm

The authors behind the book “VMware ESX Server 2.5 Advanced Technical Guide” has made it free for download, because they are working on a new release for ESX 3.x.

You can download it for free here.

Sunday, June 24, 2007

Adding a shared disk in Workstation 6.0

Filed under: Scripting,Tools,White Papers,Workstation — A. Mikkelsen @ 14:19 pm

Edit and add the following to the VMX file :

scsi1.present = “TRUE”
scsi1.virtualDev = “lsilogic”
scsi1.sharedBus = “virtual”
disk.locking = “false”
scsi1:0.present = “TRUE”
scsi1:0.fileName = “Shared.vmdk”

Notice that the SCSI target is 1:0 and not 0:1

After this you should be able share the disk between 2 VM’s.

Friday, June 22, 2007

Using vimsh

Filed under: Scripting,Tools — A. Mikkelsen @ 20:50 pm

List information about a VM
vimsh -n -e “vmsvc/getallvms”

See a summary of the current host configuration
vimsh -n -e “hostsvc/hostsummary”

Enter maintence mode
vimsh -n -e /hostsvc/maintenance_mode_enter

Exit maintence mode
vimsh -n -e /hostsvc/maintenance_mode_exit

Display system infomation in logon banners

Filed under: Linux Commands,Scripting,Tools — A. Mikkelsen @ 20:44 pm

Found this article on how to dispay usefull information in the logon banner.


I love it. It’s always nice to be presented with information about your system

A. Mikkelsen

Script to power off all VM’s

Filed under: Scripting — A. Mikkelsen @ 20:34 pm

Here is at BASH script to power off all active VM’s on a host.


for vm in `vmware-cmd -l`
        name=`vmware-cmd “$vm” getconfig displayname -q`
        state=`vmware-cmd  “$vm” getstate -q`
        if [ “$state” == “on” ]
                echo “Trying to power off $name….”
                output=`vmware-cmd “$vm” stop trysoft`
            if [ $? -eq 0 ]; then
                echo “$name was powered off successfully.”

The script was posted by Alex at the VMTN forum a while back, but is now updated so i reports if the VM is powered off succesfully.

Thursday, June 21, 2007

How to HOT clone a VM

Filed under: White Papers — A. Mikkelsen @ 12:42 pm

Came accross this article on how to HOT clone a VM.


Cool add-on to Virtual Center 2.x from Run-virtual.com

Filed under: Tools,Virtual Center — A. Mikkelsen @ 12:11 pm

Someone informed me on this very usefull add-on for Virtual Center 2.x.

VCplus           – http://www.run-virtual.com/?page_id=184

Haven’t tried it myself yet, but i will during next week.
I think that this add-on is a step in the right direction. Mayby VMware should implement this add-on in VC.

Nice job Richard …. Keep it up….

A. Mikkelsen

Sunday, June 3, 2007

Installing VMware ESX 3.0.x in a VMware Workstation 6.0 – Is it possible ??

Filed under: White Papers — A. Mikkelsen @ 20:43 pm

Ohhh, yes it is..

Take a look at this WhitePaper published by Xtravirt.com

Nice job guys.

A. Mikkelsen

Powered by WordPress