Tag Archive

PowerShell Show VM having snapshots

Published on 28/05/2010 By admin

By default a param minus 30 days. Save it to a *.ps1 file and it ready to use. param ($Age = 30) Connect-VIServer localhost$vm = Get-VM$snapshots = Get-Snapshot -VM $vmWrite-Host -ForegroundColor Red “Old snapshots found:”foreach    ($snap in $snapshots) {    if ( $snap.Created -lt (Get-Date).AddDays( -$Age )){        Write-Host “MachineName:” $snap.VM “Name: ” $snap.Name ” Size: ” [...]

Commit and remove snapshots on ESX4

Published on 16/04/2010 By admin

To commit and remove snapshots you need to have enough freespace (vmdk + “-delta”.vmdk) First create a snapshot after the latest changes. After that has been done you can delete the other one’s using the gui or commandline. To commit the latest one to the original you have to use the commandline. vmware-cmd -l   this [...]

Web access in ESX4 (vSphere)

Published on 09/12/2009 By admin

After a default installation you will probably receive a 503 Error. Check if the service is running “service vmware-webAccess status”If not “service vmware-webAccess start“.To start it automatic after a reboot “chkconfig –level 345 vmware-webAccess on“

MetaLun EMC SAN and ESX 4 (vSphere)

Published on 08/12/2009 By admin

 Expand the CLARiiON LUN on the ClaRiiON  storage system to the desired LUN size, issue a rescan at the ESX level. Sometimes you have to rescan again before your metalun will be shown.(I have to find out why) Your old disk will disappear from storage adapter view and the new metalun wil be shown.   [...]

Using a Qlogic QLE220 HBA with ESX 4

Published on 19/11/2009 By admin

After installing ESX4, we see that the HBA is not recognized. Put the server in maintenance mode. To get it working you have to modify your qla2xxx.xml file. So login to your ESX4 server using putty and change to /etc/vmware/pciid the mentioned file will be there. copy this part <device id=”5432″>   <vmware label=”fc”>     [...]

Update ESX4 using the commandline.

Published on 19/11/2009 By admin

Just starting to update a esx4 server using the commandline. I downloaded from VMWare the update I needed. Started putty and did a copy of the downloaded zip file to the local storage. Then run: esxupdate check –bundle ESX400-200906001.zip esxupdate update –bundle ESX400-200906001.zip

Enable ssh on Esxi4

Published on 23/10/2009 By jewe

1. Press ALT-F1 to access the main console. 2. Type the word: unsupported. You will get the nice message: You have activated Tech Support Mode. The time and date of this activation have been sent to the system logs. Tech Support Mode is not supported unless used in consultation with VMware Tech Support. VMware offers [...]

VMware v Sphere 4 available on 21 May

Published on 19/05/2009 By jewe

VMware vSphere 4 Delivers Unprecedented Efficiency, Control and Choice. VMware is pleased to announce the general availability for VMware vSphere 4 is 21 May 2009. VMware vSphere 4 extends the previous generation VMware platform – VMware Infrastructure 3 – along three dimensions: it delivers the efficiency and performance required to run business critical applications in [...]

VMware vSphere 4 Has Arrived. Cloud Computing OS

Published on 22/04/2009 By jewe

Yesterday I have been watching the official launch off vSphere 4.  Well I can tell you this will be a giant step. VMware has worked together with a number of hardware vendors to make it work like it should do. Running a heavy loaded Sql and Oracle server as a virtual machine. "More than ten [...]