Thursday, June 28, 2007
Time keeping in ESX 2.x and 3.x
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.
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
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
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
Found this article on how to dispay usefull information in the logon banner.
http://www.xtravirt.com/index.php?option=com_content&task=view&id=73&Itemid=67
I love it. It’s always nice to be presented with information about your system
A. Mikkelsen
Script to power off all VM’s
Here is at BASH script to power off all active VM’s on a host.
#!/bin/bash
IFS=’
‘
for vm in `vmware-cmd -l`
do
name=`vmware-cmd “$vm” getconfig displayname -q`
state=`vmware-cmd “$vm” getstate -q`
if [ “$state” == “on” ]
then
echo “Trying to power off $name….”
output=`vmware-cmd “$vm” stop trysoft`
if [ $? -eq 0 ]; then
echo “$name was powered off successfully.”
fi
fi
done
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
Came accross this article on how to HOT clone a VM.
Cool add-on to Virtual Center 2.x from Run-virtual.com
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 ??
Ohhh, yes it is..
Take a look at this WhitePaper published by Xtravirt.com
Nice job guys.
A. Mikkelsen