VMware: Set VMware TimeSync option with the VI Toolkit


Ik was vandaag even met Gabrie van Zanten (http://www.gabesvirtualworld.com/) aan het brainstormen over het aanpassen van de Time synchronization optie, binnen de VMware Tools via de VI Toolkit.

image

Dit is uiteindelijk gelukt (met een beetje hulp van Niket en LucD http://communities.vmware.com/message/1106816).

Je kunt het script op twee manieren gebruiken:

Het aan of uitzetten van deze optie op alle VM’s kan via het onderstaande script.

$vCenter = ”

Connect-VIServer $vCenter

[Reflection.Assembly]::LoadWithPartialName("vmware.vim")

$vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec
$vmConfigSpec.Tools = New-Object VMware.Vim.ToolsConfigInfo
$vmConfigSpec.Tools.SyncTimeWithHost = $True (or $False if you want to disable it)

Get-VM | % { (Get-View $_.ID).ReconfigVM($vmConfigSpec)} # For al VMs

Disconnect-VIServer -Confirm:$False

 

Wil je dit op een specifieke VM uitvoeren dan gebruik je de volgende Get-VM regel:

Get-VM -Name $vmname | % { (Get-View $_.ID).ReconfigVM($vmConfigSpec)} # VM with name vmname.

Je moet alleen dan wel de variable $vmname aanmaken.

Via het volgende commando kun je de actie controleren.

Get-VM | Get-View | %{Write-Host $_.Name $_.Config.Tools.syncTimeWithHost}
Advertisement

VMware: SRM Movies


De afgelopen week, was het de week van SRM. Verschillende blog posts zijn de rss feeds gepasseerd. Maar de meest uitgebreide kwam toch pas vandaag online. Chris heeft een video how to op zijn blog geplaatst. De blogpost vind je hier: getyournerdon.com

De volgende videos zijn zeker de moeite van het kijken waard:

VMware: Storage VMotion The Easy Way


 

Sinds ESX 3.5 bestaat de feature Storage VMotion. Deze feature stelt je in staat een actieve VM te verplaatsen naar een andere datastore zonder downtime. Ik was nog niet in de gelegenheid geweest om deze feature te testen. In het begin kon je een Storage VMotion alleen uitvoeren  via de remote cli (deze kun je hier downloaden: http://vmware.com/download/vi/drivers_tools.html) of je kunt gebruik maken van de VIMA. Bij deze twee opties moet je de Storage VMotion taak uitvoeren van de commandline. Gelukkig zijn er altijd nog gasten die kunnen programmeren. Zo ook Andrew Kutz. Hij heeft de Storage VMotion plugin voor VIC gemaakt. Meer informatie en de download vind je hier: http://sourceforge.net/projects/vip-svmotion/.

In de rest van de post lees je hoe eenvoudig het gebruik van deze plugin is.

Continue reading “VMware: Storage VMotion The Easy Way”

VMware: ESX 3.5 Update 3 VM’s spontaneously reboot


Verschillende blogs melden deze bug al eerder. Bij deze plaats ik ook nog even een post.

Ivo schrijft het volgende op zijn blog: http://www.ivobeerens.nl

We disabled in HA the option “Virtual Machine Monitoring” and set DRS to manual.  The problem with Virtual Machine monitoring is:

The Virtual Machine heartbeats are being dropped which is triggered by VMotion and the VM gets reset by the HA feature as it thinks it has gone offline. Since the feature is now off it should be safe to turn on DRS again.

There are more people who have this problem, read the following post on the VMware forum, 3.5U3 – any guinea pigs yet?.

I made a support request @ VMware. The told me today that 20 November patch 10 for VMware 3.5 Update 3 will be released. Patch 10 fixes SOME random reboot problems in Update 3. I hope it resolves this nasty issue.

 

Bron: http://www.ivobeerens.nl/?p=180

SRM in a Box


image

 

 

 

 

 

Tomas ten Dam release his final version of the SRM in a Box document. You can grab your copy here: srm-in-a-box-final-release-the-complete-setup.

 

The last few years “disaster recovery” has become a hot topic in the IT industry. Working in a 24/7 economy demands greater availability to our computer systems. But what to do if a disaster strikes at your production site? You can have backup tapes, disks or even a mirrored storage at another site, but it can take hours or even days to start up a new production site which is available to your employees. Customers can’t be served in those days, and that will result in financial losses. VMware Site Recovery Manager makes disaster recovery easy and will save you time when a disaster happened. The big problem for a consultant or engineer is how to test and learn how SRM is working. If you want to test this, expensive hardware must be available for quite some time. You need double storage, a couple of esx servers and some hardware to host 2 domain controllers, virtual center servers and SQL servers. And what if you need a demo for a customer? You can’t have all the expensive hardware at your site for just showing how it works. I am working with VMware and Netapp most off the time lately en was thinking; maybe it is possible to build a test lab with SRM in VMware workstation. I had a Netapp simulator and VMware esx is working in Workstation 6.5 so why not give it a try. And it works! In this document I am going to describe what I did to make it work. Have fun!

VMware: SRM in a Box


image

Tomas ten Dam heeft een blogpost gemaakt over een SRM in a Box setup met VMware Workstation, ESX, vCenter en Netapp. Deze blogpost vind je hier: http://tendam.wordpress.com/2008/11/09/srm-in-a-box-configured/

Joep Piscaer heeft ook een blogpost gemaakt over SRM in a Box alleen dan niet met een NetApp storage appliance maar een Lefthand VSA storage appliance. Ook is deze post meer een “How To” met een uitgebreide uitleg over deze setup. Je kunt de post hier vinden: http://www.virtuallifestyle.nl/2008/11/vmware-site-recovery-manager-with-lefthand-vsa/

VMware: ESX35(i) Update 3 released


I guess you all got the e-mail from VMware, but for those who didn’t get the e-mail ESX 3.5 U3 is final.

This new release of ESX/ESXi 3.5 comes with the following enhancements:

  • Increase number of vCPUs per Core Limit (from 8 to 20)
  • New supported servers, NICs and storage IO controllers
  • New supported Guest Operating Systems

… and many more improvements and bug fixes.

 

Download the iso’s  here: http://www.vmware.com/download/vi/

More info about this release can be found on Duncan’s Blog: http://www.yellow-bricks.com/2008/11/07/vmware-esx-35-update-3/

VMware: VUM Perfomance Whitepaper


VMware Update Manager (VUM) provides a patch management framework for VMware Virtual Infrastructure. IT administrators can use it to patch VMware ESX, Windows, and certain versions of Linux virtual machines.  As data centers get bigger, performance implications become more important for patch management. This study covers the following topics:

  • Benchmarking Methodology
  • VUM Server Host Deployment
  • Latency Overview
  • Resource Consumption Matrix
  • Guest Operating System Tuning
  • Network Latencies
  • On-Access Virus Scanning

Download de whitepaper hier: http://www.vmware.com/pdf/vum_1.0_performance.pdf